diff options
Diffstat (limited to 'source4/include/smb.h')
-rw-r--r-- | source4/include/smb.h | 13 |
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 |