From 52b410401a527cbc9294f10c01ee53d766bb5ac7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 17 Mar 2006 16:27:22 +0000 Subject: r14520: Split up smbtorture binary into a core (torture.c) and UI frontend (smbtorture.c) (This used to be commit 7f9c11e7b1d7f6ce943900860febe0f43ea6548e) --- source4/torture/torture.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'source4/torture/torture.h') 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; -- cgit