summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/smb2.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-11 05:53:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:09 -0500
commit555b45e12c281eb3980d15b12728c59c6b73c302 (patch)
tree8d415762a3a319796879d84cc149163dd87199e3 /source4/libcli/smb2/smb2.h
parent3d38b3dc06f5b9e67fe95d96443fddca66a92797 (diff)
downloadsamba-555b45e12c281eb3980d15b12728c59c6b73c302.tar.gz
samba-555b45e12c281eb3980d15b12728c59c6b73c302.tar.bz2
samba-555b45e12c281eb3980d15b12728c59c6b73c302.zip
r11665: started to put some meat on the structure used for the SMB2 library
the call definitions will be in smb2_calls.h, which will play a similar role that smb_interfaces.h plays for the old SMB protocol (This used to be commit 4ef3902a8a99a0b8caa81a07ba07830d7cbbc32c)
Diffstat (limited to 'source4/libcli/smb2/smb2.h')
-rw-r--r--source4/libcli/smb2/smb2.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/libcli/smb2/smb2.h b/source4/libcli/smb2/smb2.h
index 2e01159355..79b983206a 100644
--- a/source4/libcli/smb2/smb2.h
+++ b/source4/libcli/smb2/smb2.h
@@ -29,7 +29,6 @@ struct smb2_options {
*/
struct smb2_negotiate {
DATA_BLOB secblob;
-
};
/* this is the context for the smb2 transport layer */
@@ -52,6 +51,13 @@ struct smb2_transport {
};
+/*
+ SMB2 session context
+*/
+struct smb2_session {
+ struct smb2_transport *transport;
+};
+
struct smb2_request_buffer {
/* the raw SMB2 buffer, including the 4 byte length header */
uint8_t *buffer;