mirror of
https://github.com/samba-team/samba.git
synced 2025-03-29 02:50:28 +03:00
source4/torture/raw: Fix prototypes for all functions.
This commit is contained in:
parent
a252ded937
commit
6dfd88ab0a
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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)) { \
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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};
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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)) { \
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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 {
|
||||
|
@ -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)) { \
|
||||
|
@ -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)) { \
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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)) { \
|
||||
|
@ -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"
|
||||
|
@ -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)) { \
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)) { \
|
||||
|
@ -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)) { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user