diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-25 16:01:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:59:13 -0500 |
commit | 909b111f587705a45f63540b39968f1af58a9b5d (patch) | |
tree | 48355b5250c40932b0c5a9dde2e5ade2c3fc29df /source4/torture/torture.h | |
parent | 6c5853aa8d6dfbfeb96d705cbd157544352f810e (diff) | |
download | samba-909b111f587705a45f63540b39968f1af58a9b5d.tar.gz samba-909b111f587705a45f63540b39968f1af58a9b5d.tar.bz2 samba-909b111f587705a45f63540b39968f1af58a9b5d.zip |
r14720: Add torture_context argument to all torture tests
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
Diffstat (limited to 'source4/torture/torture.h')
-rw-r--r-- | source4/torture/torture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/torture.h b/source4/torture/torture.h index 9d0f84759b..271a9bf4a3 100644 --- a/source4/torture/torture.h +++ b/source4/torture/torture.h @@ -23,9 +23,10 @@ #define __TORTURE_H__ struct smbcli_state; +struct torture_context; struct torture_op { const char *name; - BOOL (*fn)(void); + BOOL (*fn)(struct torture_context *); BOOL (*multi_fn)(struct smbcli_state *, int ); struct torture_op *prev, *next; }; @@ -41,7 +42,6 @@ extern int torture_numops; extern int torture_failures; extern BOOL use_level_II_oplocks; -struct torture_context; struct torture_test; #include "torture/proto.h" |