summaryrefslogtreecommitdiff
path: root/source3/web
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-06-25 02:29:09 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-06-25 02:29:09 +0000
commit0327428f27b453e5b2c1ee2751ab87d7716144d7 (patch)
treeecba28b78bd10b1c8103c19975105f2dd181cdef /source3/web
parentdd1bd8d0c8c09db23e944466a0443a5ad03bea26 (diff)
downloadsamba-0327428f27b453e5b2c1ee2751ab87d7716144d7.tar.gz
samba-0327428f27b453e5b2c1ee2751ab87d7716144d7.tar.bz2
samba-0327428f27b453e5b2c1ee2751ab87d7716144d7.zip
Break up samba's object dependencies, and its prototype includes.
Now smbclient, net, and swat use their own proto files - now the global proto.h The change to libads/kerberos.c was to break up the dependency on secrets.c - we want to be able to write an ADS client that doesn't need local secrets. I have other breakups in the works - I will remove the dependency of rpc_parse on passdb (and therefore secrets.c) shortly. (NOTE: This patch does *not* break up includes.h, or other such forbidden actions). Andrew Bartlett (This used to be commit edb41dad2df0ae3db364dbc3896cc75956262edf)
Diffstat (limited to 'source3/web')
-rw-r--r--source3/web/.cvsignore1
-rw-r--r--source3/web/cgi.c2
-rw-r--r--source3/web/diagnose.c2
-rw-r--r--source3/web/neg_lang.c1
-rw-r--r--source3/web/startstop.c2
-rw-r--r--source3/web/statuspage.c1
-rw-r--r--source3/web/swat.c1
7 files changed, 7 insertions, 3 deletions
diff --git a/source3/web/.cvsignore b/source3/web/.cvsignore
index e69de29bb2..ed29eafc6b 100644
--- a/source3/web/.cvsignore
+++ b/source3/web/.cvsignore
@@ -0,0 +1 @@
+swat_proto.h \ No newline at end of file
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index e785ce92d8..7415fbe3f1 100644
--- a/source3/web/cgi.c
+++ b/source3/web/cgi.c
@@ -19,7 +19,7 @@
#include "includes.h"
-#include "smb.h"
+#include "../web/swat_proto.h"
#define MAX_VARIABLES 10000
diff --git a/source3/web/diagnose.c b/source3/web/diagnose.c
index c1c8807e4d..fa550c61b6 100644
--- a/source3/web/diagnose.c
+++ b/source3/web/diagnose.c
@@ -19,7 +19,7 @@
*/
#include "includes.h"
-#include "smb.h"
+#include "../web/swat_proto.h"
/* check to see if nmbd is running on localhost by looking for a __SAMBA__
diff --git a/source3/web/neg_lang.c b/source3/web/neg_lang.c
index fc115bfd61..88bc5498e9 100644
--- a/source3/web/neg_lang.c
+++ b/source3/web/neg_lang.c
@@ -20,6 +20,7 @@
*/
#include "includes.h"
+#include "../web/swat_proto.h"
/*
during a file download we first check to see if there is a language
diff --git a/source3/web/startstop.c b/source3/web/startstop.c
index c56320c962..893784dd55 100644
--- a/source3/web/startstop.c
+++ b/source3/web/startstop.c
@@ -19,7 +19,7 @@
*/
#include "includes.h"
-#include "smb.h"
+#include "../web/swat_proto.h"
#include "dynconfig.h"
/** Need to wait for daemons to startup */
diff --git a/source3/web/statuspage.c b/source3/web/statuspage.c
index 62158a5f32..792e077a61 100644
--- a/source3/web/statuspage.c
+++ b/source3/web/statuspage.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "../web/swat_proto.h"
#define PIDMAP struct PidMap
diff --git a/source3/web/swat.c b/source3/web/swat.c
index ad91033f4c..7be46790db 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -27,6 +27,7 @@
**/
#include "includes.h"
+#include "../web/swat_proto.h"
#define GLOBALS_SNUM -1