summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-17 14:29:39 +0000
committerMartin Mares <mj@ucw.cz>1999-03-17 14:29:39 +0000
commite0f2e42f4f420f7bbdda3d4656c9dda585f1297a (patch)
treeb3db9ed1f4bd5af7bd05c509beb60aca3b6fda7a /conf
parentc612a3be310069b9fbbcfef931bb546d536a716f (diff)
A couple of filter tweaks:
o Introduced struct filter which serves as an external reference to filter. Using struct symbol for this is unwise since it doesn't allow extra information attached to the filter and it also forces all filters to be named. o Implemented config rule 'filter' which matches either named filter or an embedded unnamed filter (`{ <filter> }'). o Fixed totally bogus comment at the top of filter.h. o Added a missing prototype for f_run() to filter.h.
Diffstat (limited to 'conf')
-rw-r--r--conf/confbase.Y3
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/confbase.Y b/conf/confbase.Y
index f498412a..7b5caf5f 100644
--- a/conf/confbase.Y
+++ b/conf/confbase.Y
@@ -25,7 +25,8 @@ CF_DECLS
ip_addr a;
struct symbol *s;
char *t;
- struct f_inst *x;
+ struct f_inst *x;
+ struct filter *f;
}
%token END