2001-12-03 06:49:47 +00:00
/*
Samba Unix / Linux SMB client library
Distributed SMB / CIFS Server Management Utility
Copyright ( C ) 2001 Andrew Bartlett ( abartlet @ samba . org )
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
the Free Software Foundation ; either version 2 of the License , or
( 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
along with this program ; if not , write to the Free Software
Foundation , Inc . , 675 Mass Ave , Cambridge , MA 0213 9 , USA . */
2002-06-25 02:29:09 +00:00
# include "../utils/net_proto.h"
2001-12-03 06:49:47 +00:00
# define NET_FLAGS_MASTER 1
# define NET_FLAGS_DMB 2
/* Would it be insane to set 'localhost' as the default
remote host for this operation ?
For example , localhost is insane for a ' join ' operation .
*/
2001-12-05 11:00:26 +00:00
# define NET_FLAGS_LOCALHOST_DEFAULT_INSANE 4
2001-12-03 06:49:47 +00:00
2001-12-04 04:48:01 +00:00
/* We want to find the PDC only */
2001-12-05 11:00:26 +00:00
# define NET_FLAGS_PDC 8
2001-12-04 04:48:01 +00:00
2001-12-05 03:14:35 +00:00
/* We want an anonymous connection */
2001-12-05 11:00:26 +00:00
# define NET_FLAGS_ANONYMOUS 16
2001-12-05 03:14:35 +00:00
2001-12-03 06:49:47 +00:00
extern int opt_maxusers ;
2003-01-02 09:07:17 +00:00
extern const char * opt_comment ;
2001-12-03 06:49:47 +00:00
extern int opt_flags ;
2003-01-02 09:07:17 +00:00
extern const char * opt_comment ;
2001-12-04 04:48:01 +00:00
2003-01-02 09:07:17 +00:00
extern const char * opt_target_workgroup ;
extern const char * opt_workgroup ;
2001-12-03 06:49:47 +00:00
extern int opt_long_list_entries ;
2001-12-31 13:00:59 +00:00
extern int opt_reboot ;
extern int opt_force ;
extern int opt_timeout ;
2003-01-02 09:07:17 +00:00
extern const char * opt_host ;
extern const char * opt_user_name ;
extern const char * opt_password ;
2002-04-10 13:28:28 +00:00
extern BOOL opt_user_specified ;
2002-05-31 17:03:48 +00:00
2003-01-02 09:07:17 +00:00
extern BOOL opt_have_ip ;
extern struct in_addr opt_dest_ip ;
2002-05-31 17:03:48 +00:00
extern const char * share_type [ ] ;