22174580055a18a0b19d7abd5a19a04454f7dfb1
[ira/wip.git] / source3 / utils / net.h
1 /* 
2    Samba Unix/Linux SMB client library 
3    Version 3.0
4    Distributed SMB/CIFS Server Management Utility 
5    Copyright (C) 2001 Andrew Bartlett (abartlet@samba.org)
6
7    This program is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 2 of the License, or
10    (at your option) any later version.
11    
12    This program is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16    
17    You should have received a copy of the GNU General Public License
18    along with this program; if not, write to the Free Software
19    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
20  
21 #define NET_FLAGS_MASTER 1
22 #define NET_FLAGS_DMB 2
23
24 /* Would it be insane to set 'localhost' as the default
25    remote host for this operation? 
26
27    For example, localhost is insane for a 'join' operation.
28 */
29 #define NET_FLAGS_LOCALHOST_DEFAULT_INSANE 4 
30
31 /* We want to find the PDC only */
32 #define NET_FLAGS_PDC 8 
33
34 /* We want an anonymous connection */
35 #define NET_FLAGS_ANONYMOUS 16 
36
37
38 extern int opt_maxusers;
39 extern char *opt_comment;
40 extern int opt_flags;
41
42 extern char *opt_comment;
43
44 extern char *opt_target_workgroup;
45 extern int opt_long_list_entries;
46 extern int opt_reboot;
47 extern int opt_force;
48 extern int opt_timeout;