summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb.h2
-rw-r--r--source4/lib/ldb/include/ldb_explode_dn.h7
2 files changed, 6 insertions, 3 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 8ccf8967cb..91a826447a 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -203,7 +203,7 @@ const char *ldb_errstring(struct ldb_context *ldb);
/*
casefold a string (should be UTF8, but at the moment it isn't)
*/
-char *ldb_casefold(struct ldb_context *ldb, const char *s);
+char *ldb_casefold(void *mem_ctx, const char *s);
/*
ldif manipulation functions
diff --git a/source4/lib/ldb/include/ldb_explode_dn.h b/source4/lib/ldb/include/ldb_explode_dn.h
index 78768ebb80..af9829ba40 100644
--- a/source4/lib/ldb/include/ldb_explode_dn.h
+++ b/source4/lib/ldb/include/ldb_explode_dn.h
@@ -39,5 +39,8 @@ struct ldb_dn {
extern struct ldb_dn *
-ldb_explode_dn(void *mem_ctx,
- const char *orig_dn);
+ldb_explode_dn(void * mem_ctx,
+ const char * orig_dn,
+ void * hUserData,
+ int (*case_fold_attr_fn)(void * hUserData,
+ char * attr));