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/submission-login/client-authenticate.h | |
parent | Initial commit. (diff) | |
download | dovecot-upstream.tar.xz dovecot-upstream.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/submission-login/client-authenticate.h')
-rw-r--r-- | src/submission-login/client-authenticate.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/submission-login/client-authenticate.h b/src/submission-login/client-authenticate.h new file mode 100644 index 0000000..8353b49 --- /dev/null +++ b/src/submission-login/client-authenticate.h @@ -0,0 +1,21 @@ +#ifndef CLIENT_AUTHENTICATE_H +#define CLIENT_AUTHENTICATE_H + +void submission_client_auth_result(struct client *client, + enum client_auth_result result, + const struct client_auth_reply *reply, + const char *text); + +void submission_client_auth_send_challenge(struct client *client, + const char *data); + +int cmd_helo(void *conn_ctx, struct smtp_server_cmd_ctx *cmd, + struct smtp_server_cmd_helo *data); +int cmd_auth_continue(void *conn_ctx, struct smtp_server_cmd_ctx *cmd, + const char *response); +int cmd_auth(void *conn_ctx, struct smtp_server_cmd_ctx *cmd, + struct smtp_server_cmd_auth *data); + +void cmd_mail(struct smtp_server_cmd_ctx *cmd, const char *params); + +#endif |