svn commit: samba r13278 - in
branches/SAMBA_4_0/source/lib/ldb/common: .
simo
idra at samba.org
Thu Feb 2 17:19:44 GMT 2006
On Thu, 2006-02-02 at 14:53 +1100, tridge at samba.org wrote:
> 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.
Uhmm would it be enough to be able to pass in the tables?
Simo.
--
Simo Sorce
Samba Team
email: idra at samba.org
http://samba.org/~idra
More information about the samba-technical
mailing list