2010-10-24 06:27:26 +04:00
/*
Samba Unix / Linux SMB client library
Distributed SMB / CIFS Server Management Utility
2004-08-18 13:33:54 +04:00
Copyright ( C ) Stefan Metzmacher 2004
2003-08-13 05:53:07 +04:00
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
2003-08-13 05:53:07 +04:00
( at your option ) any later version .
2010-10-24 06:27:26 +04:00
2003-08-13 05:53:07 +04:00
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 .
2010-10-24 06:27:26 +04:00
2003-08-13 05:53:07 +04:00
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/>.
2003-08-13 05:53:07 +04:00
*/
2010-10-24 06:27:26 +04:00
# ifndef _SAMBA_TOOL_H
# define _SAMBA_TOOL_H
2003-08-13 05:53:07 +04:00
2004-08-18 13:33:54 +04:00
struct net_context {
2005-03-21 05:08:38 +03:00
struct cli_credentials * credentials ;
2007-12-04 21:33:00 +03:00
struct loadparm_context * lp_ctx ;
2008-12-29 22:24:57 +03:00
struct tevent_context * event_ctx ;
2004-08-18 13:33:54 +04:00
} ;
2003-08-13 05:53:07 +04:00
2004-08-18 13:33:54 +04:00
struct net_functable {
const char * name ;
2005-02-17 00:50:38 +03:00
const char * desc ;
2004-08-18 13:33:54 +04:00
int ( * fn ) ( struct net_context * ctx , int argc , const char * * argv ) ;
2004-08-18 16:47:08 +04:00
int ( * usage ) ( struct net_context * ctx , int argc , const char * * argv ) ;
2004-08-18 13:33:54 +04:00
} ;
2003-08-13 05:53:07 +04:00
2010-10-24 06:27:26 +04:00
# include "samba_tool/proto.h"
2005-12-28 18:38:36 +03:00
2010-10-24 06:27:26 +04:00
# endif /* _SAMBA_TOOL_H */