From Dirk via bug #5771: Add heuristic dissector for images and HTTP
[obnox/wireshark/wip.git] / tap-funnel.c
index 96c9455daeef59f94a8befa0fb04c447d3d55ea5..1353e90469d79203caff4f1802784333df30ae39 100644 (file)
@@ -1,8 +1,34 @@
 /*
  *  tap-funnel.c
- *  
+ *
+ * EPAN's GUI mini-API
+ *
+ * (c) 2006, Luis E. Garcia Ontanon <luis@ontanon.org>
+ *
+ * $Id$
+ *
+ * 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
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 #include <epan/funnel.h>
 #include <stdio.h>
@@ -70,9 +96,22 @@ static const funnel_ops_t funnel_ops = {
     text_window_get_text,
     NULL,
     NULL,
+    NULL,
+    NULL,
     /*...,*/
     NULL,
-    funnel_logger
+    funnel_logger,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+       NULL,
+       NULL,
+    NULL,
+    NULL,
+    NULL
 };
 
 
@@ -123,7 +162,7 @@ static void  init_funnel_cmd(const char *optarg, void* data ) {
 }
 
 static void register_menu_cb(const char *name,
-                             REGISTER_STAT_GROUP_E group _U_,
+                             register_stat_group_t group _U_,
                              void (*callback)(gpointer),
                              gpointer callback_data,
                              gboolean retap _U_) {