diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-19 17:44:57 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-19 17:44:57 +0300 |
commit | e1250bcf595973ff46cf7766590a1491eddfe60d (patch) | |
tree | ff5ee21edafb21cb434261c6a0f2d2f153850783 /src/main.h | |
parent | 5f4f8d47039fbc366c4d7e34e4870d7d374c2061 (diff) | |
download | rspamd-e1250bcf595973ff46cf7766590a1491eddfe60d.tar.gz rspamd-e1250bcf595973ff46cf7766590a1491eddfe60d.zip |
* Add functions support to rspamd regexps
* Parse expressions with state machine which allows different kinds of arguments in expressions
* Fix test to accord current data
* Add support of fucntions to regexp module
* Move all regexp logic to separate file, describe its API
* Fix descriptors leakage in surbl module
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main.h b/src/main.h index a13866657..28eb64297 100644 --- a/src/main.h +++ b/src/main.h @@ -56,17 +56,6 @@ enum script_type { SCRIPT_MESSAGE, }; -/** - * Logic expression - */ -struct expression { - enum { EXPR_OPERAND, EXPR_OPERATION } type; /**< expression type */ - union { - void *operand; - char operation; - } content; /**< union for storing operand or operation code */ - struct expression *next; /**< chain link */ -}; /** * Worker process structure |