summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-06-06 05:15:28 +0000
committerAndrew Tridgell <tridge@samba.org>2003-06-06 05:15:28 +0000
commit6b943b5b2188314739f4f36541f1ef469ba9a3b3 (patch)
treefe082c50c46ee1c4469674ffaf2e16e08c784c0a /source3/include
parentd155f6ea54e2e5933666db5d566c155333e9e028 (diff)
downloadsamba-6b943b5b2188314739f4f36541f1ef469ba9a3b3.tar.gz
samba-6b943b5b2188314739f4f36541f1ef469ba9a3b3.tar.bz2
samba-6b943b5b2188314739f4f36541f1ef469ba9a3b3.zip
- the 8.3 name in BOTH_DIRECTORY_INFO is supposed to be always unicode
(to match win2003 behaviour) - added the STR_TERMINATE_ASCII flag from samba4 so we can get the string termination right for the case where it is supposed to be non-terminated for UCS2 and terminated when ASCII (This used to be commit 791a4cc7cf84eca77116bca00aeb5f95560f6705)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 4dacf79a13..27c966914f 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -66,6 +66,7 @@ typedef int BOOL;
#define STR_ASCII 4
#define STR_UNICODE 8
#define STR_NOALIGN 16
+#define STR_TERMINATE_ASCII 128
/* how long to wait for secondary SMB packets (milli-seconds) */
#define SMB_SECONDARY_WAIT (60*1000)