Added dissection of the request to NetrShareAdd
[obnox/wireshark/wip.git] / packet-dcerpc-reg.h
index 831b6462893a4af812830ebc114fd6f430628489..84027af93811c49e959baeb2ca59bedb0505b911 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for SMB \PIPE\winreg packet disassembly
  * Copyright 2001, Tim Potter <tpot@samba.org>
  *
- * $Id: packet-dcerpc-reg.h,v 1.2 2001/12/09 00:07:37 guy Exp $
+ * $Id: packet-dcerpc-reg.h,v 1.4 2002/01/03 20:42:40 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -23,8 +23,8 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  */
 
-#ifndef __PACKET_MSRPC_REG_H
-#define __PACKET_MSRPC_REG_H
+#ifndef __PACKET_DCERPC_REG_H
+#define __PACKET_DCERPC_REG_H
 
 /* Functions available on the WINREG pipe.  From Samba, include/rpc_reg.h */
 
 #define REG_ABORT_SHUTDOWN     0x19
 #define REG_UNK_1A             0x1a
 
+/* Registry data types */
+
+#define REG_NONE                       0
+#define REG_SZ                        1
+#define REG_EXPAND_SZ                  2
+#define REG_BINARY                    3
+#define REG_DWORD                     4
+#define REG_DWORD_LE                  4        /* DWORD, little endian */
+#define REG_DWORD_BE                  5        /* DWORD, big endian */
+#define REG_LINK                       6
+#define REG_MULTI_SZ                  7
+#define REG_RESOURCE_LIST              8
+#define REG_FULL_RESOURCE_DESCRIPTOR   9
+#define REG_RESOURCE_REQUIREMENTS_LIST 10
+
+extern const value_string reg_datatypes[];
+
 #endif /* packet-dcerpc-reg.h */