diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-07 11:07:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:52:24 -0500 |
commit | 4ac2be99588b48b0652a524bf12fb1aa9c3f5fbb (patch) | |
tree | 1d810fa37a23a91d9405b686bd8b86befe2b1f9a /source4/scripting | |
parent | 45c92c9cf08210e1d5792e2d8db93912727c3dba (diff) | |
download | samba-4ac2be99588b48b0652a524bf12fb1aa9c3f5fbb.tar.gz samba-4ac2be99588b48b0652a524bf12fb1aa9c3f5fbb.tar.bz2 samba-4ac2be99588b48b0652a524bf12fb1aa9c3f5fbb.zip |
r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
(This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/ejs/config.mk | 1 | ||||
-rw-r--r-- | source4/scripting/ejs/ejsrpc.c | 1 | ||||
-rw-r--r-- | source4/scripting/ejs/mprutil.c | 1 | ||||
-rw-r--r-- | source4/scripting/ejs/smbcalls.h | 2 | ||||
-rw-r--r-- | source4/scripting/ejs/smbcalls_config.c | 2 | ||||
-rw-r--r-- | source4/scripting/ejs/smbcalls_ldb.c | 1 | ||||
-rw-r--r-- | source4/scripting/ejs/smbcalls_nbt.c | 1 | ||||
-rw-r--r-- | source4/scripting/ejs/smbcalls_sys.c | 2 |
8 files changed, 11 insertions, 0 deletions
diff --git a/source4/scripting/ejs/config.mk b/source4/scripting/ejs/config.mk index c3365388d2..6efa111949 100644 --- a/source4/scripting/ejs/config.mk +++ b/source4/scripting/ejs/config.mk @@ -10,6 +10,7 @@ NOPROTO = YES ####################### # Start LIBRARY SMBCALLS [SUBSYSTEM::SMBCALLS] +PRIVATE_PROTO_HEADER = proto.h OBJ_FILES = \ smbcalls.o \ smbcalls_config.o \ diff --git a/source4/scripting/ejs/ejsrpc.c b/source4/scripting/ejs/ejsrpc.c index c84f9eb6fb..3fb2ac0903 100644 --- a/source4/scripting/ejs/ejsrpc.c +++ b/source4/scripting/ejs/ejsrpc.c @@ -27,6 +27,7 @@ #include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_winreg.h" #include "scripting/ejs/ejsrpc.h" +#include "libcli/security/proto.h" /* set the switch var to be used by the next union switch diff --git a/source4/scripting/ejs/mprutil.c b/source4/scripting/ejs/mprutil.c index d8c44c2450..419cb4869e 100644 --- a/source4/scripting/ejs/mprutil.c +++ b/source4/scripting/ejs/mprutil.c @@ -23,6 +23,7 @@ #include "includes.h" #include "lib/appweb/ejs/ejs.h" #include "lib/ldb/include/ldb.h" +#include "scripting/ejs/smbcalls.h" /* return a default mpr object diff --git a/source4/scripting/ejs/smbcalls.h b/source4/scripting/ejs/smbcalls.h index 927c3ccf2f..f47d27643d 100644 --- a/source4/scripting/ejs/smbcalls.h +++ b/source4/scripting/ejs/smbcalls.h @@ -28,3 +28,5 @@ NTSTATUS mprGetVar(struct MprVar **v, const char *name); void mprAddArray(struct MprVar *var, int i, struct MprVar v); void mprSetCFunction(struct MprVar *obj, const char *name, MprCFunction fn); void mprSetStringCFunction(struct MprVar *obj, const char *name, MprStringCFunction fn); + +#include "scripting/ejs/proto.h" diff --git a/source4/scripting/ejs/smbcalls_config.c b/source4/scripting/ejs/smbcalls_config.c index b0b1420ba2..949dd0321a 100644 --- a/source4/scripting/ejs/smbcalls_config.c +++ b/source4/scripting/ejs/smbcalls_config.c @@ -24,6 +24,8 @@ #include "scripting/ejs/smbcalls.h" #include "lib/appweb/ejs/ejs.h" #include "param/loadparm.h" +#include "system/network.h" +#include "netif/netif.h" /* return a list of defined services diff --git a/source4/scripting/ejs/smbcalls_ldb.c b/source4/scripting/ejs/smbcalls_ldb.c index 1a224605ee..9ba7668a38 100644 --- a/source4/scripting/ejs/smbcalls_ldb.c +++ b/source4/scripting/ejs/smbcalls_ldb.c @@ -27,6 +27,7 @@ #include "lib/ldb/include/ldb.h" #include "lib/ldb/include/ldb_errors.h" #include "lib/cmdline/popt_common.h" +#include "db_wrap.h" /* get the connected db diff --git a/source4/scripting/ejs/smbcalls_nbt.c b/source4/scripting/ejs/smbcalls_nbt.c index f72b4b46ac..dcefd56a0c 100644 --- a/source4/scripting/ejs/smbcalls_nbt.c +++ b/source4/scripting/ejs/smbcalls_nbt.c @@ -25,6 +25,7 @@ #include "lib/appweb/ejs/ejs.h" #include "librpc/gen_ndr/ndr_nbt.h" #include "lib/events/events.h" +#include "libcli/resolve/resolve.h" /* look up a netbios name diff --git a/source4/scripting/ejs/smbcalls_sys.c b/source4/scripting/ejs/smbcalls_sys.c index 1a876c9e87..b8382db296 100644 --- a/source4/scripting/ejs/smbcalls_sys.c +++ b/source4/scripting/ejs/smbcalls_sys.c @@ -25,6 +25,8 @@ #include "lib/appweb/ejs/ejs.h" #include "lib/ldb/include/ldb.h" #include "system/time.h" +#include "system/network.h" +#include "netif/netif.h" /* return the list of configured network interfaces |