diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-08-21 09:48:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-08-21 09:48:27 +0000 |
commit | a0e68da9180d65493a42f892fc298eefc9b1d17d (patch) | |
tree | d7b146739aeaeeadc557498ee810da7b71f3d8b9 /gtk/hostlist_tcpip.c | |
parent | e88b3ccb323aa7df6f1c89ff56c28cdfb4b1265a (diff) |
Add a "register_dfilter_stat()", to register stats that take a display
filter as an argument on the command line and have a dialog box to enter
the display filter through the GUI. Use it for all stats using
"gtk_tap_dfilter_dlg_cb()".
Add a top-level "stat_menu.h" file to declare "REGISTER_STAT_GROUP_E"
for the benefit of the declaration of "register_dfilter_stat()" in the
top-level "tap_dfilter_dlg.h". Rename the "stat_menu.h" in the gtk
directory to "gtk_stat_menu.h", so as not to have two headers with the
same name.
Get rid of headers not declaring any functions not being used in the
module.
svn path=/trunk/; revision=15493
Diffstat (limited to 'gtk/hostlist_tcpip.c')
-rw-r--r-- | gtk/hostlist_tcpip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/hostlist_tcpip.c b/gtk/hostlist_tcpip.c index 4daef99b9f..da0edb7054 100644 --- a/gtk/hostlist_tcpip.c +++ b/gtk/hostlist_tcpip.c @@ -34,7 +34,8 @@ #include <string.h> #include "epan/packet.h" #include <epan/stat_cmd_args.h> -#include "stat_menu.h" +#include "../stat_menu.h" +#include "gtk_stat_menu.h" #include <epan/tap.h> #include "../register.h" #include "hostlist_table.h" |