diff options
Diffstat (limited to 'source4/torture/raw')
31 files changed, 32 insertions, 0 deletions
diff --git a/source4/torture/raw/acls.c b/source4/torture/raw/acls.c index c1d41c6f107..666d164c969 100644 --- a/source4/torture/raw/acls.c +++ b/source4/torture/raw/acls.c @@ -28,6 +28,7 @@ #include "libcli/security/security.h" #include "torture/util.h" #include "librpc/gen_ndr/ndr_security.h" +#include "torture/raw/proto.h" #define BASEDIR "\\testsd" diff --git a/source4/torture/raw/chkpath.c b/source4/torture/raw/chkpath.c index aaf4446b8ea..d000283685d 100644 --- a/source4/torture/raw/chkpath.c +++ b/source4/torture/raw/chkpath.c @@ -22,6 +22,7 @@ #include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define BASEDIR "\\rawchkpath" diff --git a/source4/torture/raw/close.c b/source4/torture/raw/close.c index e1b2b7db61e..56b63c64324 100644 --- a/source4/torture/raw/close.c +++ b/source4/torture/raw/close.c @@ -24,6 +24,7 @@ #include "libcli/raw/raw_proto.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" /** * basic testing of all RAW_CLOSE_* calls diff --git a/source4/torture/raw/composite.c b/source4/torture/raw/composite.c index 3a828d868a9..fd1f6aaf979 100644 --- a/source4/torture/raw/composite.c +++ b/source4/torture/raw/composite.c @@ -32,6 +32,7 @@ #include "torture/util.h" #include "param/param.h" #include "libcli/resolve/resolve.h" +#include "torture/raw/proto.h" #define BASEDIR "\\composite" diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c index cda8b15d8df..45e7482057c 100644 --- a/source4/torture/raw/context.c +++ b/source4/torture/raw/context.c @@ -26,6 +26,7 @@ #include "torture/util.h" #include "auth/credentials/credentials.h" #include "param/param.h" +#include "torture/raw/proto.h" #define BASEDIR "\\rawcontext" diff --git a/source4/torture/raw/eas.c b/source4/torture/raw/eas.c index aeda20232b2..d173cf7ea5a 100644 --- a/source4/torture/raw/eas.c +++ b/source4/torture/raw/eas.c @@ -25,6 +25,7 @@ #include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define BASEDIR "\\testeas" diff --git a/source4/torture/raw/ioctl.c b/source4/torture/raw/ioctl.c index 7692af9ca9d..80a3db6294e 100644 --- a/source4/torture/raw/ioctl.c +++ b/source4/torture/raw/ioctl.c @@ -24,6 +24,7 @@ #include "libcli/raw/raw_proto.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define BASEDIR "\\rawioctl" diff --git a/source4/torture/raw/lock.c b/source4/torture/raw/lock.c index df44dd3fa2a..127745e38e8 100644 --- a/source4/torture/raw/lock.c +++ b/source4/torture/raw/lock.c @@ -29,6 +29,7 @@ #include "libcli/smb_composite/smb_composite.h" #include "lib/cmdline/popt_common.h" #include "param/param.h" +#include "torture/raw/proto.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/lockbench.c b/source4/torture/raw/lockbench.c index 91ce67dbd38..58e709dd2b8 100644 --- a/source4/torture/raw/lockbench.c +++ b/source4/torture/raw/lockbench.c @@ -32,6 +32,7 @@ #include "libcli/smb_composite/smb_composite.h" #include "libcli/resolve/resolve.h" #include "param/param.h" +#include "torture/raw/proto.h" #define BASEDIR "\\benchlock" #define FNAME BASEDIR "\\lock.dat" diff --git a/source4/torture/raw/lookuprate.c b/source4/torture/raw/lookuprate.c index 96ae92f1e87..3b9fbe1cdb1 100644 --- a/source4/torture/raw/lookuprate.c +++ b/source4/torture/raw/lookuprate.c @@ -22,6 +22,7 @@ #include "torture/smbtorture.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define BASEDIR "\\lookuprate" #define MISSINGNAME BASEDIR "\\foo" diff --git a/source4/torture/raw/mkdir.c b/source4/torture/raw/mkdir.c index 9c744b2db8e..40952e0d997 100644 --- a/source4/torture/raw/mkdir.c +++ b/source4/torture/raw/mkdir.c @@ -21,6 +21,7 @@ #include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define BASEDIR "\\mkdirtest" diff --git a/source4/torture/raw/mux.c b/source4/torture/raw/mux.c index e8418f892c7..1b11c29573a 100644 --- a/source4/torture/raw/mux.c +++ b/source4/torture/raw/mux.c @@ -23,6 +23,7 @@ #include "libcli/raw/raw_proto.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define BASEDIR "\\test_mux" diff --git a/source4/torture/raw/notify.c b/source4/torture/raw/notify.c index d96ec93ea27..6c4ca826688 100644 --- a/source4/torture/raw/notify.c +++ b/source4/torture/raw/notify.c @@ -23,6 +23,7 @@ #include "libcli/libcli.h" #include "system/filesys.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define BASEDIR "\\test_notify" diff --git a/source4/torture/raw/offline.c b/source4/torture/raw/offline.c index 3b8bbdd53a0..a8259e2d421 100644 --- a/source4/torture/raw/offline.c +++ b/source4/torture/raw/offline.c @@ -29,6 +29,7 @@ #include "lib/events/events.h" #include "libcli/composite/composite.h" #include "libcli/smb_composite/smb_composite.h" +#include "torture/raw/proto.h" #define BASEDIR "\\testoffline" diff --git a/source4/torture/raw/open.c b/source4/torture/raw/open.c index 5661c2f6f60..89042d77dc2 100644 --- a/source4/torture/raw/open.c +++ b/source4/torture/raw/open.c @@ -24,6 +24,7 @@ #include "lib/events/events.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" /* enum for whether reads/writes are possible on a file */ enum rdwr_mode {RDWR_NONE, RDWR_RDONLY, RDWR_WRONLY, RDWR_RDWR}; diff --git a/source4/torture/raw/openbench.c b/source4/torture/raw/openbench.c index 749d157c313..d0c785d4607 100644 --- a/source4/torture/raw/openbench.c +++ b/source4/torture/raw/openbench.c @@ -33,6 +33,7 @@ #include "libcli/smb_composite/smb_composite.h" #include "libcli/resolve/resolve.h" #include "param/param.h" +#include "torture/raw/proto.h" #define BASEDIR "\\benchopen" diff --git a/source4/torture/raw/oplock.c b/source4/torture/raw/oplock.c index b120dad85b1..01b1dd2b93d 100644 --- a/source4/torture/raw/oplock.c +++ b/source4/torture/raw/oplock.c @@ -26,6 +26,7 @@ #include "param/param.h" #include "lib/cmdline/popt_common.h" #include "libcli/resolve/resolve.h" +#include "torture/raw/proto.h" #define CHECK_VAL(v, correct) do { \ if ((v) != (correct)) { \ diff --git a/source4/torture/raw/pingpong.c b/source4/torture/raw/pingpong.c index f9c551e9b9b..2cb31879161 100644 --- a/source4/torture/raw/pingpong.c +++ b/source4/torture/raw/pingpong.c @@ -48,6 +48,7 @@ #include "system/filesys.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" static void lock_byte(struct smbcli_state *cli, int fd, int offset, int lock_timeout) { diff --git a/source4/torture/raw/qfileinfo.c b/source4/torture/raw/qfileinfo.c index 2a5a2e77ef7..414084080b9 100644 --- a/source4/torture/raw/qfileinfo.c +++ b/source4/torture/raw/qfileinfo.c @@ -25,6 +25,7 @@ #include "torture/util.h" #include "torture/rpc/torture_rpc.h" #include "param/param.h" +#include "torture/raw/proto.h" static struct { const char *name; diff --git a/source4/torture/raw/qfsinfo.c b/source4/torture/raw/qfsinfo.c index 111eac14d5c..259aee0e0ec 100644 --- a/source4/torture/raw/qfsinfo.c +++ b/source4/torture/raw/qfsinfo.c @@ -20,6 +20,8 @@ #include "includes.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/basic/proto.h" +#include "torture/raw/proto.h" static struct { diff --git a/source4/torture/raw/read.c b/source4/torture/raw/read.c index 3b315afe8dd..9bb626f3cd3 100644 --- a/source4/torture/raw/read.c +++ b/source4/torture/raw/read.c @@ -23,6 +23,7 @@ #include "system/filesys.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/rename.c b/source4/torture/raw/rename.c index ca4207119b4..b9f2039ff2a 100644 --- a/source4/torture/raw/rename.c +++ b/source4/torture/raw/rename.c @@ -20,6 +20,7 @@ #include "includes.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/samba3hide.c b/source4/torture/raw/samba3hide.c index 120bd836a86..5ecf4f682db 100644 --- a/source4/torture/raw/samba3hide.c +++ b/source4/torture/raw/samba3hide.c @@ -22,6 +22,7 @@ #include "system/filesys.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" static void init_unixinfo_nochange(union smb_setfileinfo *info) { diff --git a/source4/torture/raw/samba3misc.c b/source4/torture/raw/samba3misc.c index a603111fa2d..0125d1f3d78 100644 --- a/source4/torture/raw/samba3misc.c +++ b/source4/torture/raw/samba3misc.c @@ -27,6 +27,7 @@ #include "torture/util.h" #include "lib/events/events.h" #include "param/param.h" +#include "torture/raw/proto.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/search.c b/source4/torture/raw/search.c index 60c9ad0bb36..e93d2a10f71 100644 --- a/source4/torture/raw/search.c +++ b/source4/torture/raw/search.c @@ -24,6 +24,7 @@ #include "libcli/libcli.h" #include "torture/util.h" #include "lib/util/tsort.h" +#include "torture/raw/proto.h" #define BASEDIR "\\testsearch" diff --git a/source4/torture/raw/seek.c b/source4/torture/raw/seek.c index 458a45308f9..6bac8289427 100644 --- a/source4/torture/raw/seek.c +++ b/source4/torture/raw/seek.c @@ -21,6 +21,7 @@ #include "system/filesys.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.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 f3abf5b3de9..45414cbf945 100644 --- a/source4/torture/raw/setfileinfo.c +++ b/source4/torture/raw/setfileinfo.c @@ -22,6 +22,7 @@ #include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define BASEDIR "\\testsfileinfo" diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c index 1542e934221..5ce9b756efc 100644 --- a/source4/torture/raw/streams.c +++ b/source4/torture/raw/streams.c @@ -27,6 +27,7 @@ #include "libcli/libcli.h" #include "torture/util.h" #include "lib/util/tsort.h" +#include "torture/raw/proto.h" #define BASEDIR "\\teststreams" diff --git a/source4/torture/raw/tconrate.c b/source4/torture/raw/tconrate.c index 329cdd43832..6673f11eb5c 100644 --- a/source4/torture/raw/tconrate.c +++ b/source4/torture/raw/tconrate.c @@ -26,6 +26,7 @@ #include "system/filesys.h" #include "system/shmem.h" +#include "torture/raw/proto.h" #define TIME_LIMIT_SECS 30 #define usec_to_sec(s) ((s) / 1000000) diff --git a/source4/torture/raw/unlink.c b/source4/torture/raw/unlink.c index d1ad78508fc..59e127bf155 100644 --- a/source4/torture/raw/unlink.c +++ b/source4/torture/raw/unlink.c @@ -24,6 +24,7 @@ #include "libcli/raw/raw_proto.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ diff --git a/source4/torture/raw/write.c b/source4/torture/raw/write.c index 8e564d75632..0a2f50f425b 100644 --- a/source4/torture/raw/write.c +++ b/source4/torture/raw/write.c @@ -24,6 +24,7 @@ #include "system/filesys.h" #include "libcli/libcli.h" #include "torture/util.h" +#include "torture/raw/proto.h" #define CHECK_STATUS(status, correct) do { \ if (!NT_STATUS_EQUAL(status, correct)) { \ |