Pull the stuff to read and write the list of filter expressions up into
[metze/wireshark/wip.git] / filters.h
1 /* filters.c
2  * Declarations of routines for reading and writing the filters file.
3  *
4  * $Id: filters.h,v 1.1 2001/01/28 04:43:24 guy 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 /*
27  * List of filters.
28  */
29 extern GList       *fl;
30
31 /*
32  * Item in a list of filters.
33  */
34 typedef struct {
35   char *name;           /* filter name */
36   char *strval;         /* filter expression */
37 } filter_def;
38
39 void get_filter_list(void);
40
41 void save_filter_list(void);