aboutsummaryrefslogtreecommitdiffstats
path: root/ui/cli/tap-httpstat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-11-14 10:55:50 -0800
committerGuy Harris <guy@alum.mit.edu>2014-11-14 18:56:12 +0000
commitc3582a69450db307a973585857791ca814e19a50 (patch)
tree526e8a6d82e3029ef0b9f77d1587009d6f38d639 /ui/cli/tap-httpstat.c
parent4d3c4c4f12726404549e5c8a99439b5a371da282 (diff)
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>
Diffstat (limited to 'ui/cli/tap-httpstat.c')
-rw-r--r--ui/cli/tap-httpstat.c10
1 files changed, 5 insertions, 5 deletions
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);
}