42dad2ffa1
* src/matcher_parser.h * src/matcher_parser_lex.l * src/matcher_parser_parse.y cleanup
39 lines
1.3 KiB
C
39 lines
1.3 KiB
C
/*
|
|
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
|
|
* Copyright (c) 2001-2002 by Hiroyuki Yamamoto & The Sylpheed Claws Team.
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef MATCHER_PARSER_H
|
|
#define MATCHER_PARSER_H
|
|
|
|
#include "filtering.h"
|
|
#include "scoring.h"
|
|
#include <glib.h>
|
|
|
|
extern FILE *matcher_parserin;
|
|
extern int matcher_parserlineno;
|
|
|
|
|
|
void matcher_parser_start_parsing (FILE *f);
|
|
int matcher_parserparse (void);
|
|
|
|
MatcherList *matcher_parser_get_cond (gchar *str);
|
|
MatcherProp *matcher_parser_get_prop (gchar *str);
|
|
FilteringProp *matcher_parser_get_filtering (gchar *str);
|
|
ScoringProp *matcher_parser_get_scoring (gchar *str);
|
|
|
|
#endif
|