lib: Remove gencache.h from proto.h
authorVolker Lendecke <vl@samba.org>
Thu, 18 Oct 2018 19:53:36 +0000 (21:53 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 19 Oct 2018 16:52:50 +0000 (18:52 +0200)
It's a pain to recompile the world if gencache.h changes

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Oct 19 18:52:50 CEST 2018 on sn-devel-144

22 files changed:
source3/auth/user_util.c
source3/include/proto.h
source3/lib/gencache.c
source3/lib/idmap_cache.c
source3/lib/util.c
source3/lib/wins_srv.c
source3/libads/sitename_cache.c
source3/libsmb/conncache.c
source3/libsmb/dsgetdcname.c
source3/libsmb/namecache.c
source3/libsmb/namequery.c
source3/nmbd/nmbd.c
source3/passdb/account_pol.c
source3/rpc_server/spoolss/srv_spoolss_nt.c
source3/smbd/server_exit.c
source3/torture/test_namemap_cache.c
source3/torture/torture.c
source3/utils/net.c
source3/utils/net_cache.c
source3/winbindd/wb_dsgetdcname.c
source3/winbindd/winbindd.c
source3/winbindd/winbindd_cm.c

index 63841a1fe5145636555db93f6fb81dd5b7e3dde9..a76b5d47ba2c18ff849ec401980439b4d8a7c12d 100644 (file)
@@ -22,6 +22,7 @@
 #include "includes.h"
 #include "system/filesys.h"
 #include "auth.h"
+#include "lib/gencache.h"
 
 #ifdef HAVE_NETGROUP
 /* rpc/xdr.h uses TRUE and FALSE */
index 685d481c1007f6d4960c2db0d5ae7cf6e4fead1d..75ce12de320cc5291c2d0ee318f5c6e761d5a535 100644 (file)
@@ -80,8 +80,6 @@ int map_errno_from_nt_status(NTSTATUS status);
 
 struct file_id vfs_file_id_from_sbuf(connection_struct *conn, const SMB_STRUCT_STAT *sbuf);
 
-#include "lib/gencache.h"
-
 /* The following definitions come from lib/interface.c  */
 
 bool ismyaddr(const struct sockaddr *ip);
index 6f7734c200404ac37ec145e72896c1e0aac3fdff..f566534a1a6601b02065b9435ff358d28e3ced8f 100644 (file)
@@ -22,6 +22,7 @@
 */
 
 #include "includes.h"
+#include "lib/gencache.h"
 #include "system/filesys.h"
 #include "system/glob.h"
 #include "util_tdb.h"
index 187723689adc168edbeeae0e97beff82a847b32a..4c65841fd9c578a385f3ed4c9c3e1792960df0d6 100644 (file)
@@ -21,6 +21,7 @@
 #include "idmap_cache.h"
 #include "../libcli/security/security.h"
 #include "../librpc/gen_ndr/idmap.h"
+#include "lib/gencache.h"
 
 /**
  * Find a sid2xid mapping
index da8ec55fa6103f7c6774e76af103c811b8b5852b..a3fe7c8aea2373b56c5cc245828c2c155838f0e7 100644 (file)
@@ -36,6 +36,7 @@
 #include "lib/util/sys_rw_data.h"
 #include "lib/util/util_process.h"
 #include "lib/dbwrap/dbwrap_ctdb.h"
+#include "lib/gencache.h"
 
 #ifdef HAVE_SYS_PRCTL_H
 #include <sys/prctl.h>
index 6f7d5b3b0c62855e3c13fe777353504a23adeb5a..4872d1c75b38050c5ce0bbf8df029adf695616e7 100644 (file)
@@ -20,6 +20,7 @@
 */
 
 #include "includes.h"
+#include "lib/gencache.h"
 
 /*
   This is pretty much a complete rewrite of the earlier code. The main
index 3a1310750b6684626f6874010bc05620a4eb001d..549d5890354b2bf01700f53e16962de9d12066e6 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "includes.h"
 #include "libads/sitename_cache.h"
+#include "lib/gencache.h"
 
 /****************************************************************************
  Store and fetch the AD client sitename.
index 9bf4c56a339f699720e7ec763568bfd82068b46d..d5a865fb112efe0f6889f92eb037773fe9cf83bc 100644 (file)
@@ -25,6 +25,7 @@
 
 
 #include "includes.h"
+#include "lib/gencache.h"
 
 /**
  * @file
index bf96a2433790b7ff04edae69054ba0bf16625811..08477065f349ae7fe627f9a78c30b73ebfddfc8d 100644 (file)
@@ -28,6 +28,7 @@
 #include "libads/cldap.h"
 #include "../lib/addns/dnsquery.h"
 #include "libsmb/clidgram.h"
+#include "lib/gencache.h"
 
 /* 15 minutes */
 #define DSGETDCNAME_CACHE_TTL  60*15
index f325c3468989ee8fce1f08fd1a571049d85e0614..082f256bc020c280827e0f22cdabf5f9df16a5a9 100644 (file)
@@ -22,6 +22,7 @@
 */
 
 #include "includes.h"
+#include "lib/gencache.h"
 
 #define NBTKEY_FMT  "NBT/%s#%02X"
 
index d2ce78675ffe12236c69bc4b7c3838207ae92ec8..6564f4869ea68fe1e86aaa1568e44a8bcff11893 100644 (file)
@@ -30,6 +30,7 @@
 #include "libsmb/unexpected.h"
 #include "../libcli/nbt/libnbt.h"
 #include "libads/kerberos_proto.h"
+#include "lib/gencache.h"
 
 /* nmbd.c sets this to True. */
 bool global_in_nmbd = False;
index cb4a46d926113162fec66cdba05003dc0819bca0..85c3d7177f3ad61615c98c7d7526e3b4c12c3eb3 100644 (file)
@@ -27,6 +27,7 @@
 #include "messages.h"
 #include "../lib/util/pidfile.h"
 #include "util_cluster.h"
+#include "lib/gencache.h"
 
 int ClientNMB       = -1;
 int ClientDGRAM     = -1;
index 4d94dfe817c065522d99b8f5abd7337aa0305f95..e566eca78ebbe2baf5f43a5f87a22a8972e8b7d6 100644 (file)
@@ -26,6 +26,7 @@
 #include "dbwrap/dbwrap_open.h"
 #include "../libcli/security/security.h"
 #include "lib/privileges.h"
+#include "lib/gencache.h"
 
 static struct db_context *db;
 
index ac76e7e6e1b183a3fdf3a6d1c2505bbb3975d817..024f19a73aaabeb5d1d17235416b2576783936f1 100644 (file)
@@ -58,6 +58,7 @@
 #include "rpc_client/cli_winreg_spoolss.h"
 #include "../libcli/smb/smbXcli_base.h"
 #include "rpc_server/spoolss/srv_spoolss_handle.h"
+#include "lib/gencache.h"
 
 /* macros stolen from s4 spoolss server */
 #define SPOOLSS_BUFFER_UNION(fn,info,level) \
index c34c912a433d565c1649ecab77c000320e02bc52..2a34f067a248f54edd3bcf31f7406b049d257401 100644 (file)
@@ -48,6 +48,7 @@
 #include "../lib/util/pidfile.h"
 #include "smbprofile.h"
 #include "libcli/auth/netlogon_creds_cli.h"
+#include "lib/gencache.h"
 
 static struct files_struct *log_writeable_file_fn(
        struct files_struct *fsp, void *private_data)
index 01dd1b7c8dccd1230c8aee1e422f7d9046050f7a..4b0ead1a25b8360199ed1b304b544068de7d4d13 100644 (file)
@@ -21,6 +21,7 @@
 #include "torture/proto.h"
 #include "lib/namemap_cache.h"
 #include "libcli/security/dom_sid.h"
+#include "lib/gencache.h"
 
 static const struct dom_sid domsid = {
        1, 4, {0,0,0,0,0,5}, {21, 123, 456, 789}
index 3053596b4391b4d5656b75c2eeb8106cd49cab88..18f6917af0c78664454806932ab96de1bed09f91 100644 (file)
@@ -45,6 +45,7 @@
 #include "lib/util/base64.h"
 #include "lib/util/time.h"
 #include "lib/crypto/md5.h"
+#include "lib/gencache.h"
 
 extern char *optarg;
 extern int optind;
index 7f07644b6113b906b6a429c753858c728a1803ac..1138d1984e6b3b1c929ca9faba6b46b0f11058c0 100644 (file)
@@ -49,6 +49,7 @@
 #include "passdb.h"
 #include "messages.h"
 #include "cmdline_contexts.h"
+#include "lib/gencache.h"
 
 #ifdef WITH_FAKE_KASERVER
 #include "utils/net_afs.h"
index f9d12ef4945c5fa903e3ba655c7e8666da7fad45..2d6989918f5ae4b4f17448ab22610c85c59a990e 100644 (file)
@@ -24,6 +24,7 @@
 #include "../librpc/gen_ndr/ndr_netlogon.h"
 #include "libcli/security/dom_sid.h"
 #include "lib/util/strv.h"
+#include "lib/gencache.h"
 
 /**
  * @file net_cache.c
index cbd2cf6fd78986717780c55f265969a96c607255..d2aaa8068ea44b0150b08aaceb1ac1fab6cf5d2d 100644 (file)
@@ -21,6 +21,7 @@
 #include "winbindd.h"
 #include "librpc/gen_ndr/ndr_winbind_c.h"
 #include "librpc/gen_ndr/ndr_netlogon.h"
+#include "lib/gencache.h"
 
 struct wb_dsgetdcname_state {
        struct netr_DsRGetDCNameInfo *dcinfo;
index 641c0ea96ab983c60cd0b7a76c083c972649ec17..ae25c6affa3f53e9f1028aae1289ff6cfbbcd756 100644 (file)
@@ -46,6 +46,7 @@
 #include "libcli/auth/netlogon_creds_cli.h"
 #include "passdb.h"
 #include "lib/util/tevent_req_profile.h"
+#include "lib/gencache.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_WINBIND
index 21cf40bf5cd3979d4df3995b258bb12e63ebe88d..f3f8d547c7e95ee6de00e991b2ceb504b5661bce 100644 (file)
@@ -84,6 +84,7 @@
 #include "rpc_server/rpc_ncacn_np.h"
 #include "auth/credentials/credentials.h"
 #include "lib/param/param.h"
+#include "lib/gencache.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_WINBIND