subuniutil.h 574 B

1234567891011121314151617181920
  1. #ifndef _SUBUNIUTIL_H_
  2. #define _SUBUNIUTIL_H_
  3. #include <windows.h>
  4. // Copied: 2-8-2005
  5. // From: secuniutil.c
  6. /* From ns/netsite/ldap/libraries/libldap/utf8.c */
  7. static char UTF8len[64]
  8. = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  9. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
  10. 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
  11. 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 5, 6};
  12. // End Copy
  13. unsigned long utf8getcc( const char** src );
  14. wchar_t * ASCIIToUnicode( const char *buf, wchar_t *uni, int inUnilen );
  15. wchar_t * StrToUnicode( const char *buf );
  16. #endif