diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-12 15:20:50 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-12 15:20:50 +0000 |
commit | 67b932ad9786743dc032ff2adc3788c5aadd3933 (patch) | |
tree | 084872b519dc54beef83cbdade01af8bb639eafd /src/main.h | |
parent | d6b454eda97f6ffe8455ec83ab8da6293e7b9c07 (diff) | |
download | rspamd-67b932ad9786743dc032ff2adc3788c5aadd3933.tar.gz rspamd-67b932ad9786743dc032ff2adc3788c5aadd3933.zip |
Start moving to HTTP world.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index ab8146cc4..81cdfb9f1 100644 --- a/src/main.h +++ b/src/main.h @@ -20,6 +20,7 @@ #include "util.h" #include "logger.h" #include "roll_history.h" +#include "http.h" /* Default values */ #define FIXED_CONFIG_FILE RSPAMD_CONFDIR "/rspamd.conf" @@ -222,8 +223,9 @@ struct worker_task { gchar *subject; /**< subject (for non-mime) */ gchar *hostname; /**< hostname reported by MTA */ gchar *statfile; /**< statfile for learning */ - f_str_t *msg; /**< message buffer */ + GString *msg; /**< message buffer */ rspamd_io_dispatcher_t *dispatcher; /**< IO dispatcher object */ + struct rspamd_http_connection *http_conn; /**< HTTP server connection */ struct rspamd_async_session* s; /**< async session object */ gint parts_count; /**< mime parts count */ GMimeMessage *message; /**< message, parsed with GMime */ |