2010-05-27 15:51:25 +00:00
|
|
|
/* proto_help.h
|
|
|
|
* Routines for dynamic protocol help menus
|
|
|
|
*
|
2010-05-28 01:37:32 +00:00
|
|
|
* $Id$
|
2010-05-27 15:51:25 +00:00
|
|
|
*
|
|
|
|
* Edgar Gladkich <edgar.gladkich@incacon.de>
|
|
|
|
* Gerald Combs <gerald@wireshark.org>
|
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2010-05-27 19:54:02 +00:00
|
|
|
#ifndef __PROTO_HELP_H__
|
|
|
|
#define __PROTO_HELP_H__
|
|
|
|
|
2010-05-27 15:51:25 +00:00
|
|
|
/** Search for and read configuration files
|
2010-05-27 19:54:02 +00:00
|
|
|
*
|
2010-05-27 15:51:25 +00:00
|
|
|
*/
|
|
|
|
extern void proto_help_init(void);
|
|
|
|
|
|
|
|
/** Initialize the menu
|
2010-05-27 19:54:02 +00:00
|
|
|
*
|
2010-05-27 15:51:25 +00:00
|
|
|
* @param widget Context menu root
|
|
|
|
* @return void
|
|
|
|
*/
|
2010-08-26 15:02:27 +00:00
|
|
|
extern void proto_help_menu_init(GtkWidget *widget);
|
2010-05-27 15:51:25 +00:00
|
|
|
|
|
|
|
/** Fill in the protocol help menu
|
2010-05-27 19:54:02 +00:00
|
|
|
*
|
2010-05-27 15:51:25 +00:00
|
|
|
* @param selection Currently-selected packet
|
2010-08-26 15:02:27 +00:00
|
|
|
* @param cfile Capture file
|
2010-05-27 15:51:25 +00:00
|
|
|
* @return void
|
|
|
|
*/
|
2010-08-26 15:02:27 +00:00
|
|
|
extern void proto_help_menu_modify(GtkTreeSelection* selection, capture_file *cfile);
|
2010-05-27 19:54:02 +00:00
|
|
|
|
|
|
|
#endif /* __PROTO_HELP_H__ */
|