summaryrefslogtreecommitdiff
path: root/source4/torture
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/torture
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/torture')
-rw-r--r--source4/torture/basic/aliases.c1
-rw-r--r--source4/torture/basic/charset.c1
-rw-r--r--source4/torture/libnet/domain.c1
-rw-r--r--source4/torture/libnet/userinfo.c1
-rw-r--r--source4/torture/libnet/userman.c1
-rw-r--r--source4/torture/nbench/nbio.c1
-rw-r--r--source4/torture/rap/rap.c1
-rw-r--r--source4/torture/raw/chkpath.c1
-rw-r--r--source4/torture/raw/close.c1
-rw-r--r--source4/torture/raw/ioctl.c1
-rw-r--r--source4/torture/raw/mkdir.c1
-rw-r--r--source4/torture/raw/notify.c1
-rw-r--r--source4/torture/raw/oplock.c1
-rw-r--r--source4/torture/raw/rename.c1
-rw-r--r--source4/torture/raw/seek.c1
-rw-r--r--source4/torture/raw/setfileinfo.c1
-rw-r--r--source4/torture/raw/unlink.c1
-rw-r--r--source4/torture/rpc/mgmt.c1
-rw-r--r--source4/torture/smb2/setinfo.c1
-rw-r--r--source4/torture/torture.c1
20 files changed, 20 insertions, 0 deletions
diff --git a/source4/torture/basic/aliases.c b/source4/torture/basic/aliases.c
index 159c2ae4ae..e4e2b71405 100644
--- a/source4/torture/basic/aliases.c
+++ b/source4/torture/basic/aliases.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "dlinklist.h"
+#include "libcli/raw/libcliraw.h"
int create_complex_file(struct smbcli_state *cli, TALLOC_CTX *mem_ctx, const char *fname);
diff --git a/source4/torture/basic/charset.c b/source4/torture/basic/charset.c
index af6020da17..a216ebc05a 100644
--- a/source4/torture/basic/charset.c
+++ b/source4/torture/basic/charset.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "libcli/raw/libcliraw.h"
#define BASEDIR "\\chartest\\"
diff --git a/source4/torture/libnet/domain.c b/source4/torture/libnet/domain.c
index 7f8600d2dd..de1dfad6ff 100644
--- a/source4/torture/libnet/domain.c
+++ b/source4/torture/libnet/domain.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_samr.h"
#include "libnet/composite.h"
+#include "libnet/libnet.h"
static BOOL test_domainopen(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
struct lsa_String *domname,
diff --git a/source4/torture/libnet/userinfo.c b/source4/torture/libnet/userinfo.c
index b987bd5c21..1334763c12 100644
--- a/source4/torture/libnet/userinfo.c
+++ b/source4/torture/libnet/userinfo.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_samr.h"
+#include "libnet/libnet.h"
#include "libnet/composite.h"
#include "libnet/userinfo.h"
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c
index 6ec5d9a7b7..6a450e8b78 100644
--- a/source4/torture/libnet/userman.c
+++ b/source4/torture/libnet/userman.c
@@ -23,6 +23,7 @@
#include "librpc/gen_ndr/ndr_samr.h"
#include "libnet/composite.h"
#include "libnet/userman.h"
+#include "libnet/libnet.h"
#define TEST_USERNAME "libnetusermantest"
diff --git a/source4/torture/nbench/nbio.c b/source4/torture/nbench/nbio.c
index 1cb00b6733..540f709211 100644
--- a/source4/torture/nbench/nbio.c
+++ b/source4/torture/nbench/nbio.c
@@ -25,6 +25,7 @@
#include "system/filesys.h"
#include "dlinklist.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "libcli/raw/libcliraw.h"
#define MAX_FILES 100
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c
index 52fc100b23..66609b8e80 100644
--- a/source4/torture/rap/rap.c
+++ b/source4/torture/rap/rap.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "rap.h"
+#include "libcli/raw/libcliraw.h"
struct rap_call {
uint16_t callno;
diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c
index fd6a3d972d..44dbe97e00 100644
--- a/source4/torture/raw/chkpath.c
+++ b/source4/torture/raw/chkpath.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "libcli/raw/libcliraw.h"
#define BASEDIR "\\rawchkpath"
diff --git a/source4/torture/raw/close.c b/source4/torture/raw/close.c
index 733800da19..6d55501cd3 100644
--- a/source4/torture/raw/close.c
+++ b/source4/torture/raw/close.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "system/time.h"
+#include "libcli/raw/libcliraw.h"
/* basic testing of all RAW_CLOSE_* calls
diff --git a/source4/torture/raw/ioctl.c b/source4/torture/raw/ioctl.c
index 2768002893..7cce8aa61b 100644
--- a/source4/torture/raw/ioctl.c
+++ b/source4/torture/raw/ioctl.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "ioctl.h"
+#include "libcli/raw/libcliraw.h"
#define BASEDIR "\\rawioctl"
diff --git a/source4/torture/raw/mkdir.c b/source4/torture/raw/mkdir.c
index 5cdc839194..eb63bdee46 100644
--- a/source4/torture/raw/mkdir.c
+++ b/source4/torture/raw/mkdir.c
@@ -19,6 +19,7 @@
*/
#include "includes.h"
+#include "libcli/raw/libcliraw.h"
#define BASEDIR "\\mkdirtest"
diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c
index 921fdb4dbf..6f115adc9e 100644
--- a/source4/torture/raw/notify.c
+++ b/source4/torture/raw/notify.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "libcli/raw/libcliraw.h"
#define BASEDIR "\\test_notify"
diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c
index 95d88f2b07..4b67ce5cac 100644
--- a/source4/torture/raw/oplock.c
+++ b/source4/torture/raw/oplock.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "libcli/raw/libcliraw.h"
#define CHECK_VAL(v, correct) do { \
if ((v) != (correct)) { \
diff --git a/source4/torture/raw/rename.c b/source4/torture/raw/rename.c
index f4737920fa..921e7f574f 100644
--- a/source4/torture/raw/rename.c
+++ b/source4/torture/raw/rename.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "libcli/raw/libcliraw.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \
diff --git a/source4/torture/raw/seek.c b/source4/torture/raw/seek.c
index 9652b7597f..d7d0527bbc 100644
--- a/source4/torture/raw/seek.c
+++ b/source4/torture/raw/seek.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "system/filesys.h"
+#include "libcli/raw/libcliraw.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \
diff --git a/source4/torture/raw/setfileinfo.c b/source4/torture/raw/setfileinfo.c
index c18a607f11..6d2dcbc03f 100644
--- a/source4/torture/raw/setfileinfo.c
+++ b/source4/torture/raw/setfileinfo.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "system/time.h"
+#include "libcli/raw/libcliraw.h"
#define BASEDIR "\\testsfileinfo"
diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c
index 855ecaf077..9ff9496cd4 100644
--- a/source4/torture/raw/unlink.c
+++ b/source4/torture/raw/unlink.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "system/filesys.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "libcli/raw/libcliraw.h"
#define CHECK_STATUS(status, correct) do { \
if (!NT_STATUS_EQUAL(status, correct)) { \
diff --git a/source4/torture/rpc/mgmt.c b/source4/torture/rpc/mgmt.c
index 28ac07f607..4ac5fa390c 100644
--- a/source4/torture/rpc/mgmt.c
+++ b/source4/torture/rpc/mgmt.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_mgmt.h"
+#include "auth/gensec/gensec.h"
/*
diff --git a/source4/torture/smb2/setinfo.c b/source4/torture/smb2/setinfo.c
index aa66d510d4..d659af329d 100644
--- a/source4/torture/smb2/setinfo.c
+++ b/source4/torture/smb2/setinfo.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "system/time.h"
+#include "libcli/smb2/smb2.h"
#define BASEDIR ""
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index a86a925778..a6ec030c1d 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -28,6 +28,7 @@
#include "ioctl.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "smb_build.h"
+#include "libcli/nbt/libnbt.h"
int torture_nprocs=4;
int torture_numops=10;