diff options
author | David Boreham <dboreham@redhat.com> | 2005-03-11 02:44:17 +0000 |
---|---|---|
committer | David Boreham <dboreham@redhat.com> | 2005-03-11 02:44:17 +0000 |
commit | a957eeb8962ee1611b2546fda2bb11a5c909e59b (patch) | |
tree | a954c178f40f3531a52b01227c48e7a2df8d8894 /ldap/synctools/passwordsync/passsync/subuniutil.h | |
parent | 9a7d1e1fd10a644ed17952acd18f755470d4744a (diff) | |
download | ds-a957eeb8962ee1611b2546fda2bb11a5c909e59b.tar.gz ds-a957eeb8962ee1611b2546fda2bb11a5c909e59b.tar.xz ds-a957eeb8962ee1611b2546fda2bb11a5c909e59b.zip |
Merge over new code: fractional replication, wan replication and windows sync plus associated UI
Diffstat (limited to 'ldap/synctools/passwordsync/passsync/subuniutil.h')
-rw-r--r-- | ldap/synctools/passwordsync/passsync/subuniutil.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ldap/synctools/passwordsync/passsync/subuniutil.h b/ldap/synctools/passwordsync/passsync/subuniutil.h new file mode 100644 index 00000000..49d71f49 --- /dev/null +++ b/ldap/synctools/passwordsync/passsync/subuniutil.h @@ -0,0 +1,20 @@ +#ifndef _SUBUNIUTIL_H_ +#define _SUBUNIUTIL_H_ + +#include <windows.h> + +// Copied: 2-8-2005 +// From: secuniutil.c +/* From ns/netsite/ldap/libraries/libldap/utf8.c */ +static char UTF8len[64] += {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 6}; +// End Copy + +unsigned long utf8getcc( const char** src ); +wchar_t * ASCIIToUnicode( const char *buf, wchar_t *uni, int inUnilen ); +wchar_t * StrToUnicode( const char *buf ); + +#endif |