summaryrefslogtreecommitdiff
path: root/source4/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-28 15:38:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:55 -0500
commit2cd5ca7d25f12aa9198bf8c2deb6aea282f573ee (patch)
treeb543bae1f10adb60f8773ae444ab1f3973423239 /source4/libnet
parent451797744d8c2bd2c9521a2cdada3f6b8621e2dc (diff)
downloadsamba-2cd5ca7d25f12aa9198bf8c2deb6aea282f573ee.tar.gz
samba-2cd5ca7d25f12aa9198bf8c2deb6aea282f573ee.tar.bz2
samba-2cd5ca7d25f12aa9198bf8c2deb6aea282f573ee.zip
r12542: Move some more prototypes out to seperate headers
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
Diffstat (limited to 'source4/libnet')
-rw-r--r--source4/libnet/config.mk1
-rw-r--r--source4/libnet/libnet.h1
-rw-r--r--source4/libnet/libnet_join.c1
-rw-r--r--source4/libnet/libnet_samsync_ldb.c3
4 files changed, 6 insertions, 0 deletions
diff --git a/source4/libnet/config.mk b/source4/libnet/config.mk
index cf0c64a014..3c695edd39 100644
--- a/source4/libnet/config.mk
+++ b/source4/libnet/config.mk
@@ -5,6 +5,7 @@ MAJOR_VERSION = 0
MINOR_VERSION = 0
RELEASE_VERSION = 1
DESCRIPTION = User-friendly access to Samba interfaces
+PRIVATE_PROTO_HEADER = libnet_proto.h
PUBLIC_HEADERS = libnet.h libnet_join.h libnet_lookup.h libnet_passwd.h \
libnet_rpc.h libnet_share.h libnet_time.h libnet_user.h \
libnet_vampire.h userinfo.h userman.h
diff --git a/source4/libnet/libnet.h b/source4/libnet/libnet.h
index be22439590..3044b5a95f 100644
--- a/source4/libnet/libnet.h
+++ b/source4/libnet/libnet.h
@@ -47,3 +47,4 @@ struct libnet_context {
#include "libnet/libnet_user.h"
#include "libnet/libnet_share.h"
#include "libnet/libnet_lookup.h"
+#include "libnet/libnet_proto.h"
diff --git a/source4/libnet/libnet_join.c b/source4/libnet/libnet_join.c
index 11e1dfc175..af15d81797 100644
--- a/source4/libnet/libnet_join.c
+++ b/source4/libnet/libnet_join.c
@@ -30,6 +30,7 @@
#include "libcli/cldap/cldap.h"
#include "include/secrets.h"
#include "librpc/gen_ndr/drsuapi.h"
+#include "dsdb/samdb/samdb.h"
/*
* find out Site specific stuff:
diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c
index 658c1254dd..c97d9013c9 100644
--- a/source4/libnet/libnet_samsync_ldb.c
+++ b/source4/libnet/libnet_samsync_ldb.c
@@ -28,7 +28,10 @@
#include "librpc/gen_ndr/ndr_netlogon.h"
#include "librpc/gen_ndr/ndr_samr.h"
#include "dlinklist.h"
+#include "libcli/ldap/ldap.h"
#include "lib/ldb/include/ldb.h"
+#include "dsdb/samdb/samdb.h"
+#include "auth/auth.h"
struct samsync_ldb_secret {
struct samsync_ldb_secret *prev, *next;