diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-31 17:35:35 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-31 17:35:35 +0400 |
commit | a93dd7892f8ecf0a72a242d2d203575001ef635e (patch) | |
tree | 43aaac84ff4f7059f2c89b425f47e341b6c3211e /src/main.h | |
parent | 37d6c7f23fd44283d1853141d39ecc3f3a2c54e6 (diff) | |
download | rspamd-a93dd7892f8ecf0a72a242d2d203575001ef635e.tar.gz rspamd-a93dd7892f8ecf0a72a242d2d203575001ef635e.zip |
* Preload statfiles at the early beginning in the main process
* Add JSON output for rspamd worker
* Add HTTP protocol support for rspamd worker
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index aac10529e..78b3af14b 100644 --- a/src/main.h +++ b/src/main.h @@ -179,6 +179,8 @@ struct worker_task { struct custom_command *custom_cmd; /**< custom command if any */ gint sock; /**< socket descriptor */ gboolean is_mime; /**< if this task is mime task */ + gboolean is_json; /**< output is JSON */ + gboolean is_http; /**< output is HTTP */ gboolean is_skipped; /**< whether message was skipped by configuration */ gchar *helo; /**< helo header value */ gchar *from; /**< from header value */ |