summaryrefslogtreecommitdiffstats
path: root/filter/filter.c
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-30 12:13:32 +0200
committerPavel Machek <pavel@ucw.cz>2000-05-30 12:13:32 +0200
commitfe613ecded2fca875a146e1c07713f131e85f7ff (patch)
treed237bf44cd73a721cee27426be09a6c46fc30237 /filter/filter.c
parentf7876c36602015dbf6d7aa3d73fda5ad1c2f6c5a (diff)
downloadbird-fe613ecded2fca875a146e1c07713f131e85f7ff.tar
bird-fe613ecded2fca875a146e1c07713f131e85f7ff.zip
Access to few more attributes is needed.
Diffstat (limited to 'filter/filter.c')
-rw-r--r--filter/filter.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/filter/filter.c b/filter/filter.c
index e300794..246fbf6 100644
--- a/filter/filter.c
+++ b/filter/filter.c
@@ -10,6 +10,13 @@
/**
* DOC: Filters
*
+ * You can find sources of filters language in filter/
+ * directory. filter/config.Y filter grammar, and basically translates
+ * source from user into tree of &f_inst structures. These trees are
+ * later interpreted using code in filter/filter.c. Filters internally
+ * work with values/variables in struct f_val, which contains type of
+ * value and value.
+ *
* Filter consists of tree of &f_inst structures, one structure per
* "instruction". Each &f_inst contains code, aux value which is
* usually type of data this instruction operates on, and two generic
@@ -23,8 +30,7 @@
* forced. Important thing about &f_val s is that they may be copied
* with simple =. That's fine for all currently defined types: strings
* are read-only (and therefore okay), paths are copied for each
- * operation (okay too).
- */
+ * operation (okay too). */
#undef LOCAL_DEBUG