From: Stefan Metzmacher Date: Tue, 5 Jun 2012 08:00:06 +0000 (+0200) Subject: s3:smbd: move struct trans_state to smbd.h X-Git-Tag: tevent-0.9.16~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44482ad452cb2b912df8d1748e64653b1bf6bfae;p=thirdparty%2Fsamba.git s3:smbd: move struct trans_state to smbd.h metze --- diff --git a/source3/include/smb.h b/source3/include/smb.h index 9a1ec371155..57795bd5685 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -254,36 +254,6 @@ typedef struct { bool is_wild; } name_compare_entry; -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; -}; - /* * Info about an alternate data stream */ diff --git a/source3/smbd/smbd.h b/source3/smbd/smbd.h index 0b7be09d015..4bc70a2a80c 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 */