summaryrefslogtreecommitdiffstats
path: root/src/smtp.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-07-23 12:53:08 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-07-23 12:53:08 +0100
commitfe79d8c5a39f2b717f78cc3f3ef21b3cfc46500b (patch)
treec84e6a5d4c5cd78a7a2cc3c7adbc7af5d0541682 /src/smtp.h
parente0483657ff6cf1adc828ccce457814d61fe90a0d (diff)
downloadrspamd-fe79d8c5a39f2b717f78cc3f3ef21b3cfc46500b.tar.gz
rspamd-fe79d8c5a39f2b717f78cc3f3ef21b3cfc46500b.zip
Revert "Unify code style."
This reverts commit e0483657ff6cf1adc828ccce457814d61fe90a0d.
Diffstat (limited to 'src/smtp.h')
-rw-r--r--src/smtp.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/smtp.h b/src/smtp.h
index fac886620..482f5243d 100644
--- a/src/smtp.h
+++ b/src/smtp.h
@@ -3,8 +3,8 @@
#include "config.h"
#include "main.h"
-#include "smtp_utils.h"
#include "upstream.h"
+#include "smtp_utils.h"
struct rspamd_dns_resolver;
@@ -23,7 +23,7 @@ struct smtp_worker_ctx {
struct smtp_upstream upstreams[MAX_SMTP_UPSTREAMS];
gsize upstream_num;
gchar *upstreams_str;
-
+
rspamd_mempool_t *pool;
gchar *smtp_banner;
gchar *smtp_banner_str;
@@ -90,7 +90,7 @@ struct smtp_session {
GList *cur_rcpt;
guint errors;
-
+
struct rspamd_async_session *s;
rspamd_io_dispatcher_t *dispatcher;
rspamd_io_dispatcher_t *upstream_dispatcher;
@@ -105,8 +105,7 @@ struct smtp_session {
struct event_base *ev_base;
};
-typedef gboolean (*smtp_filter_t)(struct smtp_session *session,
- gpointer filter_data);
+typedef gboolean (*smtp_filter_t)(struct smtp_session *session, gpointer filter_data);
struct smtp_filter {
smtp_filter_t filter;
@@ -117,9 +116,6 @@ struct smtp_filter {
* Register new SMTP filter
* XXX: work is still in progress
*/
-void register_smtp_filter (struct smtp_worker_ctx *ctx,
- enum rspamd_smtp_stage stage,
- smtp_filter_t filter,
- gpointer filter_data);
+void register_smtp_filter (struct smtp_worker_ctx *ctx, enum rspamd_smtp_stage stage, smtp_filter_t filter, gpointer filter_data);
#endif