summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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(