From 02496ae4153c65b4ba3ae7b439e999f89ce4bb12 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 22 Dec 1999 00:17:35 +0000 Subject: Ok - we now have the following functions for UNICODE support : unicode_to_unix() unix_to_unicode() unicode_to_dos() dos_to_unicode() wstrlen() safe_wstrcpy() safe_wstrcat() wstrcmp() wstrncmp() wstrstr() wstrchr() wstrrchr() wstrtok() Jeremy. (This used to be commit ae34e2589ac32b7144607b77bd0d42bc74b42aff) --- source3/include/proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 6171eb5a46..79abdf5f56 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -426,6 +426,8 @@ BOOL load_unix_unicode_map(const char *unix_char_set); char *unicode_to_unix(char *dst, const smb_ucs2_t *src, size_t dst_len); char *unicode_to_dos(char *dst, const smb_ucs2_t *src, size_t dst_len); size_t wstrlen(const smb_ucs2_t *src); +int wstrcmp(const smb_ucs2_t *s1, const smb_ucs2_t *s2); +int wstrncmp(const smb_ucs2_t *s1, const smb_ucs2_t *s2, size_t len); /*The following definitions come from libsmb/clientgen.c */ -- cgit