summaryrefslogtreecommitdiffstats
path: root/src/imap-login/client-authenticate.h
blob: 68e05efc24f209d1e83e081e94371f1f495632f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef CLIENT_AUTHENTICATE_H
#define CLIENT_AUTHENTICATE_H

struct imap_arg;

void client_authenticate_get_capabilities(struct client *client, string_t *str);

void imap_client_auth_result(struct client *client,
			     enum client_auth_result result,
			     const struct client_auth_reply *reply,
			     const char *text);

int cmd_login(struct imap_client *client, const struct imap_arg *args);
int cmd_authenticate(struct imap_client *imap_client, bool *parsed_r);

#endif