path: root/file.c
diff options
authorGuy Harris <guy@alum.mit.edu>2005-08-21 09:48:27 +0000
committerGuy Harris <guy@alum.mit.edu>2005-08-21 09:48:27 +0000
commita0e68da9180d65493a42f892fc298eefc9b1d17d (patch)
treed7b146739aeaeeadc557498ee810da7b71f3d8b9 /file.c
parente88b3ccb323aa7df6f1c89ff56c28cdfb4b1265a (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 'file.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/file.c b/file.c
index 3ff97c96ec..4e73f429fb 100644
--- a/file.c
+++ b/file.c
@@ -73,6 +73,7 @@
#include <epan/conversation.h>
#include <epan/epan_dissect.h>
#include <epan/tap.h>
+#include "stat_menu.h"
#include "tap_dfilter_dlg.h"
#include <epan/dissectors/packet-data.h>