From Harald Welte:
[obnox/wireshark/wip.git] / tap-funnel.c
index 558ad2e66075749a73c745af2d7845ce2e145180..9fcd10ed33e27d9b64855601f95f1c824b7432d0 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,10 +96,23 @@ static const funnel_ops_t funnel_ops = {
     text_window_get_text,
     NULL,
     NULL,
+    NULL,
+    NULL,
     /*...,*/
     NULL,
     funnel_logger,
-       NULL
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL,
+    NULL
 };
 
 
@@ -124,7 +163,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_) {
@@ -150,6 +189,7 @@ void
 register_tap_listener_gtkfunnel(void)
 {
 #if 0
+       /* #if 0 at least since Revision Rev 17396 */
     funnel_register_all_menus(register_menu_cb);
 #endif
 }