lib: Pass sockname and timeout to ctdbd_probe()
[Samba.git] / libcli / smb / smb2_create_ctx.h
blobcb194f5c536134199cec538d8b45f53259c1a1b3
1 /*
2 Unix SMB/CIFS implementation.
4 SMB2 create context specifc stuff
6 Copyright (C) Ralph Boehme 2014
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef __LIBCLI_SMB2_CREATE_CTX_H__
23 #define __LIBCLI_SMB2_CREATE_CTX_H__
25 /* http://opensource.apple.com/source/smb/smb-697.1.1/kernel/netsmb/smb_2.h */
27 /* "AAPL" Context Command Codes */
28 #define SMB2_CRTCTX_AAPL_SERVER_QUERY 1
29 #define SMB2_CRTCTX_AAPL_RESOLVE_ID 2
31 /* "AAPL" Server Query request/response bitmap */
32 #define SMB2_CRTCTX_AAPL_SERVER_CAPS 1
33 #define SMB2_CRTCTX_AAPL_VOLUME_CAPS 2
34 #define SMB2_CRTCTX_AAPL_MODEL_INFO 4
36 /* "AAPL" Client/Server Capabilities bitmap */
37 #define SMB2_CRTCTX_AAPL_SUPPORTS_READ_DIR_ATTR 1
38 #define SMB2_CRTCTX_AAPL_SUPPORTS_OSX_COPYFILE 2
39 #define SMB2_CRTCTX_AAPL_UNIX_BASED 4
40 #define SMB2_CRTCTX_AAPL_SUPPORTS_NFS_ACE 8
42 /* "AAPL" Volume Capabilities bitmap */
43 #define SMB2_CRTCTX_AAPL_SUPPORT_RESOLVE_ID 1
44 #define SMB2_CRTCTX_AAPL_CASE_SENSITIVE 2
46 #endif