2001-12-03 09:49:47 +03: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-07-15 14:35:28 +04:00
# include "../utils/net_proto.h"
2001-12-03 09:49:47 +03: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 14:00:26 +03:00
# define NET_FLAGS_LOCALHOST_DEFAULT_INSANE 4
2001-12-03 09:49:47 +03:00
2001-12-04 07:48:01 +03:00
/* We want to find the PDC only */
2001-12-05 14:00:26 +03:00
# define NET_FLAGS_PDC 8
2001-12-04 07:48:01 +03:00
2001-12-05 06:14:35 +03:00
/* We want an anonymous connection */
2001-12-05 14:00:26 +03:00
# define NET_FLAGS_ANONYMOUS 16
2001-12-05 06:14:35 +03:00
2004-02-08 13:59:09 +03:00
/* don't open an RPC pipe */
# define NET_FLAGS_NO_PIPE 32
2001-12-03 09:49:47 +03:00
extern int opt_maxusers ;
2003-01-03 11:28:12 +03:00
extern const char * opt_comment ;
2003-04-21 18:09:03 +04:00
extern const char * opt_container ;
2001-12-03 09:49:47 +03:00
extern int opt_flags ;
2003-01-03 11:28:12 +03:00
extern const char * opt_comment ;
2001-12-04 07:48:01 +03:00
2003-01-03 11:28:12 +03:00
extern const char * opt_target_workgroup ;
extern const char * opt_workgroup ;
2001-12-03 09:49:47 +03:00
extern int opt_long_list_entries ;
2001-12-31 16:00:59 +03:00
extern int opt_reboot ;
extern int opt_force ;
2003-10-23 18:33:19 +04:00
extern int opt_machine_pass ;
2001-12-31 16:00:59 +03:00
extern int opt_timeout ;
2003-01-03 11:28:12 +03:00
extern const char * opt_host ;
extern const char * opt_user_name ;
extern const char * opt_password ;
2002-04-10 17:28:28 +04:00
extern BOOL opt_user_specified ;
2002-07-15 14:35:28 +04:00
2003-01-03 11:28:12 +03:00
extern BOOL opt_have_ip ;
extern struct in_addr opt_dest_ip ;
2002-07-15 14:35:28 +04:00
extern const char * share_type [ ] ;