summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-10 11:35:25 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-10 11:35:25 +0000
commit45c2ee3ff2d01fdd0a2db9fa90457cff4663c43d (patch)
tree8c90348163cbf2f618960fc9e181dbe1881f3702 /source3/include/smb.h
parent9579f927dc5ce82bdf51ce49419dc039560e5e18 (diff)
downloadsamba-45c2ee3ff2d01fdd0a2db9fa90457cff4663c43d.tar.gz
samba-45c2ee3ff2d01fdd0a2db9fa90457cff4663c43d.tar.bz2
samba-45c2ee3ff2d01fdd0a2db9fa90457cff4663c43d.zip
to use the same macros in the client and server rename the CLISTR_
macros to STR_ (This used to be commit 95c9e4e0ba8f37f565aaf136f41eb76489441ff7)
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index d4073a2314..d16c7661fe 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -52,6 +52,14 @@ typedef int BOOL;
#define DEF_CREATE_MASK (0755)
#endif
+/* string manipulation flags - see clistr.c and srvstr.c */
+#define STR_TERMINATE 1
+#define STR_CONVERT 2
+#define STR_UPPER 4
+#define STR_ASCII 8
+#define STR_UNICODE 16
+
+
/* how long to wait for secondary SMB packets (milli-seconds) */
#define SMB_SECONDARY_WAIT (60*1000)