r13944: Yet another round of splitups.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 7 Mar 2006 14:34:32 +0000 (14:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:52:31 +0000 (13:52 -0500)
(This used to be commit f87debeb12cebd734b47314554ab671c9e06237e)

19 files changed:
source4/cldap_server/cldap_server.h
source4/cldap_server/config.mk
source4/client/client.c
source4/gtk/tools/gregedit.c
source4/lib/appweb/mpr/miniMpr.h
source4/lib/basic.mk
source4/lib/cmdline/config.mk
source4/lib/messaging/messaging.c
source4/lib/registry/config.mk
source4/lib/registry/tools/regdiff.c
source4/lib/registry/tools/regpatch.c
source4/lib/registry/tools/regshell.c
source4/lib/registry/tools/regtree.c
source4/lib/util/config.mk
source4/libcli/config.mk
source4/ntvfs/posix/pvfs_xattr.c
source4/scripting/ejs/config.mk
source4/smbd/server.c
source4/torture/raw/acls.c

index 003835456de5141be547729dc3c50f3adae202de..a83b11d5394ead389511e8f526e0748134a9afca 100644 (file)
@@ -29,3 +29,5 @@ struct cldapd_server {
        struct task_server *task;
        struct ldb_context *samctx;
 };
+
+#include "cldap_server/proto.h"
index 9a2bef094cbd108c4e03c3f85a8e6543849710df..e167ab75ffd696a5bf317eaa856ab1b04e9f519f 100644 (file)
@@ -3,6 +3,7 @@
 #######################
 # Start SUBSYSTEM CLDAPD
 [SUBSYSTEM::CLDAPD]
+PRIVATE_PROTO_HEADER = proto.h
 OBJ_FILES = \
                cldap_server.o \
                netlogon.o
index 83a2b750b699fbdc3433d1a7c63a074298032710..b154b557d4a1ad0c70e64d075fcbf9efde382e39 100644 (file)
@@ -28,6 +28,7 @@
 #include "librpc/gen_ndr/ndr_srvsvc.h"
 #include "librpc/gen_ndr/ndr_lsa.h"
 #include "libcli/raw/libcliraw.h"
+#include "libcli/util/clilsa.h"
 #include "system/dir.h"
 #include "system/filesys.h"
 #include "dlinklist.h"
index 5dd5ec1a92a54d53605ff3978e4a1cb0af591bc2..72ba5f992b2b4dcd8cf3f428febd94d94251f546 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "lib/registry/registry.h"
+#include "lib/registry/reg_backend_rpc.h"
 #include "gtk/common/gtk-smb.h"
 
 static GtkTreeStore *store_keys;
index 0f668ab1d4eea2b18e2496735df6d85d5ea45c58..d92e50fe891b2a741badae8edcc36e601849032c 100644 (file)
@@ -274,6 +274,9 @@ extern int          mprMemcpy(char *dest, int destMax, const char *src, int nbytes);
 extern void mprSetCtx(void *ctx);
 extern void *mprMemCtx(void);
 
+/* This function needs to be provided by anyone using ejs */
+void ejs_exception(const char *reason);
+
 #define mprStrCmpAnyCase(s1, s2) strcasecmp_m(s1, s2)
 
 #ifdef __cplusplus
index 50ed8cc02f19c5825e4787e19898bb1b8a6cc60f..43e838967bd0cc09ef944233035d5f69eada7134 100644 (file)
@@ -45,6 +45,7 @@ OBJ_FILES = \
 ################################################
 # Start SUBSYSTEM LIBCOMPRESSION
 [SUBSYSTEM::LIBCOMPRESSION]
+NOPROTO = YES
 OBJ_FILES = \
                compression/mszip.o
 # End SUBSYSTEM LIBCOMPRESION
index 9380de53be2638de0ef9d13a9cc8988756185a07..2dc957cc4d1d061e2c3b626275e30e80a577e231 100644 (file)
@@ -7,5 +7,6 @@ REQUIRED_SUBSYSTEMS = CREDENTIALS
 OBJ_FILES = popt_common.o
 
 [SUBSYSTEM::POPT_CREDENTIALS]
+PRIVATE_PROTO_HEADER = popt_credentials.h
 OBJ_FILES = popt_credentials.o
 REQUIRED_SUBSYSTEMS = CREDENTIALS LIBCMDLINE_CREDENTIALS
index 6f00ba30edeaabf4ef8fff4b81cd32954da21d1d..8432eadf5eb0bb065cdf997b463e8cd4e7b9da95 100644 (file)
@@ -30,6 +30,7 @@
 #include "lib/messaging/irpc.h"
 #include "db_wrap.h"
 #include "lib/tdb/include/tdbutil.h"
+#include "util/unix_privs.h"
 
 /* change the message version with any incompatible changes in the protocol */
 #define MESSAGING_VERSION 1
index 29a590112571beb149064c6651beffdae2675c9e..5c68bacd944ac477513b31e0cc8accb7b32ede53 100644 (file)
@@ -46,7 +46,7 @@ OBJ_FILES = \
 # Start MODULE registry_rpc
 [MODULE::registry_rpc]
 INIT_FUNCTION = registry_rpc_init
-NOPROTO = NO
+PRIVATE_PROTO_HEADER = reg_backend_rpc.h
 OUTPUT_TYPE = MERGEDOBJ
 SUBSYSTEM = REGISTRY
 OBJ_FILES = \
index 5b876ca0250c032a1cb44ebd5af52d0925560484..f1c5db1598d650bf25fffe28d097f5d582ff1662 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "lib/registry/registry.h"
+#include "lib/registry/reg_backend_rpc.h"
 #include "lib/cmdline/popt_common.h"
 
 int main(int argc, char **argv)
index 6f5c79bc0eb2bc823ae9542ec15cecb65df5319f..713d4b32cc9df0ca83c27a743d152e958ec38391 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "lib/registry/registry.h"
 #include "lib/cmdline/popt_common.h"
+#include "lib/registry/reg_backend_rpc.h"
 
 int main(int argc, char **argv)
 {
index 89493c761e07276463b7c544149ed4db7b9eac53..4d1bb95f351fcea69413a02a42622e6aa585ab77 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "lib/registry/registry.h"
 #include "lib/cmdline/popt_common.h"
+#include "lib/registry/reg_backend_rpc.h"
 #include "system/time.h"
 
 /* 
index d8f5d68a947586b67cbedd3dd756f2b6f07964de..ccdb24a4cc26b68aeacda24868709417c4f6e264 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "includes.h"
 #include "lib/registry/registry.h"
+#include "lib/registry/reg_backend_rpc.h"
 #include "lib/cmdline/popt_common.h"
 
 static void print_tree(int l, struct registry_key *p, int fullpath, int novals)
index 0ab0b5f809464d19f010ae595f59a227067eccff..2b2c440e4b6841696b81ed347e90d3379c09082b 100644 (file)
@@ -3,7 +3,7 @@ MAJOR_VERSION = 0
 MINOR_VERSION = 0
 RELEASE_VERSION = 1
 DESCRIPTION = Generic utility functions
-PRIVATE_PROTO_HEADER = util_proto.h
+PUBLIC_PROTO_HEADER = util_proto.h
 PUBLIC_HEADERS = util.h \
                                 byteorder.h \
                                 debug.h \
@@ -39,7 +39,9 @@ REQUIRED_SUBSYSTEMS = \
                LIBLDB 
 
 [SUBSYSTEM::PIDFILE]
+PRIVATE_PROTO_HEADER = pidfile.h
 OBJ_FILES = pidfile.o
 
 [SUBSYSTEM::UNIX_PRIVS]
+PRIVATE_PROTO_HEADER = unix_privs.h
 OBJ_FILES = unix_privs.o
index 7dfa4717d8918afb897cff3cd2691f7c2d93e0af..548b7e8e40152061217dbb5727ed0f162b5d10e8 100644 (file)
@@ -13,6 +13,7 @@ OBJ_FILES = util/asn1.o \
                util/smbdes.o
 
 [SUBSYSTEM::LIBCLI_LSA]
+PRIVATE_PROTO_HEADER = util/clilsa.h
 OBJ_FILES = util/clilsa.o
 REQUIRED_SUBSYSTEMS = RPC_NDR_LSA
 
index e9cb077c068988d54d78bdb1cba00fcd0eac8f0f..d0894a735e8d64daa1558abbccdaa5b6ca017ccd 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "includes.h"
 #include "vfs_posix.h"
+#include "util/unix_privs.h"
 
 /*
   pull a xattr as a blob
index 729b8782b63984d9a5d9ebfde85e0d8989197b23..1376234d51ad65f406d2b98085b1e0a2d0aeb67e 100644 (file)
@@ -59,7 +59,6 @@ REQUIRED_SUBSYSTEMS = \
 # Start BINARY SMBSCRIPT
 [BINARY::smbscript]
 INSTALLDIR = BINDIR
-NOPROTO = NO
 OBJ_FILES = \
                smbscript.o
 REQUIRED_SUBSYSTEMS = EJS LIBBASIC SMBCALLS CONFIG 
index 8488a37f5a7b9452c9fdbae918749df947b061c2..b23a91769e41e2a12b5b6bee0283efab1c12555e 100644 (file)
@@ -37,6 +37,7 @@
 #include "smbd/process_model.h"
 #include "smbd/service.h"
 #include "passdb/secrets.h"
+#include "util/pidfile.h"
 
 /*
   recursively delete a directory tree
index 470477165f3a78e369986e1cdd04fefbe87d698e..5abe9f23c41031c974572f132174a9c4bcb078d9 100644 (file)
@@ -24,6 +24,7 @@
 #include "torture/torture.h"
 #include "libcli/raw/libcliraw.h"
 #include "libcli/libcli.h"
+#include "libcli/util/clilsa.h"
 #include "libcli/security/proto.h"
 
 #define BASEDIR "\\testsd"