aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-efs.h
blob: ee6252b7789e008b01dd9cfa12514a88985e7902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* packet-dcerpc-efs.h
 * Routines for the efsrpc MSRPC interface
 * Copyright 2004 Ronnie Sahlberg, Jean-Baptiste Marchand 
 *
 * $Id: packet-dcerpc-efs.h,v 1.1 2004/04/29 22:40:21 sahlberg Exp $
 *
 * Ethereal - Network traffic analyzer
 * By Gerald Combs <gerald@ethereal.com>
 * Copyright 1998 Gerald Combs
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */

#ifndef __PACKET_DCERPC_EFS_H
#define __PACKET_DCERPC_EFS_H

/* MSRPC functions available in the efsrpc interface */

#define EFS_RPC_OPEN_FILE_RAW 			0x00
#define EFS_RPC_READ_FILE_RAW			0x01
#define EFS_RPC_WRITE_FILE_RAW			0x02
#define EFS_RPC_CLOSE_RAW			0x03
#define EFS_RPC_ENCRYPT_FILE_SRV 		0x04
#define EFS_RPC_DECRYPT_FILE_SRV		0x05
#define EFS_RPC_QUERY_USERS_ON_FILE		0x06
#define EFS_RPC_QUERY_RECOVERY_AGENTS		0x07
#define EFS_RPC_REMOVE_USERS_FROM_FILE		0x08
#define EFS_RPC_ADD_USERS_TO_FILE		0x09
#define EFS_RPC_SET_FILE_ENCRYPTION_KEY 	0x0a
#define EFS_RPC_NOT_SUPPORTED			0x0b
#define EFS_RPC_FILE_KEY_INFO			0x0c
#define EFS_RPC_DUPLICATE_ENCRYPTION_INFO_FILE 	0x0d

#endif /* packet-dcerpc-efs.h */