50 lines · c
1/* SPDX-License-Identifier: LGPL-2.1 */2/*3 *4 * Definitions for various global variables and structures5 *6 * Copyright (C) International Business Machines Corp., 2002, 20117 * Etersoft, 20128 * Author(s): Steve French (sfrench@us.ibm.com)9 * Jeremy Allison (jra@samba.org)10 * Pavel Shilovsky (pshilovsky@samba.org) 201211 *12 */13#ifndef _SMB2_GLOB_H14#define _SMB2_GLOB_H15 16/*17 *****************************************************************18 * Constants go here19 *****************************************************************20 */21 22/*23 * Identifiers for functions that use the open, operation, close pattern24 * in smb2inode.c:smb2_compound_op()25 */26enum smb2_compound_ops {27 SMB2_OP_SET_DELETE = 1,28 SMB2_OP_SET_INFO,29 SMB2_OP_QUERY_INFO,30 SMB2_OP_QUERY_DIR,31 SMB2_OP_MKDIR,32 SMB2_OP_RENAME,33 SMB2_OP_DELETE,34 SMB2_OP_HARDLINK,35 SMB2_OP_SET_EOF,36 SMB2_OP_RMDIR,37 SMB2_OP_POSIX_QUERY_INFO,38 SMB2_OP_SET_REPARSE,39 SMB2_OP_GET_REPARSE,40 SMB2_OP_QUERY_WSL_EA,41};42 43/* Used when constructing chained read requests. */44#define CHAINED_REQUEST 145#define START_OF_CHAIN 246#define END_OF_CHAIN 447#define RELATED_REQUEST 848 49#endif /* _SMB2_GLOB_H */50