]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:smbd: move struct trans_state to smbd.h
authorStefan Metzmacher <metze@samba.org>
Tue, 5 Jun 2012 08:00:06 +0000 (10:00 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 6 Jun 2012 08:18:38 +0000 (10:18 +0200)
metze

source3/include/smb.h
source3/smbd/smbd.h

index 9a1ec37115544b5842481af97b3272f51184d1ad..57795bd568526c48f126fe12cc08d809f35f6c83 100644 (file)
@@ -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
  */
index 0b7be09d0159f1fccb8ad14a5c2a25a5f45d7a1a..4bc70a2a80ce15394be517d7c9bc6279658b2ce5 100644 (file)
@@ -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 */