summaryrefslogtreecommitdiff
path: root/common/smtppass.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/smtppass.h')
-rw-r--r--common/smtppass.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/smtppass.h b/common/smtppass.h
index 0fbe458..7f1892e 100644
--- a/common/smtppass.h
+++ b/common/smtppass.h
@@ -191,6 +191,12 @@ int sp_parse_option(const char* name, const char* option);
void sp_add_log(spctx_t* ctx, char* prefix, char* line);
/*
+ * Tells client to start sending data. Sends appropriate
+ * response code.
+ */
+int sp_start_data(spctx_t* ctx);
+
+/*
* Reads a line of DATA from client. Or less than a line if
* line is longer than LINE_LENGTH. No trimming or anything
* is done on the read line. This will end automatically