diff options
Diffstat (limited to 'epan/packet.h')
-rw-r--r-- | epan/packet.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/packet.h b/epan/packet.h index 9c5478821b..0ccc23a655 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.70 2003/09/07 00:47:56 guy Exp $ + * $Id: packet.h,v 1.71 2003/09/09 18:09:42 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -205,6 +205,11 @@ extern void dissector_reset_string(const char *name, const gchar *pattern); extern gboolean dissector_try_string(dissector_table_t sub_dissectors, const gchar *string, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); +/* Look for a given value in a given string dissector table and, if found, + return the dissector handle for that value. */ +extern dissector_handle_t dissector_get_string_handle( + dissector_table_t sub_dissectors, const gchar *string); + /* Add a handle to the list of handles that *could* be used with this table. That list is used by code in the UI. */ extern void dissector_add_handle(const char *name, dissector_handle_t handle); |