1998-09-16 02:39:15 +00:00
|
|
|
/* ethereal.h
|
|
|
|
* Global defines, etc.
|
|
|
|
*
|
2000-01-17 17:12:43 +00:00
|
|
|
* $Id: main.h,v 1.10 2000/01/17 17:12:43 oabad Exp $
|
1998-09-16 03:22:19 +00:00
|
|
|
*
|
1998-09-16 02:39:15 +00:00
|
|
|
* Ethereal - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@zing.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.
|
|
|
|
*/
|
|
|
|
|
1999-10-08 07:29:42 +00:00
|
|
|
#ifndef __MAIN_H__
|
|
|
|
#define __MAIN_H__
|
1998-09-16 02:39:15 +00:00
|
|
|
|
1999-09-09 03:32:03 +00:00
|
|
|
#ifdef HAVE_CONFIG_H
|
1998-09-16 02:39:15 +00:00
|
|
|
#include "config.h"
|
1999-09-09 03:32:03 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef __GLOBALS_H__
|
|
|
|
#include "globals.h"
|
|
|
|
#endif
|
1998-09-16 02:39:15 +00:00
|
|
|
|
1998-11-17 04:29:13 +00:00
|
|
|
#define RC_FILE PF_DIR "/gtkrc"
|
1998-09-16 02:39:15 +00:00
|
|
|
#define MONO_MEDIUM_FONT "-*-lucidatypewriter-medium-r-normal-*-*-120-*-*-*-*-iso8859-1"
|
|
|
|
#define MONO_BOLD_FONT "-*-lucidatypewriter-bold-r-normal-*-*-120-*-*-*-*-iso8859-1"
|
|
|
|
#define DEF_WIDTH 750
|
|
|
|
#define DEF_HEIGHT 550
|
1999-07-13 02:53:26 +00:00
|
|
|
#ifdef HAVE_LIBPCAP
|
1998-09-16 02:39:15 +00:00
|
|
|
#define DEF_READY_MESSAGE " Ready to load or capture"
|
1999-07-13 02:53:26 +00:00
|
|
|
#else
|
|
|
|
#define DEF_READY_MESSAGE " Ready to load file"
|
|
|
|
#endif
|
1998-09-16 02:39:15 +00:00
|
|
|
|
|
|
|
typedef struct _selection_info {
|
|
|
|
GtkWidget *tree;
|
|
|
|
GtkWidget *text;
|
|
|
|
} selection_info;
|
|
|
|
|
1998-12-29 04:05:38 +00:00
|
|
|
extern GtkStyle *item_style;
|
|
|
|
|
1998-10-16 01:18:35 +00:00
|
|
|
void about_ethereal( GtkWidget *, gpointer);
|
1998-09-17 03:12:28 +00:00
|
|
|
void blank_packetinfo();
|
|
|
|
void follow_stream_cb( GtkWidget *, gpointer);
|
1999-06-24 16:25:59 +00:00
|
|
|
void match_selected_cb( GtkWidget *, gpointer);
|
1998-09-16 02:39:15 +00:00
|
|
|
void file_open_cmd_cb(GtkWidget *, gpointer);
|
1999-04-06 16:24:50 +00:00
|
|
|
void file_save_cmd_cb(GtkWidget *, gpointer);
|
|
|
|
void file_save_as_cmd_cb(GtkWidget *, gpointer);
|
1998-09-16 02:39:15 +00:00
|
|
|
void file_close_cmd_cb(GtkWidget *, gpointer);
|
|
|
|
void file_quit_cmd_cb(GtkWidget *, gpointer);
|
1999-07-27 02:04:38 +00:00
|
|
|
void file_reload_cmd_cb(GtkWidget *, gpointer);
|
1998-09-16 02:39:15 +00:00
|
|
|
void file_print_cmd_cb(GtkWidget *, gpointer);
|
1999-07-23 15:04:05 +00:00
|
|
|
void file_print_packet_cmd_cb(GtkWidget *, gpointer);
|
1999-12-09 20:43:38 +00:00
|
|
|
void tools_plugins_cmd_cb(GtkWidget *, gpointer);
|
1999-09-11 12:38:18 +00:00
|
|
|
void expand_all_cb(GtkWidget *, gpointer);
|
|
|
|
void collapse_all_cb(GtkWidget *, gpointer);
|
1999-12-10 06:28:24 +00:00
|
|
|
void filter_dialog_cb(GtkWidget *);
|
1998-09-16 02:39:15 +00:00
|
|
|
|
1999-10-08 07:29:42 +00:00
|
|
|
#endif /* __MAIN_H__ */
|