diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-10 17:17:50 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-10 17:17:50 +0100 |
commit | 4afabcbbe22e95a3dfe5db4b31b3b978f73fa0db (patch) | |
tree | 4f53a7e19869261a0553f3f304dee39e685b5687 /src/libutil/http.h | |
parent | 9945da06ec7a59844306793e61a151ab8fa43a91 (diff) | |
download | rspamd-4afabcbbe22e95a3dfe5db4b31b3b978f73fa0db.tar.gz rspamd-4afabcbbe22e95a3dfe5db4b31b3b978f73fa0db.zip |
[Feature] Implement reading of messages to shared memory
Diffstat (limited to 'src/libutil/http.h')
-rw-r--r-- | src/libutil/http.h | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/src/libutil/http.h b/src/libutil/http.h index ab71f619b..1e4ffbbc0 100644 --- a/src/libutil/http.h +++ b/src/libutil/http.h @@ -166,11 +166,18 @@ gboolean rspamd_http_connection_is_encrypted (struct rspamd_http_connection *con * @param fd fd to read/write */ void rspamd_http_connection_read_message ( - struct rspamd_http_connection *conn, - gpointer ud, - gint fd, - struct timeval *timeout, - struct event_base *base); + struct rspamd_http_connection *conn, + gpointer ud, + gint fd, + struct timeval *timeout, + struct event_base *base); + +void rspamd_http_connection_read_message_shared ( + struct rspamd_http_connection *conn, + gpointer ud, + gint fd, + struct timeval *timeout, + struct event_base *base); /** * Send reply using initialised connection @@ -180,14 +187,14 @@ void rspamd_http_connection_read_message ( * @param fd fd to read/write */ void rspamd_http_connection_write_message ( - struct rspamd_http_connection *conn, - struct rspamd_http_message *msg, - const gchar *host, - const gchar *mime_type, - gpointer ud, - gint fd, - struct timeval *timeout, - struct event_base *base); + struct rspamd_http_connection *conn, + struct rspamd_http_message *msg, + const gchar *host, + const gchar *mime_type, + gpointer ud, + gint fd, + struct timeval *timeout, + struct event_base *base); /** * Free connection structure |