summaryrefslogtreecommitdiffstats
path: root/filter/filter.h
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>1999-03-02 20:49:28 +0100
committerPavel Machek <pavel@ucw.cz>1999-03-02 20:49:28 +0100
commit84c7e1943f0dbf896b1dd8d02a21120aa00463f4 (patch)
tree9fa531c365d7cec8377e2bedd06d112d01efa47c /filter/filter.h
parent05a845ed8e623c51025058037d0ca25db712ae68 (diff)
downloadbird-84c7e1943f0dbf896b1dd8d02a21120aa00463f4.tar
bird-84c7e1943f0dbf896b1dd8d02a21120aa00463f4.zip
Add interface for running filters (please comment!), avoid bison warnings
Diffstat (limited to 'filter/filter.h')
-rw-r--r--filter/filter.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/filter/filter.h b/filter/filter.h
index 09cd7a2..aed2647 100644
--- a/filter/filter.h
+++ b/filter/filter.h
@@ -14,10 +14,16 @@
/* Lexer */
struct f_instruction {
+ struct f_instruction *next; /* Structure is 16 bytes, anyway */
int code;
void *arg1, *arg2;
};
void filters_postconfig(void);
+struct f_instruction *f_new_inst(void);
+
+#define F_ACCEPT 1
+#define F_REJECT 2
+#define F_MODIFY 3
#endif