svn commit: samba r13278 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
tridge at samba.org
tridge at samba.org
Thu Feb 2 03:53:13 GMT 2006
Simo,
> It was made like that waiting to be transformed into an utf8 compliant
> caseless compare. Is there any std libc function for utf8 compares?
> Iconv ?
I think we should do is to have something like:
void ldb_set_caseless_compare(struct ldb_context *ldb,
int (*cmp)(const char *, const char *));
and then use strcasecmp() by default, and allow application code to
provide a UTF8 compliant caseless compare if available (so Samba can
pass in one that uses our internal case table code).
This will be similar to the ldb_set_debug() call that we have now.
Cheers, Tridge
More information about the samba-technical
mailing list