diff options
author | Stef Walter <stef@thewalter.net> | 2010-11-02 17:00:16 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2011-01-23 15:47:45 -0600 |
commit | 57751190780ee8974075a5d16e7bacd6991eebba (patch) | |
tree | 98f50a5081158ccb0658efe26c9caad7a024d4db /common/smtppass.h | |
parent | fcec3bb91a0cb961054b9475c92929c3dae149e7 (diff) |
Refactor how data skip is done.
Diffstat (limited to 'common/smtppass.h')
-rw-r--r-- | common/smtppass.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/smtppass.h b/common/smtppass.h index 7f1892e..a54c9b0 100644 --- a/common/smtppass.h +++ b/common/smtppass.h @@ -232,6 +232,13 @@ int sp_done_data(spctx_t* ctx, const char *header); int sp_fail_data(spctx_t* ctx, const char* smtp_status); /* + * Helper method to pass through the entire DATA part of + * the email to the server. No processing is done, and no + * other sp_xxxx_data() calls are necessary. + */ +int sp_pass_data(spctx_t* ctx); + +/* * Setup the environment with context info. This is useful * if you're going to fork another process. Be sure to exec * soon after to prevent the strings from going out of scope. |