From 2e7726b3ffd6ec3d87742219ad944645ebc24edb Mon Sep 17 00:00:00 2001 From: Luis Ontanon Date: Wed, 27 Sep 2006 17:12:42 +0000 Subject: * rename REGISTER_STAT_GROUP_E -> register_stat_group_t * Add a "Tools" menu * allow wslua's register_menu to register menu items into more menus svn path=/trunk/; revision=19338 --- tap-funnel.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'tap-funnel.c') diff --git a/tap-funnel.c b/tap-funnel.c index 490a558a22..10711afc0c 100644 --- a/tap-funnel.c +++ b/tap-funnel.c @@ -1,6 +1,29 @@ /* * 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. */ @@ -126,7 +149,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_) { -- cgit v1.2.3