summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1999-12-22 00:17:35 +0000
committerJeremy Allison <jra@samba.org>1999-12-22 00:17:35 +0000
commit02496ae4153c65b4ba3ae7b439e999f89ce4bb12 (patch)
treef63496665d00bc5e3a216a9dbd290ee9977fb1c5 /source3/include
parent4b37a2c1ee8b7bedeb10950a4bae80b7545df2c1 (diff)
downloadsamba-02496ae4153c65b4ba3ae7b439e999f89ce4bb12.tar.gz
samba-02496ae4153c65b4ba3ae7b439e999f89ce4bb12.tar.bz2
samba-02496ae4153c65b4ba3ae7b439e999f89ce4bb12.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 2 insertions, 0 deletions
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 */