From: Stefan Metzmacher Date: Mon, 12 Dec 2011 10:19:05 +0000 (+0100) Subject: s3:smbd: make struct pending_message_list private X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=6d84b24d766eb5c7c4504d1f51b51dd6c7cb185b;p=mat%2Fsamba.git s3:smbd: make struct pending_message_list private metze --- diff --git a/source3/include/smb.h b/source3/include/smb.h index 2dad790f1b..8c521f8a58 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -528,20 +528,6 @@ struct interface { struct sockaddr_storage bcast; }; -/* Internal message queue for deferred opens. */ -struct pending_message_list { - struct pending_message_list *next, *prev; - struct timeval request_time; /* When was this first issued? */ - struct smbd_server_connection *sconn; - struct timed_event *te; - struct smb_perfcount_data pcd; - uint32_t seqnum; - bool encrypted; - bool processed; - DATA_BLOB buf; - DATA_BLOB private_data; -}; - #define SHARE_MODE_FLAG_POSIX_OPEN 0x1 #include "librpc/gen_ndr/server_id.h" diff --git a/source3/smbd/process.c b/source3/smbd/process.c index c95c1f07ef..dccb7bca6b 100644 --- a/source3/smbd/process.c +++ b/source3/smbd/process.c @@ -39,6 +39,20 @@ extern bool global_machine_password_needs_changing; +/* Internal message queue for deferred opens. */ +struct pending_message_list { + struct pending_message_list *next, *prev; + struct timeval request_time; /* When was this first issued? */ + struct smbd_server_connection *sconn; + struct timed_event *te; + struct smb_perfcount_data pcd; + uint32_t seqnum; + bool encrypted; + bool processed; + DATA_BLOB buf; + DATA_BLOB private_data; +}; + static void construct_reply_common(struct smb_request *req, const char *inbuf, char *outbuf); static struct pending_message_list *get_deferred_open_message_smb(