diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-07-12 07:33:25 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:10:04 -0500 |
commit | 86c3e628e0c912b486b406d47b20b1940fa81449 (patch) | |
tree | f6f112f30bb28ba702a4313391f386e1c7cac376 /source4/libcli/smb2/smb2_calls.h | |
parent | 32ab51876728577375b954a04103f71ddd4d93dc (diff) | |
download | samba-86c3e628e0c912b486b406d47b20b1940fa81449.tar.gz samba-86c3e628e0c912b486b406d47b20b1940fa81449.tar.bz2 samba-86c3e628e0c912b486b406d47b20b1940fa81449.zip |
r16975: implement SMB2 Notify call in the client lib
metze
(This used to be commit a455dc7a8392230395c0e444f76a4ca13192f871)
Diffstat (limited to 'source4/libcli/smb2/smb2_calls.h')
-rw-r--r-- | source4/libcli/smb2/smb2_calls.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source4/libcli/smb2/smb2_calls.h b/source4/libcli/smb2/smb2_calls.h index abb7f88ee2..c3dc629430 100644 --- a/source4/libcli/smb2/smb2_calls.h +++ b/source4/libcli/smb2/smb2_calls.h @@ -94,6 +94,28 @@ struct smb2_setinfo { } in; }; +struct smb2_notify { + struct { + /* static body buffer 32 (0x20) bytes */ + /* uint16_t buffer_code; 0x32 */ + uint16_t recursive; + uint32_t buffer_size; + union smb_handle file; + uint32_t completion_filter; + uint32_t unknown; + } in; + + struct { + /* static body buffer 8 (0x08) bytes */ + /* uint16_t buffer_code; 0x09 = 0x08 + 1 */ + /* uint16_t blob_ofs; */ + /* uint16_t blob_size; */ + + /* dynamic body */ + DATA_BLOB blob; + } out; +}; + struct cli_credentials; struct event_context; #include "libcli/smb2/smb2_proto.h" |