diff options
author | Simo Sorce <idra@samba.org> | 2006-02-04 01:27:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:44 -0500 |
commit | 48d8eee7522e1c1c45a9353ab77c96c20321f143 (patch) | |
tree | 630c0ca9a7fa4e05a49776ed1628c3c0c757ed96 /source4/lib/ldb | |
parent | f5ebc8e404f4397c0ef2c8b838984df1767c955c (diff) | |
download | samba-48d8eee7522e1c1c45a9353ab77c96c20321f143.tar.gz samba-48d8eee7522e1c1c45a9353ab77c96c20321f143.tar.bz2 samba-48d8eee7522e1c1c45a9353ab77c96c20321f143.zip |
r13325: let samba register it's own utf8 aware functions in ldb
(This used to be commit 12faf556833807d3f2aa4360c54e10583ac77fed)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index a8c2d176b5..7c39aeeeb9 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -1113,6 +1113,14 @@ int ldb_set_debug(struct ldb_context *ldb, void *context); /** + this allows the user to set custom utf8 function for error reporting +*/ +void ldb_set_utf8_fns(struct ldb_context *ldb, + void *context, + int (*cmp)(void *, const char *, const char *), + char *(*casefold)(void *, void *, const char *)); + +/** this sets up debug to print messages on stderr */ int ldb_set_debug_stderr(struct ldb_context *ldb); |