Mercurial > noffle
comparison src/filter.h @ 194:a4e9a20e50e5 noffle
[svn] * docs/noffle.conf.5,src/configfile.c,src/filter.h,src/filter.c:
Contrary to the documentation, the action of a filter if not specified
was 'full'. Add a new 'default' action which makes the action that of the
group's subscription mode. Make this the default action, and allow
'default' to be specified explicitly as the action in the filter
definition. Adapted from patch submitted by Mirko Liss. Thanks, Mirko.
* docs/noffle.conf.5: Correct small typo.
author | bears |
---|---|
date | Tue, 30 Oct 2001 12:42:13 +0000 |
parents | 8897b7e3b108 |
children | 21200ce10e68 |
comparison
equal
deleted
inserted
replaced
193:021d145e34e9 | 194:a4e9a20e50e5 |
---|---|
1 /* | 1 /* |
2 filter.h | 2 filter.h |
3 | 3 |
4 Article filtering. | 4 Article filtering. |
5 | 5 |
6 $Id: filter.h 189 2000-08-09 21:19:17Z bears $ | 6 $Id: filter.h 313 2001-10-30 12:42:13Z bears $ |
7 */ | 7 */ |
8 | 8 |
9 #ifndef FILTER_H | 9 #ifndef FILTER_H |
10 #define FILTER_H | 10 #define FILTER_H |
11 | 11 |
17 /* The possible actions in a filter. */ | 17 /* The possible actions in a filter. */ |
18 typedef enum { | 18 typedef enum { |
19 FILTER_FULL, | 19 FILTER_FULL, |
20 FILTER_XOVER, | 20 FILTER_XOVER, |
21 FILTER_THREAD, | 21 FILTER_THREAD, |
22 FILTER_DISCARD | 22 FILTER_DISCARD, |
23 FILTER_DEFAULT | |
23 } FilterAction; | 24 } FilterAction; |
24 | 25 |
25 /* Representation of a rule. */ | 26 /* Representation of a rule. */ |
26 typedef enum { | 27 typedef enum { |
27 RULE_NEWSGROUP, /* Wildmat data */ | 28 RULE_NEWSGROUP, /* Wildmat data */ |