summaryrefslogtreecommitdiff
path: root/source3
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
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')
-rw-r--r--source3/include/smb.h14
-rw-r--r--source3/smbd/process.c14
2 files changed, 14 insertions, 14 deletions
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(