]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: smtp-server.h - Move server functions to a single place.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Mon, 11 Feb 2019 23:04:42 +0000 (00:04 +0100)
committerStephan Bosch <stephan.bosch@dovecot.fi>
Sat, 2 Mar 2019 10:57:17 +0000 (11:57 +0100)
Corrects position of smtp_server_switch_ioloop() in the header file.

src/lib-smtp/smtp-server.h

index 754c8b020aa7d13f8ff3dc3587a4b6f35c785f07..152508d801f10afecfabb47e92ac97dc481d9248 100644 (file)
@@ -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 *