diff options
author | cebka@mailsupport.rambler.ru <cebka@mailsupport.rambler.ru> | 2008-09-24 03:40:51 +0400 |
---|---|---|
committer | cebka@mailsupport.rambler.ru <cebka@mailsupport.rambler.ru> | 2008-09-24 03:40:51 +0400 |
commit | 2709f4466638bdaf575aaa2e6f3a75600abed1e7 (patch) | |
tree | 36e369b16ad31a0985ec5fba3eb6198c9f9cccc9 /main.h | |
parent | 0c1b3da90d7528e773e520d657a0e9d2318da577 (diff) | |
download | rspamd-2709f4466638bdaf575aaa2e6f3a75600abed1e7.tar.gz rspamd-2709f4466638bdaf575aaa2e6f3a75600abed1e7.zip |
* Add filter processing function which implements new filter's logic
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -48,6 +48,14 @@ enum process_type { TYPE_WORKER, }; +/* Filter type */ +enum script_type { + SCRIPT_HEADER, + SCRIPT_MIME, + SCRIPT_URL, + SCRIPT_MESSAGE, +}; + /* Worker process structure */ struct rspamd_worker { pid_t pid; @@ -83,7 +91,7 @@ struct mime_part { struct save_point { void *entry; - void *chain; + enum script_type type; unsigned int saved; }; |