summaryrefslogtreecommitdiffstats
path: root/pigeonhole/src/managesieve-login/client-authenticate.h
blob: 1280ad50c029380ea530bd8645e691da758c70e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef CLIENT_AUTHENTICATE_H
#define CLIENT_AUTHENTICATE_H

struct managesieve_arg;

const char *client_authenticate_get_capabilities
	(struct client *client);

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

void managesieve_client_auth_send_challenge
	(struct client *client, const char *data);
void managesieve_client_auth_parse_response
	(struct client *client);

int cmd_authenticate
	(struct managesieve_client *client, const struct managesieve_arg *args);

#endif