diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:36:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 17:36:47 +0000 |
commit | 0441d265f2bb9da249c7abf333f0f771fadb4ab5 (patch) | |
tree | 3f3789daa2f6db22da6e55e92bee0062a7d613fe /src/submission-login/client-authenticate.h | |
parent | Initial commit. (diff) | |
download | dovecot-0441d265f2bb9da249c7abf333f0f771fadb4ab5.tar.xz dovecot-0441d265f2bb9da249c7abf333f0f771fadb4ab5.zip |
Adding upstream version 1:2.3.21+dfsg1.upstream/1%2.3.21+dfsg1
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 |