Un-comment "AC_CONFIG_SUBDIRS()", so that it'll run "configure" in the
[obnox/wireshark/wip.git] / prefs.h
1 /* prefs.h
2  * Definitions for preference handling routines
3  *
4  * $Id: prefs.h,v 1.4 1998/10/28 21:38:10 gerald Exp $
5  *
6  * Ethereal - Network traffic analyzer
7  * By Gerald Combs <gerald@zing.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * 
11  * This program is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU General Public License
13  * as published by the Free Software Foundation; either version 2
14  * of the License, or (at your option) any later version.
15  * 
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  * 
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
24  */
25
26 #ifndef __PREFS_H__
27 #define __PREFS_H__
28
29 #define PR_FMT_TEXT 0
30 #define PR_FMT_PS   1
31
32 #define PR_DEST_CMD  0
33 #define PR_DEST_FILE 1
34
35 typedef struct _e_prefs {
36   gint   pr_format;
37   gint   pr_dest;
38   gchar *pr_file;
39   gchar *pr_cmd;
40 } e_prefs;
41
42 #define E_PR_PG_NONE     -1
43 #define E_PR_PG_PRINTING  0
44 #define E_PR_PG_FILTER    1
45
46 #define E_PRINT_PAGE_KEY  "printer_options_page"
47 #define E_FILTER_PAGE_KEY "filter_options_page"
48
49 #define E_FILT_TE_PTR_KEY "filter_te_ptr"
50
51 void prefs_cb(GtkWidget *, gpointer);
52 void read_prefs();
53
54 #endif /* prefs.h */