Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: LGPL-2.1 */
0002 /*
0003  *
0004  *   Definitions for various global variables and structures
0005  *
0006  *   Copyright (C) International Business Machines  Corp., 2002, 2011
0007  *                 Etersoft, 2012
0008  *   Author(s): Steve French (sfrench@us.ibm.com)
0009  *              Jeremy Allison (jra@samba.org)
0010  *              Pavel Shilovsky (pshilovsky@samba.org) 2012
0011  *
0012  */
0013 #ifndef _SMB2_GLOB_H
0014 #define _SMB2_GLOB_H
0015 
0016 /*
0017  *****************************************************************
0018  * Constants go here
0019  *****************************************************************
0020  */
0021 
0022 /*
0023  * Identifiers for functions that use the open, operation, close pattern
0024  * in smb2inode.c:smb2_compound_op()
0025  */
0026 #define SMB2_OP_SET_DELETE 1
0027 #define SMB2_OP_SET_INFO 2
0028 #define SMB2_OP_QUERY_INFO 3
0029 #define SMB2_OP_QUERY_DIR 4
0030 #define SMB2_OP_MKDIR 5
0031 #define SMB2_OP_RENAME 6
0032 #define SMB2_OP_DELETE 7
0033 #define SMB2_OP_HARDLINK 8
0034 #define SMB2_OP_SET_EOF 9
0035 #define SMB2_OP_RMDIR 10
0036 #define SMB2_OP_POSIX_QUERY_INFO 11
0037 
0038 /* Used when constructing chained read requests. */
0039 #define CHAINED_REQUEST 1
0040 #define START_OF_CHAIN 2
0041 #define END_OF_CHAIN 4
0042 #define RELATED_REQUEST 8
0043 
0044 #endif  /* _SMB2_GLOB_H */