From Richard Urwin a great enhancement to the color filter dialogue to
[obnox/wireshark/wip.git] / packet-dcerpc-reg.h
1 /* packet-dcerpc-reg.h
2  * Routines for SMB \PIPE\winreg packet disassembly
3  * Copyright 2001, Tim Potter <tpot@samba.org>
4  *
5  * $Id: packet-dcerpc-reg.h,v 1.7 2003/06/17 06:50:36 tpot Exp $
6  *
7  * Ethereal - Network traffic analyzer
8  * By Gerald Combs <gerald@ethereal.com>
9  * Copyright 1998 Gerald Combs
10  *
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 #ifndef __PACKET_DCERPC_REG_H
27 #define __PACKET_DCERPC_REG_H
28
29 /* Functions available on the WINREG pipe.  From Samba, include/rpc_reg.h */
30
31 #define REG_OPEN_HKCR           0x00
32 #define _REG_UNK_01             0x01
33 #define REG_OPEN_HKLM           0x02
34 #define _REG_UNK_03             0x03
35 #define REG_OPEN_HKU            0x04
36 #define REG_CLOSE               0x05
37 #define REG_CREATE_KEY          0x06
38 #define REG_DELETE_KEY          0x07
39 #define REG_DELETE_VALUE        0x08
40 #define REG_ENUM_KEY            0x09
41 #define REG_ENUM_VALUE          0x0a
42 #define REG_FLUSH_KEY           0x0b
43 #define REG_GET_KEY_SEC         0x0c
44 #define _REG_UNK_0D             0x0d
45 #define _REG_UNK_0E             0x0e
46 #define REG_OPEN_ENTRY          0x0f
47 #define REG_QUERY_KEY           0x10
48 #define REG_QUERY_VALUE         0x11
49 #define _REG_UNK_12             0x12
50 #define _REG_UNK_13             0x13
51 #define _REG_UNK_14             0x14
52 #define REG_SET_KEY_SEC         0x15
53 #define REG_CREATE_VALUE        0x16
54 #define _REG_UNK_17             0x17
55 #define REG_SHUTDOWN            0x18
56 #define REG_ABORT_SHUTDOWN      0x19
57 #define _REG_UNK_1A             0x1a
58
59 /* Registry data types */
60
61 #define DCERPC_REG_NONE                       0
62 #define DCERPC_REG_SZ                          1
63 #define DCERPC_REG_EXPAND_SZ                  2
64 #define DCERPC_REG_BINARY                      3
65 #define DCERPC_REG_DWORD                       4
66 #define DCERPC_REG_DWORD_LE                    4        /* DWORD, little endian */
67 #define DCERPC_REG_DWORD_BE                    5        /* DWORD, big endian */
68 #define DCERPC_REG_LINK                       6
69 #define DCERPC_REG_MULTI_SZ                    7
70 #define DCERPC_REG_RESOURCE_LIST              8
71 #define DCERPC_REG_FULL_RESOURCE_DESCRIPTOR   9
72 #define DCERPC_REG_RESOURCE_REQUIREMENTS_LIST 10
73
74 extern const value_string reg_datatypes[];
75
76 #endif /* packet-dcerpc-reg.h */