diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-06-05 10:00:06 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-06 10:18:38 +0200 |
commit | 44482ad452cb2b912df8d1748e64653b1bf6bfae (patch) | |
tree | 5bdd57b1c9c5e9f78158be02c97b36af604de7d0 /source3/smbd | |
parent | ce414977694f72a70b86517b4991ff3bb9711915 (diff) | |
download | samba-44482ad452cb2b912df8d1748e64653b1bf6bfae.tar.gz samba-44482ad452cb2b912df8d1748e64653b1bf6bfae.tar.bz2 samba-44482ad452cb2b912df8d1748e64653b1bf6bfae.zip |
s3:smbd: move struct trans_state to smbd.h
metze
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/smbd.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/source3/smbd/smbd.h b/source3/smbd/smbd.h index 0b7be09d01..4bc70a2a80 100644 --- a/source3/smbd/smbd.h +++ b/source3/smbd/smbd.h @@ -33,4 +33,34 @@ struct privilege_paths { struct smb_filename file_name; }; +struct trans_state { + struct trans_state *next, *prev; + uint16 vuid; + uint64_t mid; + + uint32 max_param_return; + uint32 max_data_return; + uint32 max_setup_return; + + uint8 cmd; /* SMBtrans or SMBtrans2 */ + + char *name; /* for trans requests */ + uint16 call; /* for trans2 and nttrans requests */ + + bool close_on_completion; + bool one_way; + + unsigned int setup_count; + uint16 *setup; + + size_t received_data; + size_t received_param; + + size_t total_param; + char *param; + + size_t total_data; + char *data; +}; + #endif /* _SMBD_SMBD_H */ |