From 84c7e1943f0dbf896b1dd8d02a21120aa00463f4 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Tue, 2 Mar 1999 19:49:28 +0000 Subject: Add interface for running filters (please comment!), avoid bison warnings --- filter/filter.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'filter/filter.h') 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 -- cgit v1.2.3