diff options
author | Jeremy Allison <jra@samba.org> | 2000-05-12 14:28:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-05-12 14:28:48 +0000 |
commit | fa659fea9b0b71bf62de9dfec61160196c828da1 (patch) | |
tree | c0f4b510ba60b3b0a6542a0b7390459940e87892 /source3/include | |
parent | 0806cf75ff96dee6715610bd61e21cde08fa1c61 (diff) | |
download | samba-fa659fea9b0b71bf62de9dfec61160196c828da1.tar.gz samba-fa659fea9b0b71bf62de9dfec61160196c828da1.tar.bz2 samba-fa659fea9b0b71bf62de9dfec61160196c828da1.zip |
Added unicode_to_dos_char() function to address converting single UNICODE
characters to one or more DOS codepage characters.
Jeremy.
(This used to be commit eefbfb5e16fcf40f335edc840a49f837f6b64111)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 7001c67f98..e0db05e7bf 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -517,6 +517,7 @@ smb_ucs2_t *multibyte_to_unicode(smb_ucs2_t *dst, const char *src, char *unicode_to_unix(char *dst, const smb_ucs2_t *src, size_t dst_len); smb_ucs2_t *unix_to_unicode(smb_ucs2_t *dst, const char *src, size_t dst_len); char *unicode_to_dos(char *dst, const smb_ucs2_t *src, size_t dst_len); +size_t unicode_to_dos_char(char *dst, const smb_ucs2_t src); smb_ucs2_t *dos_to_unicode(smb_ucs2_t *dst, const char *src, size_t dst_len); size_t strlen_w(const smb_ucs2_t *src); smb_ucs2_t *safe_strcpy_w(smb_ucs2_t *dest,const smb_ucs2_t *src, size_t maxlength); |