summaryrefslogtreecommitdiffstats
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-02-04 14:08:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:47 -0500
commit1a53c1dc927efbc6a594ed513feb9ab9247078e8 (patch)
tree1a93785abb3ba5af9e321dcc9bb299f30c512ffd /source4/torture/rpc
parent289e9baa1d9ab7fa36d88a5cd50c0a0f706c07bb (diff)
downloadsamba-1a53c1dc927efbc6a594ed513feb9ab9247078e8.tar.gz
samba-1a53c1dc927efbc6a594ed513feb9ab9247078e8.tar.xz
samba-1a53c1dc927efbc6a594ed513feb9ab9247078e8.zip
r13346: use private proto header files for the torture tests
metze (This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/alter_context.c2
-rw-r--r--source4/torture/rpc/drsuapi.c1
-rw-r--r--source4/torture/rpc/drsuapi_cracknames.c1
-rw-r--r--source4/torture/rpc/dssync.c1
-rw-r--r--source4/torture/rpc/join.c2
-rw-r--r--source4/torture/rpc/netlogon.c1
-rw-r--r--source4/torture/rpc/samlogon.c1
-rw-r--r--source4/torture/rpc/samsync.c1
-rw-r--r--source4/torture/rpc/schannel.c1
-rw-r--r--source4/torture/rpc/session_key.c2
-rw-r--r--source4/torture/rpc/testjoin.c1
11 files changed, 13 insertions, 1 deletions
diff --git a/source4/torture/rpc/alter_context.c b/source4/torture/rpc/alter_context.c
index 0f07985917..d75d367a1e 100644
--- a/source4/torture/rpc/alter_context.c
+++ b/source4/torture/rpc/alter_context.c
@@ -24,7 +24,7 @@
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_lsa.h"
#include "librpc/gen_ndr/ndr_dssetup.h"
-
+#include "torture/rpc/proto.h"
BOOL torture_rpc_alter_context(void)
{
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c
index e9c2e9d049..e63915992a 100644
--- a/source4/torture/rpc/drsuapi.c
+++ b/source4/torture/rpc/drsuapi.c
@@ -26,6 +26,7 @@
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "torture/rpc/drsuapi.h"
+#include "torture/rpc/proto.h"
BOOL test_DsBind(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
struct DsPrivate *priv)
diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c
index 6af8ed827b..227ddb200e 100644
--- a/source4/torture/rpc/drsuapi_cracknames.c
+++ b/source4/torture/rpc/drsuapi_cracknames.c
@@ -26,6 +26,7 @@
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "torture/rpc/drsuapi.h"
+#include "torture/rpc/proto.h"
#include "ldb/include/ldb.h"
static BOOL test_DsCrackNamesMatrix(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 4079afba15..3731f19c61 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -25,6 +25,7 @@
#include "lib/cmdline/popt_common.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
#include "libcli/cldap/cldap.h"
+#include "torture/ldap/proto.h"
struct DsSyncBindInfo {
struct dcerpc_pipe *pipe;
diff --git a/source4/torture/rpc/join.c b/source4/torture/rpc/join.c
index 8ea94279be..b9ffe32f2f 100644
--- a/source4/torture/rpc/join.c
+++ b/source4/torture/rpc/join.c
@@ -1,6 +1,8 @@
#include "includes.h"
#include "libnet/libnet.h"
+#include "torture/rpc/proto.h"
+
#define TORTURE_NETBIOS_NAME "smbtorturejoin"
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index 6dc3158a9f..7919e7c441 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -28,6 +28,7 @@
#include "auth/auth.h"
#include "smb.h"
#include "lib/cmdline/popt_common.h"
+#include "torture/rpc/proto.h"
static const char *machine_password;
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c
index af29d44347..69c9ff6ea9 100644
--- a/source4/torture/rpc/samlogon.c
+++ b/source4/torture/rpc/samlogon.c
@@ -27,6 +27,7 @@
#include "auth/auth.h"
#include "lib/crypto/crypto.h"
#include "lib/cmdline/popt_common.h"
+#include "torture/rpc/proto.h"
#define TEST_MACHINE_NAME "samlogontest"
#define TEST_USER_NAME "samlogontestuser"
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c
index ffab694672..afa47e5932 100644
--- a/source4/torture/rpc/samsync.c
+++ b/source4/torture/rpc/samsync.c
@@ -28,6 +28,7 @@
#include "dlinklist.h"
#include "lib/crypto/crypto.h"
#include "system/time.h"
+#include "torture/rpc/proto.h"
#define TEST_MACHINE_NAME "samsynctest"
#define TEST_WKSTA_MACHINE_NAME "samsynctest2"
diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c
index eba9affce0..4e9d644138 100644
--- a/source4/torture/rpc/schannel.c
+++ b/source4/torture/rpc/schannel.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
+#include "torture/rpc/proto.h"
#define TEST_MACHINE_NAME "schannel"
diff --git a/source4/torture/rpc/session_key.c b/source4/torture/rpc/session_key.c
index 8a9cdea302..26626c908e 100644
--- a/source4/torture/rpc/session_key.c
+++ b/source4/torture/rpc/session_key.c
@@ -24,6 +24,8 @@
#include "torture/torture.h"
#include "librpc/gen_ndr/ndr_lsa.h"
+#include "torture/rpc/proto.h"
+
static void init_lsa_String(struct lsa_String *name, const char *s)
{
name->string = s;
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index f844ad8ca8..39634b9186 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -34,6 +34,7 @@
#include "smb.h"
#include "lib/ldb/include/ldb.h"
+#include "torture/rpc/proto.h"
struct test_join {
struct dcerpc_pipe *p;