summaryrefslogtreecommitdiff
path: root/source4/torture/torture.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/torture.h')
-rw-r--r--source4/torture/torture.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/torture/torture.h b/source4/torture/torture.h
index e509ac7028..6218700ac6 100644
--- a/source4/torture/torture.h
+++ b/source4/torture/torture.h
@@ -22,6 +22,20 @@
#ifndef __TORTURE_H__
#define __TORTURE_H__
+struct torture_op {
+ const char *name;
+ BOOL (*fn)(void);
+ BOOL (*multi_fn)(struct smbcli_state *, int );
+ struct torture_op *prev, *next;
+};
+
+extern struct torture_op * torture_ops;
+
+extern BOOL use_oplocks;
+extern BOOL torture_showall;
+extern int torture_entries;
+extern int torture_nprocs;
+extern int torture_seed;
extern int torture_numops;
extern int torture_failures;