summaryrefslogtreecommitdiff
path: root/source4/lib/db_wrap.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-02-04 07:57:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:45 -0500
commit3ba24e4a35156a36f900cdbdbbef770861e9c7eb (patch)
tree098d33dfd0747d7af8198a7a30a75462975406b7 /source4/lib/db_wrap.c
parentf2d76bddd5c9d8b02283f66ba0b1f1584d1734be (diff)
downloadsamba-3ba24e4a35156a36f900cdbdbbef770861e9c7eb.tar.gz
samba-3ba24e4a35156a36f900cdbdbbef770861e9c7eb.tar.bz2
samba-3ba24e4a35156a36f900cdbdbbef770861e9c7eb.zip
r13335: Fix the build and add an utf8 safe ldb_hadler_fold function
based on ldb_casefold (This used to be commit 6104f900863c688707809d42c5429a42d654d5fb)
Diffstat (limited to 'source4/lib/db_wrap.c')
-rw-r--r--source4/lib/db_wrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/db_wrap.c b/source4/lib/db_wrap.c
index f3358bff98..8524f0da10 100644
--- a/source4/lib/db_wrap.c
+++ b/source4/lib/db_wrap.c
@@ -55,12 +55,12 @@ static void ldb_wrap_debug(void *context, enum ldb_debug_level level,
free(s);
}
-static int wrap_caseless_cmp(void *context, const char *s1, const char *s2)
+int wrap_caseless_cmp(void *context, const char *s1, const char *s2)
{
return strcasecmp_m(s1, s2);
}
-static char *wrap_casefold(void *context, void *mem_ctx, const char *s)
+char *wrap_casefold(void *context, void *mem_ctx, const char *s)
{
return strupper_talloc(mem_ctx, s);
}