1999-09-10 07:19:51 +00:00
|
|
|
/* globals.h
|
|
|
|
* Global defines, etc.
|
|
|
|
*
|
2001-05-01 00:18:48 +00:00
|
|
|
* $Id: globals.h,v 1.25 2001/05/01 00:18:46 guy Exp $
|
1999-09-10 07:19:51 +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-09-01 03:04:24 +00:00
|
|
|
#ifndef __GLOBALS_H__
|
|
|
|
#define __GLOBALS_H__
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "file.h"
|
|
|
|
#include "timestamp.h"
|
|
|
|
|
1999-09-10 07:19:51 +00:00
|
|
|
#define MIN_PACKET_SIZE 68 /* minimum amount of packet data we can read */
|
|
|
|
|
2000-06-27 04:36:03 +00:00
|
|
|
extern capture_file cfile;
|
1999-09-01 03:04:24 +00:00
|
|
|
extern guint main_ctx, file_ctx;
|
|
|
|
extern gchar *ethereal_path;
|
|
|
|
extern gchar *last_open_dir;
|
1999-11-19 22:32:00 +00:00
|
|
|
extern field_info *finfo_selected;
|
1999-09-01 03:04:24 +00:00
|
|
|
|
|
|
|
extern ts_type timestamp_type;
|
|
|
|
|
|
|
|
#endif
|