diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-15 21:40:51 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-11-15 21:40:51 +0000 |
commit | 57d1fc752a122e2fa3a89ec3d01e1c7a555de2fa (patch) | |
tree | f4643b346b2e9ef7569f6554059891219b6e6a48 /src/client/rspamdclient.h | |
parent | 61ba512c5d8b5cce43a8d78630cfe5ee9c0768b0 (diff) | |
download | rspamd-57d1fc752a122e2fa3a89ec3d01e1c7a555de2fa.tar.gz rspamd-57d1fc752a122e2fa3a89ec3d01e1c7a555de2fa.zip |
Allow multiple headers with the same name
Diffstat (limited to 'src/client/rspamdclient.h')
-rw-r--r-- | src/client/rspamdclient.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/rspamdclient.h b/src/client/rspamdclient.h index 85b51514b..570d37cc9 100644 --- a/src/client/rspamdclient.h +++ b/src/client/rspamdclient.h @@ -31,6 +31,11 @@ struct rspamd_client_connection; struct rspamd_http_message; +struct rspamd_http_client_header { + const gchar *name; + const gchar *value; +}; + /** * Callback is called on client connection completed * @param name name of server @@ -76,7 +81,7 @@ struct rspamd_client_connection * rspamd_client_init ( gboolean rspamd_client_command ( struct rspamd_client_connection *conn, const gchar *command, - GHashTable *attrs, + GQueue *attrs, FILE *in, rspamd_client_callback cb, gpointer ud, |