diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:51:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 09:51:24 +0000 |
commit | f7548d6d28c313cf80e6f3ef89aed16a19815df1 (patch) | |
tree | a3f6f2a3f247293bee59ecd28e8cd8ceb6ca064a /src/lmtp/lmtp-local.h | |
parent | Initial commit. (diff) | |
download | dovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.tar.xz dovecot-f7548d6d28c313cf80e6f3ef89aed16a19815df1.zip |
Adding upstream version 1:2.3.19.1+dfsg1.upstream/1%2.3.19.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/lmtp/lmtp-local.h')
-rw-r--r-- | src/lmtp/lmtp-local.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/lmtp/lmtp-local.h b/src/lmtp/lmtp-local.h new file mode 100644 index 0000000..8ef942f --- /dev/null +++ b/src/lmtp/lmtp-local.h @@ -0,0 +1,34 @@ +#ifndef LMTP_LOCAL_H +#define LMTP_LOCAL_H + +#include "net.h" + +struct mail_deliver_session; +struct smtp_server_cmd_ctx; +struct smtp_server_cmd_rcpt; +struct lmtp_local; +struct client; + +void lmtp_local_deinit(struct lmtp_local **_local); + +int lmtp_local_rcpt(struct client *client, + struct smtp_server_cmd_ctx *cmd, + struct lmtp_recipient *lrcpt, const char *username, + const char *detail); + +void lmtp_local_add_headers(struct lmtp_local *local, + struct smtp_server_transaction *trans, + string_t *headers); + +int lmtp_local_default_deliver(struct client *client, + struct lmtp_recipient *lrcpt, + struct smtp_server_cmd_ctx *cmd, + struct smtp_server_transaction *trans, + struct lmtp_local_deliver_context *lldctx); + +void lmtp_local_data(struct client *client, + struct smtp_server_cmd_ctx *cmd, + struct smtp_server_transaction *trans, + struct istream *input); + +#endif |