From 909b111f587705a45f63540b39968f1af58a9b5d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 25 Mar 2006 16:01:28 +0000 Subject: r14720: Add torture_context argument to all torture tests (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d) --- source4/torture/torture.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/torture.h') 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" -- cgit