diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-06-11 18:34:33 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-06-11 18:34:33 +0400 |
commit | 7cd13c464ff3e025a0ce70302dede40a1b2d3f29 (patch) | |
tree | 06d94746e6e6c962ff77eeddc977d7a433a9a3f3 /main.h | |
parent | 25395e554edc13f457e48d5fdf69095b3dbe5e17 (diff) | |
download | rspamd-7cd13c464ff3e025a0ce70302dede40a1b2d3f29.tar.gz rspamd-7cd13c464ff3e025a0ce70302dede40a1b2d3f29.zip |
* Add initial version of URLs parser (still need to make PCRE parse all pattern matches)
* Link with PCRE
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -18,6 +18,7 @@ #include <event.h> #include "fstring.h" +#include "url.h" /* Default values */ #define FIXED_CONFIG_FILE "./rspamd.conf" @@ -75,6 +76,10 @@ struct worker_task { size_t content_length; f_str_buf_t *msg; struct bufferevent *bev; + /* Number of mime parts */ + int parts_count; + /* URLs extracted from message */ + TAILQ_HEAD (uriq, uri) urls; }; void start_worker (struct rspamd_worker *worker, int listen_sock); |