*
* $Id$
*
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
+#include <string.h>
#include <gtk/gtk.h>
-#include <string.h>
+
#include "epan/packet.h"
#include <epan/stat_cmd_args.h>
-#include "stat_menu.h"
#include <epan/tap.h>
-#include "../register.h"
-#include "hostlist_table.h"
#include <epan/dissectors/packet-ipx.h>
+#include "../stat_menu.h"
+#include "../register.h"
+
+#include "gtk/gui_stat_menu.h"
+#include "gtk/hostlist_table.h"
+
static int
ipx_hostlist_packet(void *pit, packet_info *pinfo, epan_dissect_t *edt _U_, const void *vip)
static void
-gtk_ipx_hostlist_init(const char *optarg)
+gtk_ipx_hostlist_init(const char *optarg, void* userdata _U_)
{
const char *filter=NULL;
filter=NULL;
}
- init_hostlist_table(TRUE, "IPX Hosts", "ipx", filter, ipx_hostlist_packet);
+ init_hostlist_table(TRUE, "IPX", "ipx", filter, ipx_hostlist_packet);
}
static void
gtk_ipx_hostlist_cb(GtkWidget *w _U_, gpointer d _U_)
{
- gtk_ipx_hostlist_init("hosts,ipx");
+ gtk_ipx_hostlist_init("hosts,ipx",NULL);
}
void
register_tap_listener_ipx_hostlist(void)
{
- register_stat_cmd_arg("hosts,ipx", gtk_ipx_hostlist_init);
+ register_stat_cmd_arg("hosts,ipx", gtk_ipx_hostlist_init,NULL);
register_stat_menu_item("IPX", REGISTER_STAT_GROUP_ENDPOINT_LIST,
gtk_ipx_hostlist_cb, NULL, NULL, NULL);