diff options
author | Jeremy Allison <jra@samba.org> | 1999-12-22 01:29:22 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1999-12-22 01:29:22 +0000 |
commit | e7851ce52e408db4d78a45066ed042708203e7a1 (patch) | |
tree | cf196fcbf7eb4d307c410506a9ea97fd52ef345b /source3/include/smb.h | |
parent | 30cecd8d2ca41ee34d11fe1b016a5d920ec7f10c (diff) | |
download | samba-e7851ce52e408db4d78a45066ed042708203e7a1.tar.gz samba-e7851ce52e408db4d78a45066ed042708203e7a1.tar.bz2 samba-e7851ce52e408db4d78a45066ed042708203e7a1.zip |
First cut at unicode sys_xx functions. Now to start moving upwards.....
Jeremy.
(This used to be commit b5eb009cc3cfd1adc044e91911d59acdb54c30cb)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index de269f1d7d..ec1aaf2273 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -333,6 +333,16 @@ implemented */ typedef char pstring[1024]; typedef char fstring[128]; +/* + * SMB UCS2 (16-bit unicode) internal type. + */ + +typedef uint16 smb_ucs2_t; + +/* ucs2 string types. */ +typedef smb_ucs2_t wpstring[1024]; +typedef smb_ucs2_t wfstring[128]; + /* pipe string names */ #define PIPE_LANMAN "\\PIPE\\LANMAN" #define PIPE_SRVSVC "\\PIPE\\srvsvc" @@ -1792,10 +1802,4 @@ struct nmb_name { #define MAP_TO_GUEST_ON_BAD_USER 1 #define MAP_TO_GUEST_ON_BAD_PASSWORD 2 -/* - * SMB UCS2 (16-bit unicode) internal type. - */ - -typedef uint16 smb_ucs2_t; - #endif /* _SMB_H */ |