summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-12 11:19:05 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-12 14:35:42 +0100
commit6d84b24d766eb5c7c4504d1f51b51dd6c7cb185b (patch)
tree4cf976fcbe75cf88dc7fdec89ce59fb083dd9cd3 /source3/smbd/process.c
parent8b2b7d1c87b475b61ef5259cee0ae77afe47a667 (diff)
downloadsamba-6d84b24d766eb5c7c4504d1f51b51dd6c7cb185b.tar.gz
samba-6d84b24d766eb5c7c4504d1f51b51dd6c7cb185b.tar.bz2
samba-6d84b24d766eb5c7c4504d1f51b51dd6c7cb185b.zip
s3:smbd: make struct pending_message_list private
metze
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c14
1 files changed, 14 insertions, 0 deletions
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(