From 0f8e032628865861b356755b4fbafb6fbfeddbeb Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 5 Aug 2010 15:14:04 +0200 Subject: s3-netlogon: remove global include of netlogon.h. This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther --- source3/include/proto.h | 6 ++++++ source3/include/smb.h | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 32340b3d66..7e56f7db22 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -180,6 +180,10 @@ NTSTATUS auth_winbind_init(void); /* The following definitions come from auth/server_info.c */ +struct netr_SamInfo2; +struct netr_SamInfo3; +struct netr_SamInfo6; + struct auth_serversupplied_info *make_server_info(TALLOC_CTX *mem_ctx); NTSTATUS serverinfo_to_SamInfo2(struct auth_serversupplied_info *server_info, uint8_t *pipe_session_key, @@ -2728,6 +2732,8 @@ NTSTATUS dcerpc_pull_auth_trailer(struct ncacn_packet *pkt, /* The following definitions come from libsmb/dsgetdcname.c */ +struct netr_DsRGetDCNameInfo; + void debug_dsdcinfo_flags(int lvl, uint32_t flags); NTSTATUS dsgetdcname(TALLOC_CTX *mem_ctx, struct messaging_context *msg_ctx, diff --git a/source3/include/smb.h b/source3/include/smb.h index 2eb13d423e..d4e37fe85d 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -178,7 +178,6 @@ typedef union unid_t { #include "librpc/gen_ndr/idmap.h" #include "librpc/gen_ndr/epmapper.h" -#include "librpc/gen_ndr/netlogon.h" #include "librpc/gen_ndr/dcerpc.h" struct lsa_dom_info { -- cgit