2006-03-14 18:02:05 +03: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 06:07:03 +04:00
the Free Software Foundation ; either version 3 of the License , or
2006-03-14 18:02:05 +03: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 06:07:03 +04:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2006-03-14 18:02:05 +03:00
*/
2008-04-27 17:02:46 +04:00
# ifndef __SMBTORTURE_H__
# define __SMBTORTURE_H__
2006-03-14 18:02:05 +03:00
2008-04-27 17:02:46 +04:00
# include "torture/torture.h"
2006-06-17 04:17:50 +04:00
2006-03-17 20:59:58 +03:00
struct smbcli_state ;
2006-06-17 04:17:50 +04:00
2006-10-17 03:09:15 +04:00
extern struct torture_suite * torture_root ;
2006-03-17 19:27:22 +03:00
extern int torture_entries ;
extern int torture_seed ;
2006-03-17 19:11:02 +03:00
extern int torture_numops ;
extern int torture_failures ;
2006-05-05 13:52:12 +04:00
extern int torture_numasync ;
2006-03-17 19:11:02 +03:00
2006-03-25 17:49:00 +03:00
struct torture_test ;
2008-04-02 06:53:27 +04:00
int torture_init ( void ) ;
bool torture_register_suite ( struct torture_suite * suite ) ;
2008-04-02 16:10:16 +04:00
2008-04-27 17:02:46 +04:00
# endif /* __SMBTORTURE_H__ */