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>
This commit is contained in:
parent
4d3c4c4f12
commit
c3582a6945
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue