aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-05-23 22:09:36 +0000
committerGuy Harris <guy@alum.mit.edu>2003-05-23 22:09:36 +0000
commitf94c7971a512de7c2b08f65d5d6e05a706af13f9 (patch)
tree368c5a88751ed8dc8db15e6667acc57fe5b988f2 /epan/packet.h
parent8a1947f01d2df0d1d67eedbddbd4eb998e847a86 (diff)
Add an API to get the dissector name from a dissector handle.
svn path=/trunk/; revision=7726
Diffstat (limited to 'epan/packet.h')
-rw-r--r--epan/packet.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/packet.h b/epan/packet.h
index 4e0b7de7b7..fef53c75b4 100644
--- a/epan/packet.h
+++ b/epan/packet.h
@@ -1,7 +1,7 @@
/* packet.h
* Definitions for packet disassembly structures and routines
*
- * $Id: packet.h,v 1.65 2002/11/15 03:10:36 guy Exp $
+ * $Id: packet.h,v 1.66 2003/05/23 22:09:36 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -213,6 +213,9 @@ extern void new_register_dissector(const char *name, new_dissector_t dissector,
/* Get the short name of the protocol for a dissector handle. */
extern char *dissector_handle_get_short_name(dissector_handle_t handle);
+/* Get the dissector name for a dissector handle. */
+extern const char *dissector_handle_get_dissector_name(dissector_handle_t handle);
+
/* Get the index of the protocol for a dissector handle. */
extern int dissector_handle_get_protocol_index(dissector_handle_t handle);