diff options
author | Michael Mann <mmann78@netscape.net> | 2014-07-23 13:38:55 -0400 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2014-07-26 20:59:42 +0000 |
commit | 31ecdf5b06bff3bb2e706e840c28c519698e6f67 (patch) | |
tree | 71b3e59889e862560412d317df71113f66b094b6 /epan/proto.h | |
parent | 507d07eda6ad562d4567cf0ee83aa9b03997beca (diff) |
Refactor "common" Conversation table functionality.
Refactor (non-GUI) conversation table functionality from gtk/Qt to epan. Also refactor "common GUI" conversation table functionality.
The idea is to not have to modify the GUI when a dissector adds a new "conversation type"
Change-Id: I11f08d0d7edd631218663ba4b902c4a4c849acda
Reviewed-on: https://code.wireshark.org/review/3113
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/proto.h b/epan/proto.h index cb456f8ebc..dada8a938e 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1984,6 +1984,11 @@ WS_DLL_PUBLIC header_field_info *proto_get_next_protocol_field(const int proto_i @return proto_id */ WS_DLL_PUBLIC int proto_get_id_by_filter_name(const gchar* filter_name); +/** Given a protocol's short name. + @param short_name the protocol short name to search for + @return proto_id */ +WS_DLL_PUBLIC int proto_get_id_by_short_name(const gchar* short_name); + /** Can item # n decoding be disabled? @param proto_id protocol id (0-indexed) @return TRUE if it's a protocol, FALSE if it's not */ |