diff options
author | Simo Sorce <idra@samba.org> | 2006-02-04 18:30:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:47 -0500 |
commit | 76036d37b42d0c77e57b288af410b931c51fea81 (patch) | |
tree | f9d91c33b4abba69d3862c7b0f1d3d8762b17eee /source4/lib/ldb/include/ldb.h | |
parent | 18a0ece2cc3ffb8590a499446970f75d954f18cf (diff) | |
download | samba-76036d37b42d0c77e57b288af410b931c51fea81.tar.gz samba-76036d37b42d0c77e57b288af410b931c51fea81.tar.bz2 samba-76036d37b42d0c77e57b288af410b931c51fea81.zip |
r13349: In the end I could not use ldb_caseless_cmp
in attrib_handler.c functions
remove it again
Simo
(This used to be commit 513ff499071e6cb5e608a82430718021f72997bd)
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 4e457b028f..44f2f5840c 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -214,7 +214,6 @@ struct ldb_debug_ops { */ struct ldb_utf8_fns { void *context; - int (*caseless_cmp)(void *context, const char *s1, const char *s2); char *(*casefold)(void *context, void *mem_ctx, const char *s); }; @@ -749,21 +748,6 @@ void ldb_set_utf8_default(struct ldb_context *ldb); char *ldb_casefold(struct ldb_context *ldb, void *mem_ctx, const char *s); /** - Compare two strings, without regard to case. - - \param ldb the ldb context - \param s1 the first string to compare - \param s2 the second string to compare - - \return 0 if the strings are the same, non-zero if there are any - differences except for case. - - \note The default function is not yet UTF8 aware. Provide your own - set of functions through ldb_set_utf8_fns() -*/ -int ldb_caseless_cmp(struct ldb_context *ldb, const char *s1, const char *s2); - -/** Check the attribute name is valid according to rfc2251 \param s tthe string to check @@ -1118,7 +1102,6 @@ int ldb_set_debug(struct ldb_context *ldb, */ void ldb_set_utf8_fns(struct ldb_context *ldb, void *context, - int (*cmp)(void *, const char *, const char *), char *(*casefold)(void *, void *, const char *)); /** |