From: Stephan Bosch Date: Mon, 11 Feb 2019 23:04:42 +0000 (+0100) Subject: lib-smtp: smtp-server.h - Move server functions to a single place. X-Git-Tag: 2.3.9~703 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=870b3f9d4536329ff82299d18bbce4b9bf09d581;p=thirdparty%2Fdovecot%2Fcore.git lib-smtp: smtp-server.h - Move server functions to a single place. Corrects position of smtp_server_switch_ioloop() in the header file. --- diff --git a/src/lib-smtp/smtp-server.h b/src/lib-smtp/smtp-server.h index 754c8b020a..152508d801 100644 --- a/src/lib-smtp/smtp-server.h +++ b/src/lib-smtp/smtp-server.h @@ -354,9 +354,15 @@ struct smtp_server_stats { uoff_t input, output; }; +/* + * Server + */ + struct smtp_server *smtp_server_init(const struct smtp_server_settings *set); void smtp_server_deinit(struct smtp_server **_server); +void smtp_server_switch_ioloop(struct smtp_server *server); + /* * Connection */ @@ -644,8 +650,6 @@ void smtp_server_reply_early(struct smtp_server_cmd_ctx *_cmd, /* Reply the command with a 221 bye message */ void smtp_server_reply_quit(struct smtp_server_cmd_ctx *_cmd); -void smtp_server_switch_ioloop(struct smtp_server *server); - /* EHLO */ struct smtp_server_reply *