diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-07-23 12:57:31 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-07-23 12:57:31 +0100 |
commit | 379055dbbb4af997b4d3ffb161d447872d7ca357 (patch) | |
tree | 3774553d470f93e12ddeb454aad9b3b607cf8918 /src/smtp.h | |
parent | 602ae7a0b7e215ba2677131b8fdc70abc156b3ca (diff) | |
download | rspamd-379055dbbb4af997b4d3ffb161d447872d7ca357.tar.gz rspamd-379055dbbb4af997b4d3ffb161d447872d7ca357.zip |
Unify style without sorting headers.
Diffstat (limited to 'src/smtp.h')
-rw-r--r-- | src/smtp.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/smtp.h b/src/smtp.h index 482f5243d..4f549dda1 100644 --- a/src/smtp.h +++ b/src/smtp.h @@ -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,7 +105,8 @@ 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; @@ -116,6 +117,9 @@ 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 |