return cmd->replies_expected;
}
-void smtp_server_command_ready_to_reply(struct smtp_server_command *cmd)
-{
- cmd->state = SMTP_SERVER_COMMAND_STATE_READY_TO_REPLY;
- e_debug(cmd->context.event, "Ready to reply");
- smtp_server_connection_trigger_output(cmd->context.conn);
-}
-
bool smtp_server_command_next_to_reply(struct smtp_server_command **_cmd)
{
struct smtp_server_command *cmd = *_cmd;
_cmd, SMTP_SERVER_COMMAND_HOOK_NEXT, TRUE);
}
+void smtp_server_command_ready_to_reply(struct smtp_server_command *cmd)
+{
+ cmd->state = SMTP_SERVER_COMMAND_STATE_READY_TO_REPLY;
+ e_debug(cmd->context.event, "Ready to reply");
+ smtp_server_connection_trigger_output(cmd->context.conn);
+}
+
static bool
smtp_server_command_replied(struct smtp_server_command **_cmd)
{