diff options
author | Michael Mann <mmann78@netscape.net> | 2014-12-30 23:26:19 -0500 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-01-02 00:02:18 +0000 |
commit | 860cb393d86fccd01c924b6ea2e565be8ca56698 (patch) | |
tree | 60ad77b05717f4470a47a49900cc3b43e1a5625f /epan/conversation_table.h | |
parent | 07c9492b8d40ed766074679f86c49780277af002 (diff) |
tshark: Add endpoints statistics
"stat name" has been official changed to "endpoints" for all dissectors, rather than a mixture of "host"/"endpoints" based on dissector.
Change-Id: If34bcb5165b493948e784ba038ab202803a59843
Reviewed-on: https://code.wireshark.org/review/6154
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/conversation_table.h')
-rw-r--r-- | epan/conversation_table.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/epan/conversation_table.h b/epan/conversation_table.h index 6dddc806ae..b36184717f 100644 --- a/epan/conversation_table.h +++ b/epan/conversation_table.h @@ -101,7 +101,6 @@ struct register_ct; typedef void (*conv_gui_init_cb)(struct register_ct* ct, const char *filter); typedef void (*host_gui_init_cb)(struct register_ct* host, const char *filter); -typedef const char* (*host_tap_prefix)(void); /** Structure for information about a registered conversation */ typedef struct register_ct register_ct_t; @@ -144,15 +143,16 @@ typedef struct _hostlist_talker_t { } hostlist_talker_t; +#define HOSTLIST_TAP_PREFIX "endpoints" + /** Register the conversation table for the conversation and endpoint windows. * * @param proto_id is the protocol with conversation * @param hide_ports hide the port columns * @param conv_packet_func the registered conversation tap name * @param hostlist_func the registered hostlist tap name - * @param prefix_func the function if hostlist tap has diffent name than default ("host") */ -extern void register_conversation_table(const int proto_id, gboolean hide_ports, tap_packet_cb conv_packet_func, tap_packet_cb hostlist_func, host_tap_prefix prefix_func); +extern void register_conversation_table(const int proto_id, gboolean hide_ports, tap_packet_cb conv_packet_func, tap_packet_cb hostlist_func); /** Should port columns be hidden? * @@ -182,13 +182,6 @@ WS_DLL_PUBLIC tap_packet_cb get_conversation_packet_func(register_ct_t* ct); */ WS_DLL_PUBLIC tap_packet_cb get_hostlist_packet_func(register_ct_t* ct); -/** Get tap function handler from hostlist - * - * @param ct Registered conversation - * @return tap function handler of conversation - */ -WS_DLL_PUBLIC host_tap_prefix get_hostlist_prefix_func(register_ct_t* ct); - /** get conversation from protocol ID * * @param proto_id protocol ID |