summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-05 15:14:04 +0200
committerGünther Deschner <gd@samba.org>2010-08-06 15:46:16 +0200
commit0f8e032628865861b356755b4fbafb6fbfeddbeb (patch)
treee808554c71c650f65d846372150b884a0c64b560 /source3/include
parentccd4af271f73e88abd6899a347f9ce5af69c1f1c (diff)
downloadsamba-0f8e032628865861b356755b4fbafb6fbfeddbeb.tar.gz
samba-0f8e032628865861b356755b4fbafb6fbfeddbeb.tar.bz2
samba-0f8e032628865861b356755b4fbafb6fbfeddbeb.zip
s3-netlogon: remove global include of netlogon.h.
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h6
-rw-r--r--source3/include/smb.h1
2 files changed, 6 insertions, 1 deletions
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 {