summaryrefslogtreecommitdiff
path: root/source4/include/smb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-01 05:46:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:08 -0500
commit475c958450c863a8fc530ccf5bb712bd7a6e8aa4 (patch)
tree08d9d560320bf4310569f77d701ab838dbb9196d /source4/include/smb.h
parent37fffa54cf7edb208dcb060c642f5b0acf11d4e6 (diff)
downloadsamba-475c958450c863a8fc530ccf5bb712bd7a6e8aa4.tar.gz
samba-475c958450c863a8fc530ccf5bb712bd7a6e8aa4.tar.bz2
samba-475c958450c863a8fc530ccf5bb712bd7a6e8aa4.zip
r3425: got rid of a bunch of cruft from rewrite.h
(This used to be commit 3f902f8d851d32fa81d89ed61bfda6edaea00984)
Diffstat (limited to 'source4/include/smb.h')
-rw-r--r--source4/include/smb.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/include/smb.h b/source4/include/smb.h
index 623316087c..bc9eb2acb8 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -200,6 +200,19 @@ typedef struct nt_user_token {
struct dom_sid **user_sids;
} NT_USER_TOKEN;
+/* used to hold an arbitrary blob of data */
+typedef struct data_blob {
+ uint8_t *data;
+ size_t length;
+} DATA_BLOB;
+
+/* 64 bit time (100 nanosec) 1601 - cifs6.txt, section 3.5, page 30 */
+typedef uint64_t NTTIME;
+
+/* 8 byte aligned 'hyper' type from MS IDL */
+typedef uint64_t HYPER_T;
+
+
/* the basic packet size, assuming no words or bytes. Does not include the NBT header */
#define MIN_SMB_SIZE 35