svn commit: samba r17711 - in
branches/SAMBA_4_0/source/lib/ldb/ldb_tdb: .
metze at samba.org
metze at samba.org
Tue Aug 22 18:09:49 GMT 2006
Author: metze
Date: 2006-08-22 18:09:49 +0000 (Tue, 22 Aug 2006)
New Revision: 17711
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=17711
Log:
fix compiler warnings
metze
Modified:
branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c
branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c
branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.h
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c 2006-08-22 16:01:24 UTC (rev 17710)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_index.c 2006-08-22 18:09:49 UTC (rev 17711)
@@ -180,7 +180,7 @@
return a list of dn's that might match a simple indexed search or
*/
static int ltdb_index_dn_simple(struct ldb_module *module,
- struct ldb_parse_tree *tree,
+ const struct ldb_parse_tree *tree,
const struct ldb_message *index_list,
struct dn_list *list)
{
@@ -256,7 +256,7 @@
the special objectclass attribute
*/
static int ltdb_index_dn_objectclass(struct ldb_module *module,
- struct ldb_parse_tree *tree,
+ const struct ldb_parse_tree *tree,
const struct ldb_message *index_list,
struct dn_list *list)
{
@@ -316,7 +316,7 @@
return a list of dn's that might match a leaf indexed search
*/
static int ltdb_index_dn_leaf(struct ldb_module *module,
- struct ldb_parse_tree *tree,
+ const struct ldb_parse_tree *tree,
const struct ldb_message *index_list,
struct dn_list *list)
{
@@ -430,7 +430,7 @@
}
static int ltdb_index_dn(struct ldb_module *module,
- struct ldb_parse_tree *tree,
+ const struct ldb_parse_tree *tree,
const struct ldb_message *index_list,
struct dn_list *list);
@@ -439,7 +439,7 @@
OR two index results
*/
static int ltdb_index_dn_or(struct ldb_module *module,
- struct ldb_parse_tree *tree,
+ const struct ldb_parse_tree *tree,
const struct ldb_message *index_list,
struct dn_list *list)
{
@@ -504,7 +504,7 @@
NOT an index results
*/
static int ltdb_index_dn_not(struct ldb_module *module,
- struct ldb_parse_tree *tree,
+ const struct ldb_parse_tree *tree,
const struct ldb_message *index_list,
struct dn_list *list)
{
@@ -523,7 +523,7 @@
AND two index results
*/
static int ltdb_index_dn_and(struct ldb_module *module,
- struct ldb_parse_tree *tree,
+ const struct ldb_parse_tree *tree,
const struct ldb_message *index_list,
struct dn_list *list)
{
@@ -586,7 +586,7 @@
-1 if an error. return 0 for no matches, or 1 for matches
*/
static int ltdb_index_dn(struct ldb_module *module,
- struct ldb_parse_tree *tree,
+ const struct ldb_parse_tree *tree,
const struct ldb_message *index_list,
struct dn_list *list)
{
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c 2006-08-22 16:01:24 UTC (rev 17710)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c 2006-08-22 18:09:49 UTC (rev 17711)
@@ -255,7 +255,6 @@
static int ltdb_add_internal(struct ldb_module *module, const struct ldb_message *msg)
{
- char *err;
int ret;
ret = ltdb_check_special_dn(module, msg);
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.h
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.h 2006-08-22 16:01:24 UTC (rev 17710)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.h 2006-08-22 18:09:49 UTC (rev 17711)
@@ -37,7 +37,7 @@
struct ldb_module *module;
/* search stuff */
- struct ldb_parse_tree *tree;
+ const struct ldb_parse_tree *tree;
const struct ldb_dn *base;
enum ldb_scope scope;
const char * const *attrs;
More information about the samba-cvs
mailing list