diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-10-07 10:24:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:15:19 -0500 |
commit | 628fc4b53a33b604e1c28d38ff5fd91459434814 (patch) | |
tree | df0277e39f182ad771fe0a5e48314f3896d162a1 /source3/lib/ldb/include/ldb.h | |
parent | 7b84b133fe375e69817fe5c76089f67280507809 (diff) | |
download | samba-628fc4b53a33b604e1c28d38ff5fd91459434814.tar.gz samba-628fc4b53a33b604e1c28d38ff5fd91459434814.tar.bz2 samba-628fc4b53a33b604e1c28d38ff5fd91459434814.zip |
r19163: pass always a mem_ctx to functions and a ldb_context where needed
It would be nice if someone can merge that to samba4,
otherwise I'll merge that to samba4 on monday
metze
(This used to be commit 6bc42f31ce294f2bd50ffbd536e1ee42607ef799)
Diffstat (limited to 'source3/lib/ldb/include/ldb.h')
-rw-r--r-- | source3/lib/ldb/include/ldb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/ldb/include/ldb.h b/source3/lib/ldb/include/ldb.h index cf4a1f282b..0761280d90 100644 --- a/source3/lib/ldb/include/ldb.h +++ b/source3/lib/ldb/include/ldb.h @@ -1145,11 +1145,11 @@ struct ldb_dn *ldb_dn_new(void *mem_ctx); struct ldb_dn *ldb_dn_explode(void *mem_ctx, const char *dn); struct ldb_dn *ldb_dn_explode_or_special(void *mem_ctx, const char *dn); char *ldb_dn_linearize(void *mem_ctx, const struct ldb_dn *edn); -char *ldb_dn_linearize_casefold(struct ldb_context *ldb, const struct ldb_dn *edn); +char *ldb_dn_linearize_casefold(struct ldb_context *ldb, void *mem_ctx, const struct ldb_dn *edn); int ldb_dn_compare_base(struct ldb_context *ldb, const struct ldb_dn *base, const struct ldb_dn *dn); int ldb_dn_compare(struct ldb_context *ldb, const struct ldb_dn *edn0, const struct ldb_dn *edn1); -struct ldb_dn *ldb_dn_casefold(struct ldb_context *ldb, const struct ldb_dn *edn); -struct ldb_dn *ldb_dn_explode_casefold(struct ldb_context *ldb, const char *dn); +struct ldb_dn *ldb_dn_casefold(struct ldb_context *ldb, void *mem_ctx, const struct ldb_dn *edn); +struct ldb_dn *ldb_dn_explode_casefold(struct ldb_context *ldb, void *mem_ctx, const char *dn); struct ldb_dn *ldb_dn_copy_partial(void *mem_ctx, const struct ldb_dn *dn, int num_el); struct ldb_dn *ldb_dn_copy(void *mem_ctx, const struct ldb_dn *dn); struct ldb_dn *ldb_dn_get_parent(void *mem_ctx, const struct ldb_dn *dn); |