summaryrefslogtreecommitdiff
path: root/source4/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-03 00:17:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:22 -0500
commit6f214cc510a59b7a65ee9d4486baf14a3e579f73 (patch)
tree4e579f2500247716babf400b3bbf13039bacce02 /source4/include/smb.h
parentacb23b2c5fa02ebbee762a8bf4b9d1fec40d4fea (diff)
downloadsamba-6f214cc510a59b7a65ee9d4486baf14a3e579f73.tar.gz
samba-6f214cc510a59b7a65ee9d4486baf14a3e579f73.tar.bz2
samba-6f214cc510a59b7a65ee9d4486baf14a3e579f73.zip
r3494: got rid of include/rewrite.h, and split out the dynconfig.h header
(This used to be commit 558de54ec6432a4ae90aa14a585f32c6cd03ced2)
Diffstat (limited to 'source4/include/smb.h')
-rw-r--r--source4/include/smb.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h
index bc9eb2acb8..940af75671 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -592,4 +592,16 @@ typedef uint64_t HYPER_T;
/* passed to br lock code */
enum brl_type {READ_LOCK, WRITE_LOCK, PENDING_READ_LOCK, PENDING_WRITE_LOCK};
+/* string manipulation flags - see clistr.c and srvstr.c */
+#define STR_TERMINATE 1
+#define STR_UPPER 2
+#define STR_ASCII 4
+#define STR_UNICODE 8
+#define STR_NOALIGN 16
+#define STR_NO_RANGE_CHECK 32
+#define STR_LEN8BIT 64
+#define STR_TERMINATE_ASCII 128 /* only terminate if ascii */
+#define STR_LEN_NOTERM 256 /* the length field is the unterminated length */
+
+
#endif /* _SMB_H */