Commit | Line | Data |
---|---|---|
929be906 | 1 | /* SPDX-License-Identifier: LGPL-2.1 */ |
be4cb9e3 | 2 | /* |
be4cb9e3 PS |
3 | * |
4 | * Definitions for various global variables and structures | |
5 | * | |
6 | * Copyright (C) International Business Machines Corp., 2002, 2011 | |
7 | * Etersoft, 2012 | |
8 | * Author(s): Steve French (sfrench@us.ibm.com) | |
9 | * Jeremy Allison (jra@samba.org) | |
10 | * Pavel Shilovsky (pshilovsky@samba.org) 2012 | |
11 | * | |
be4cb9e3 PS |
12 | */ |
13 | #ifndef _SMB2_GLOB_H | |
14 | #define _SMB2_GLOB_H | |
15 | ||
16 | /* | |
17 | ***************************************************************** | |
18 | * Constants go here | |
19 | ***************************************************************** | |
20 | */ | |
21 | ||
22 | /* | |
23 | * Identifiers for functions that use the open, operation, close pattern | |
bb435512 | 24 | * in smb2inode.c:smb2_compound_op() |
be4cb9e3 PS |
25 | */ |
26 | #define SMB2_OP_SET_DELETE 1 | |
27 | #define SMB2_OP_SET_INFO 2 | |
28 | #define SMB2_OP_QUERY_INFO 3 | |
29 | #define SMB2_OP_QUERY_DIR 4 | |
30 | #define SMB2_OP_MKDIR 5 | |
31 | #define SMB2_OP_RENAME 6 | |
32 | #define SMB2_OP_DELETE 7 | |
568798cc | 33 | #define SMB2_OP_HARDLINK 8 |
c839ff24 | 34 | #define SMB2_OP_SET_EOF 9 |
897fba11 | 35 | #define SMB2_OP_RMDIR 10 |
6a5f6592 | 36 | #define SMB2_OP_POSIX_QUERY_INFO 11 |
be4cb9e3 | 37 | |
09a4707e PS |
38 | /* Used when constructing chained read requests. */ |
39 | #define CHAINED_REQUEST 1 | |
40 | #define START_OF_CHAIN 2 | |
41 | #define END_OF_CHAIN 4 | |
42 | #define RELATED_REQUEST 8 | |
43 | ||
be4cb9e3 | 44 | #endif /* _SMB2_GLOB_H */ |