aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-10-25 01:08:49 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-10-25 01:08:49 +0000
commit973c0ccc78b87335ff09aa8c7f9861928533b3b3 (patch)
tree30cd9aa591a7fbd887e846e479d34f4d06eb03df /packet-dcerpc.h
parent8b877577adbbbb33ff4bf8f3d75b92a2fcb4db2e (diff)
From Ronnie Sahlberg: Ethereal support for DCERPCSTAT.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6499 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-dcerpc.h')
-rw-r--r--packet-dcerpc.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/packet-dcerpc.h b/packet-dcerpc.h
index 04ab146ec2..d0a1762443 100644
--- a/packet-dcerpc.h
+++ b/packet-dcerpc.h
@@ -1,7 +1,7 @@
/* packet-dcerpc.h
* Copyright 2001, Todd Sabin <tas@webspan.net>
*
- * $Id: packet-dcerpc.h,v 1.23 2002/10/23 03:49:10 guy Exp $
+ * $Id: packet-dcerpc.h,v 1.24 2002/10/25 01:08:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -95,6 +95,7 @@ typedef struct _e_dce_dg_common_hdr_t {
#define PDU_CO_CANCEL 18
#define PDU_ORPHANED 19
+
/*
* helpers for packet-dcerpc.c and packet-dcerpc-ndr.c
* If you're writing a subdissector, you almost certainly want the
@@ -238,4 +239,22 @@ typedef struct _dcerpc_info {
void *private_data;
} dcerpc_info;
+
+/* the registered subdissectors */
+extern GHashTable *dcerpc_uuids;
+
+typedef struct _dcerpc_uuid_key {
+ e_uuid_t uuid;
+ guint16 ver;
+} dcerpc_uuid_key;
+
+typedef struct _dcerpc_uuid_value {
+ int proto;
+ int ett;
+ gchar *name;
+ dcerpc_sub_dissector *procs;
+ int opnum_hf;
+} dcerpc_uuid_value;
+
+
#endif /* packet-dcerpc.h */