2006-03-14 15:02:05 +00:00
/*
Unix SMB / CIFS implementation .
SMB torture tester
Copyright ( C ) Andrew Tridgell 1997 - 2003
Copyright ( C ) Jelmer Vernooij 2006
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
2007-07-10 02:07:03 +00:00
the Free Software Foundation ; either version 3 of the License , or
2006-03-14 15:02:05 +00:00
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
2007-07-10 02:07:03 +00:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2006-03-14 15:02:05 +00:00
*/
2008-04-27 14:02:46 +01:00
# ifndef __SMBTORTURE_H__
# define __SMBTORTURE_H__
2006-03-14 15:02:05 +00:00
2008-11-21 17:57:44 +01:00
# include "../lib/torture/torture.h"
2006-06-17 00:17:50 +00:00
2006-03-17 17:59:58 +00:00
struct smbcli_state ;
2006-06-17 00:17:50 +00:00
2006-10-16 23:09:15 +00:00
extern struct torture_suite * torture_root ;
2006-03-17 16:27:22 +00:00
extern int torture_entries ;
extern int torture_seed ;
2006-03-17 16:11:02 +00:00
extern int torture_numops ;
extern int torture_failures ;
2006-05-05 09:52:12 +00:00
extern int torture_numasync ;
2006-03-17 16:11:02 +00:00
2006-03-25 14:49:00 +00:00
struct torture_test ;
2008-04-02 04:53:27 +02:00
int torture_init ( void ) ;
bool torture_register_suite ( struct torture_suite * suite ) ;
2008-04-02 14:10:16 +02:00
2008-04-27 14:02:46 +01:00
# endif /* __SMBTORTURE_H__ */