aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/rspamdclient.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-15 21:40:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-15 21:40:51 +0000
commit57d1fc752a122e2fa3a89ec3d01e1c7a555de2fa (patch)
treef4643b346b2e9ef7569f6554059891219b6e6a48 /src/client/rspamdclient.h
parent61ba512c5d8b5cce43a8d78630cfe5ee9c0768b0 (diff)
downloadrspamd-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.h7
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,