X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=tap-funnel.c;h=9fcd10ed33e27d9b64855601f95f1c824b7432d0;hb=7e3e26665b938adf9d5de03715e29ddbda89edf2;hp=558ad2e66075749a73c745af2d7845ce2e145180;hpb=c7bcd2f163a630f36cc074664e6db7b25520093c;p=obnox%2Fwireshark%2Fwip.git diff --git a/tap-funnel.c b/tap-funnel.c index 558ad2e660..9fcd10ed33 100644 --- a/tap-funnel.c +++ b/tap-funnel.c @@ -1,8 +1,34 @@ /* * tap-funnel.c - * + * + * EPAN's GUI mini-API + * + * (c) 2006, Luis E. Garcia Ontanon + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs + * 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 #include @@ -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 }