r12694: Move some headers to the directory of the subsystem they belong to.
[samba.git] / source4 / include / enums.h
1 /* 
2    Unix SMB/CIFS implementation.
3    
4    Copyright (C) Andrew Tridgell              2003
5    
6    This program is free software; you can redistribute it and/or modify
7    it under the terms of the GNU General Public License as published by
8    the Free Software Foundation; either version 2 of the License, or
9    (at your option) any later version.
10    
11    This program is distributed in the hope that it will be useful,
12    but WITHOUT ANY WARRANTY; without even the implied warranty of
13    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14    GNU General Public License for more details.
15    
16    You should have received a copy of the GNU General Public License
17    along with this program; if not, write to the Free Software
18    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 */
20
21 /*
22   this header declares basic enumerated types
23 */
24
25 /* protocol types. It assumes that higher protocols include lower protocols
26    as subsets */
27 enum protocol_types {PROTOCOL_NONE,PROTOCOL_CORE,PROTOCOL_COREPLUS,PROTOCOL_LANMAN1,PROTOCOL_LANMAN2,PROTOCOL_NT1};
28
29 /* security levels */
30 enum security_types {SEC_SHARE,SEC_USER};
31
32 /* passed to br lock code */
33 enum brl_type {READ_LOCK, WRITE_LOCK, PENDING_READ_LOCK, PENDING_WRITE_LOCK};
34
35 enum smb_signing_state {SMB_SIGNING_OFF, SMB_SIGNING_SUPPORTED, 
36                         SMB_SIGNING_REQUIRED, SMB_SIGNING_AUTO};
37
38