diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-06-25 02:29:09 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-06-25 02:29:09 +0000 |
commit | edb41dad2df0ae3db364dbc3896cc75956262edf (patch) | |
tree | 9345e5de10235efec4b87f7928c394439186a09a /source/web | |
parent | 3b2464ffdad5e64a05e227b50116cb59f6d34204 (diff) | |
download | samba-edb41dad2df0ae3db364dbc3896cc75956262edf.tar.gz samba-edb41dad2df0ae3db364dbc3896cc75956262edf.tar.xz samba-edb41dad2df0ae3db364dbc3896cc75956262edf.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
Diffstat (limited to 'source/web')
-rw-r--r-- | source/web/.cvsignore | 1 | ||||
-rw-r--r-- | source/web/cgi.c | 2 | ||||
-rw-r--r-- | source/web/diagnose.c | 2 | ||||
-rw-r--r-- | source/web/neg_lang.c | 1 | ||||
-rw-r--r-- | source/web/startstop.c | 2 | ||||
-rw-r--r-- | source/web/statuspage.c | 1 | ||||
-rw-r--r-- | source/web/swat.c | 1 |
7 files changed, 7 insertions, 3 deletions
diff --git a/source/web/.cvsignore b/source/web/.cvsignore index e69de29bb2d..ed29eafc6b1 100644 --- a/source/web/.cvsignore +++ b/source/web/.cvsignore @@ -0,0 +1 @@ +swat_proto.h
\ No newline at end of file diff --git a/source/web/cgi.c b/source/web/cgi.c index e785ce92d8f..7415fbe3f15 100644 --- a/source/web/cgi.c +++ b/source/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/source/web/diagnose.c b/source/web/diagnose.c index c1c8807e4d8..fa550c61b61 100644 --- a/source/web/diagnose.c +++ b/source/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/source/web/neg_lang.c b/source/web/neg_lang.c index fc115bfd618..88bc5498e92 100644 --- a/source/web/neg_lang.c +++ b/source/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/source/web/startstop.c b/source/web/startstop.c index c56320c962b..893784dd55e 100644 --- a/source/web/startstop.c +++ b/source/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/source/web/statuspage.c b/source/web/statuspage.c index 62158a5f329..792e077a616 100644 --- a/source/web/statuspage.c +++ b/source/web/statuspage.c @@ -19,6 +19,7 @@ */ #include "includes.h" +#include "../web/swat_proto.h" #define PIDMAP struct PidMap diff --git a/source/web/swat.c b/source/web/swat.c index ad91033f4cb..7be46790dbe 100644 --- a/source/web/swat.c +++ b/source/web/swat.c @@ -27,6 +27,7 @@ **/ #include "includes.h" +#include "../web/swat_proto.h" #define GLOBALS_SNUM -1 |