aboutsummaryrefslogtreecommitdiffstats
path: root/src/client/rspamdclient.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-07-23 12:45:28 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-07-23 12:45:28 +0100
commite0483657ff6cf1adc828ccce457814d61fe90a0d (patch)
tree5183e4163f40b81b3e7d5f51488d360883782154 /src/client/rspamdclient.h
parent7962087e808fb824aa3af6d41d02abc92916ba1e (diff)
downloadrspamd-e0483657ff6cf1adc828ccce457814d61fe90a0d.tar.gz
rspamd-e0483657ff6cf1adc828ccce457814d61fe90a0d.zip
Unify code style.
Diffstat (limited to 'src/client/rspamdclient.h')
-rw-r--r--src/client/rspamdclient.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/client/rspamdclient.h b/src/client/rspamdclient.h
index 85b57c376..6a41c35c1 100644
--- a/src/client/rspamdclient.h
+++ b/src/client/rspamdclient.h
@@ -39,12 +39,12 @@ struct rspamd_http_message;
* @param err error pointer
*/
typedef void (*rspamd_client_callback) (
- struct rspamd_client_connection *conn,
- struct rspamd_http_message *msg,
- const gchar *name,
- ucl_object_t *result,
- gpointer ud,
- GError *err);
+ struct rspamd_client_connection *conn,
+ struct rspamd_http_message *msg,
+ const gchar *name,
+ ucl_object_t *result,
+ gpointer ud,
+ GError *err);
/**
* Start rspamd worker or controller command
@@ -54,11 +54,11 @@ typedef void (*rspamd_client_callback) (
* @param timeout timeout in seconds
* @return
*/
-struct rspamd_client_connection* rspamd_client_init (
- struct event_base *ev_base,
- const gchar *name,
- guint16 port,
- gdouble timeout);
+struct rspamd_client_connection * rspamd_client_init (
+ struct event_base *ev_base,
+ const gchar *name,
+ guint16 port,
+ gdouble timeout);
/**
*
@@ -71,13 +71,13 @@ struct rspamd_client_connection* rspamd_client_init (
* @return
*/
gboolean rspamd_client_command (
- struct rspamd_client_connection *conn,
- const gchar *command,
- GHashTable *attrs,
- FILE *in,
- rspamd_client_callback cb,
- gpointer ud,
- GError **err);
+ struct rspamd_client_connection *conn,
+ const gchar *command,
+ GHashTable *attrs,
+ FILE *in,
+ rspamd_client_callback cb,
+ gpointer ud,
+ GError **err);
/**
* Destroy a connection to rspamd