diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-11-14 10:55:50 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-11-14 18:56:12 +0000 |
commit | c3582a69450db307a973585857791ca814e19a50 (patch) | |
tree | 526e8a6d82e3029ef0b9f77d1587009d6f38d639 | |
parent | 4d3c4c4f12726404549e5c8a99439b5a371da282 (diff) | |
download | wireshark-c3582a69450db307a973585857791ca814e19a50.tar.gz |
There's nothing GTK+ about TShark.
Remove gtk from routine names in CLI taps.
Change-Id: I0846da9b1e8119ed966b441cb1ca0ce1820fd1c8
Reviewed-on: https://code.wireshark.org/review/5305
Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r-- | ui/cli/tap-bootpstat.c | 4 | ||||
-rw-r--r-- | ui/cli/tap-funnel.c | 4 | ||||
-rw-r--r-- | ui/cli/tap-httpstat.c | 10 | ||||
-rw-r--r-- | ui/cli/tap-rtspstat.c | 10 |
4 files changed, 14 insertions, 14 deletions
diff --git a/ui/cli/tap-bootpstat.c b/ui/cli/tap-bootpstat.c index a8856a1e81..b5942f8dfc 100644 --- a/ui/cli/tap-bootpstat.c +++ b/ui/cli/tap-bootpstat.c @@ -30,7 +30,7 @@ #include <epan/tap.h> #include <epan/stat_tap_ui.h> -void register_tap_listener_gtkdhcpstat(void); +void register_tap_listener_dhcpstat(void); typedef const char *bootp_info_value_t; @@ -185,7 +185,7 @@ static stat_tap_ui dhcpstat_ui = { }; void -register_tap_listener_gtkdhcpstat(void) +register_tap_listener_dhcpstat(void) { register_stat_tap_ui(&dhcpstat_ui, NULL); } diff --git a/ui/cli/tap-funnel.c b/ui/cli/tap-funnel.c index 8f4a233294..23497406aa 100644 --- a/ui/cli/tap-funnel.c +++ b/ui/cli/tap-funnel.c @@ -34,7 +34,7 @@ #include <stdio.h> #include <epan/stat_tap_ui.h> -void register_tap_listener_gtkfunnel(void); +void register_tap_listener_funnel(void); struct _funnel_text_window_t { gchar *title; @@ -196,7 +196,7 @@ void initialize_funnel_ops(void) { #endif void -register_tap_listener_gtkfunnel(void) +register_tap_listener_funnel(void) { #if 0 /* #if 0 at least since Revision Rev 17396 */ diff --git a/ui/cli/tap-httpstat.c b/ui/cli/tap-httpstat.c index 0d187fa301..9f59be9eef 100644 --- a/ui/cli/tap-httpstat.c +++ b/ui/cli/tap-httpstat.c @@ -32,7 +32,7 @@ #include <epan/stat_tap_ui.h> #include <epan/dissectors/packet-http.h> -void register_tap_listener_gtkhttpstat(void); +void register_tap_listener_httpstat(void); /* used to keep track of the statictics for an entire program interface */ typedef struct _http_stats_t { @@ -275,10 +275,10 @@ httpstat_draw(void *psp ) -/* When called, this function will create a new instance of gtk_httpstat. +/* When called, this function will create a new instance of httpstat. */ static void -gtk_httpstat_init(const char *opt_arg, void *userdata _U_) +httpstat_init(const char *opt_arg, void *userdata _U_) { httpstat_t *sp; const char *filter = NULL; @@ -324,14 +324,14 @@ static stat_tap_ui httpstat_ui = { REGISTER_STAT_GROUP_GENERIC, NULL, "http,stat,", - gtk_httpstat_init, + httpstat_init, -1, 0, NULL }; void -register_tap_listener_gtkhttpstat(void) +register_tap_listener_httpstat(void) { register_stat_tap_ui(&httpstat_ui, NULL); } diff --git a/ui/cli/tap-rtspstat.c b/ui/cli/tap-rtspstat.c index 988d7b4759..f548460049 100644 --- a/ui/cli/tap-rtspstat.c +++ b/ui/cli/tap-rtspstat.c @@ -36,7 +36,7 @@ #include "register.h" #include <epan/dissectors/packet-rtsp.h> -void register_tap_listener_gtkrtspstat(void); +void register_tap_listener_rtspstat(void); /* used to keep track of the statictics for an entire program interface */ typedef struct _rtsp_stats_t { @@ -228,10 +228,10 @@ rtspstat_draw(void *psp ) -/* When called, this function will create a new instance of gtk_rtspstat. +/* When called, this function will create a new instance of rtspstat. */ static void -gtk_rtspstat_init(const char *opt_arg, void *userdata _U_) +rtspstat_init(const char *opt_arg, void *userdata _U_) { rtspstat_t *sp; const char *filter = NULL; @@ -277,14 +277,14 @@ static stat_tap_ui rtspstat_ui = { REGISTER_STAT_GROUP_GENERIC, NULL, "rtsp,stat,", - gtk_rtspstat_init, + rtspstat_init, -1, 0, NULL }; void -register_tap_listener_gtkrtspstat(void) +register_tap_listener_rtspstat(void) { register_stat_tap_ui(&rtspstat_ui, NULL); } |