summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-24 15:31:06 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:09 +0200
commitb2af281e508194d9548ea1119c19ee96a0dd1f0a (patch)
treeaa029804955ef6aa2f516bae5b5a640096c3b27a /source3/smbd
parent4bd5f51c43147b74203711764390727bdda17a77 (diff)
downloadsamba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.tar.gz
samba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.tar.bz2
samba-b2af281e508194d9548ea1119c19ee96a0dd1f0a.zip
s3-messages: only include messages.h where needed.
Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/blocking.c1
-rw-r--r--source3/smbd/close.c1
-rw-r--r--source3/smbd/globals.c1
-rw-r--r--source3/smbd/msg_idmap.c1
-rw-r--r--source3/smbd/negprot.c1
-rw-r--r--source3/smbd/notify_internal.c1
-rw-r--r--source3/smbd/open.c1
-rw-r--r--source3/smbd/oplock.c1
-rw-r--r--source3/smbd/process.c1
-rw-r--r--source3/smbd/server.c1
-rw-r--r--source3/smbd/server_reload.c1
-rw-r--r--source3/smbd/sesssetup.c1
-rw-r--r--source3/smbd/smb2_lock.c1
-rw-r--r--source3/smbd/statcache.c1
14 files changed, 14 insertions, 0 deletions
diff --git a/source3/smbd/blocking.c b/source3/smbd/blocking.c
index 548a3f0845..999931e640 100644
--- a/source3/smbd/blocking.c
+++ b/source3/smbd/blocking.c
@@ -21,6 +21,7 @@
#include "smbd/smbd.h"
#include "smbd/globals.h"
#include "librpc/gen_ndr/messaging.h"
+#include "messages.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_LOCKING
diff --git a/source3/smbd/close.c b/source3/smbd/close.c
index eb531ffaa9..a2e3d99ba8 100644
--- a/source3/smbd/close.c
+++ b/source3/smbd/close.c
@@ -28,6 +28,7 @@
#include "fake_file.h"
#include "transfer_file.h"
#include "auth.h"
+#include "messages.h"
/****************************************************************************
Run a file if it is a magic script.
diff --git a/source3/smbd/globals.c b/source3/smbd/globals.c
index 8a736993fb..63c1f5dcb5 100644
--- a/source3/smbd/globals.c
+++ b/source3/smbd/globals.c
@@ -21,6 +21,7 @@
#include "smbd/smbd.h"
#include "smbd/globals.h"
#include "memcache.h"
+#include "messages.h"
#if defined(WITH_AIO)
struct aio_extra *aio_list_head = NULL;
diff --git a/source3/smbd/msg_idmap.c b/source3/smbd/msg_idmap.c
index 1a3ccb1950..9bf15a9734 100644
--- a/source3/smbd/msg_idmap.c
+++ b/source3/smbd/msg_idmap.c
@@ -35,6 +35,7 @@
#include "idmap_cache.h"
#include "passdb/lookup_sid.h"
#include "auth.h"
+#include "messages.h"
struct id {
union {
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c
index e53504933c..d307c210c2 100644
--- a/source3/smbd/negprot.c
+++ b/source3/smbd/negprot.c
@@ -24,6 +24,7 @@
#include "../libcli/auth/spnego.h"
#include "serverid.h"
#include "auth.h"
+#include "messages.h"
extern fstring remote_proto;
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c
index 2fa6c76d48..2af98f2dfa 100644
--- a/source3/smbd/notify_internal.c
+++ b/source3/smbd/notify_internal.c
@@ -29,6 +29,7 @@
#include "librpc/gen_ndr/messaging.h"
#include "dbwrap.h"
#include "smbd/smbd.h"
+#include "messages.h"
struct notify_context {
struct db_context *db_recursive;
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index ae56bf8485..d6122ac91c 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -29,6 +29,7 @@
#include "../libcli/security/security.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "auth.h"
+#include "messages.h"
extern const struct generic_mapping file_generic_mapping;
diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c
index e43ed6b9a6..f87c6667a1 100644
--- a/source3/smbd/oplock.c
+++ b/source3/smbd/oplock.c
@@ -24,6 +24,7 @@
#include "smbd/smbd.h"
#include "smbd/globals.h"
#include "librpc/gen_ndr/messaging.h"
+#include "messages.h"
/****************************************************************************
Get the number of current exclusive oplocks.
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 6060cc7b0b..843d4d5194 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -31,6 +31,7 @@
#include "system/select.h"
#include "passdb.h"
#include "auth.h"
+#include "messages.h"
extern bool global_machine_password_needs_changing;
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index c8b45c12c8..bdf5baf668 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -40,6 +40,7 @@
#include "serverid.h"
#include "passdb.h"
#include "auth.h"
+#include "messages.h"
extern void start_epmd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
diff --git a/source3/smbd/server_reload.c b/source3/smbd/server_reload.c
index 4d7c3376ea..84213ae0e8 100644
--- a/source3/smbd/server_reload.c
+++ b/source3/smbd/server_reload.c
@@ -29,6 +29,7 @@
#include "printing/pcap.h"
#include "printing/load.h"
#include "auth.h"
+#include "messages.h"
/****************************************************************************
purge stale printers and reload from pre-populated pcap cache
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c
index 4bbd790736..b8f82c0aa2 100644
--- a/source3/smbd/sesssetup.c
+++ b/source3/smbd/sesssetup.c
@@ -33,6 +33,7 @@
#include "libads/kerberos_proto.h"
#include "../lib/util/asn1.h"
#include "auth.h"
+#include "messages.h"
/* For split krb5 SPNEGO blobs. */
struct pending_auth_data {
diff --git a/source3/smbd/smb2_lock.c b/source3/smbd/smb2_lock.c
index a2742b8e29..d4fbd1cdfe 100644
--- a/source3/smbd/smb2_lock.c
+++ b/source3/smbd/smb2_lock.c
@@ -24,6 +24,7 @@
#include "smbd/globals.h"
#include "../libcli/smb/smb_common.h"
#include "librpc/gen_ndr/messaging.h"
+#include "messages.h"
struct smbd_smb2_lock_element {
uint64_t offset;
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index c21213f23b..bb3b070119 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -24,6 +24,7 @@
#include "librpc/gen_ndr/messaging.h"
#include "memcache.h"
#include "smbd/smbd.h"
+#include "messages.h"
/****************************************************************************
Stat cache code used in unix_convert.