annotate src/imap-login/client-authenticate.h @ 8926:415089905616 HEAD

imap-login: Use [resp-codes] to figure out when to replace remote's auth failed message with ours.
author Timo Sirainen <tss@iki.fi>
date Tue, 07 Apr 2009 16:38:47 -0400
parents e4eb71ae8e96
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6410
e4eb71ae8e96 Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents: 5835
diff changeset
1 #ifndef CLIENT_AUTHENTICATE_H
e4eb71ae8e96 Changed .h ifdef/defines to use <NAME>_H format.
Timo Sirainen <tss@iki.fi>
parents: 5835
diff changeset
2 #define CLIENT_AUTHENTICATE_H
1049
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
3
8926
415089905616 imap-login: Use [resp-codes] to figure out when to replace remote's auth failed message with ours.
Timo Sirainen <tss@iki.fi>
parents: 6410
diff changeset
4 struct imap_arg;
415089905616 imap-login: Use [resp-codes] to figure out when to replace remote's auth failed message with ours.
Timo Sirainen <tss@iki.fi>
parents: 6410
diff changeset
5
415089905616 imap-login: Use [resp-codes] to figure out when to replace remote's auth failed message with ours.
Timo Sirainen <tss@iki.fi>
parents: 6410
diff changeset
6 #define IMAP_AUTH_FAILED_MSG \
415089905616 imap-login: Use [resp-codes] to figure out when to replace remote's auth failed message with ours.
Timo Sirainen <tss@iki.fi>
parents: 6410
diff changeset
7 "["IMAP_RESP_CODE_AUTHFAILED"] "AUTH_FAILED_MSG
415089905616 imap-login: Use [resp-codes] to figure out when to replace remote's auth failed message with ours.
Timo Sirainen <tss@iki.fi>
parents: 6410
diff changeset
8 #define IMAP_AUTHZ_FAILED_MSG \
415089905616 imap-login: Use [resp-codes] to figure out when to replace remote's auth failed message with ours.
Timo Sirainen <tss@iki.fi>
parents: 6410
diff changeset
9 "["IMAP_RESP_CODE_AUTHZFAILED"] Authorization failed"
415089905616 imap-login: Use [resp-codes] to figure out when to replace remote's auth failed message with ours.
Timo Sirainen <tss@iki.fi>
parents: 6410
diff changeset
10
3863
55df57c028d4 Added "bool" type and changed all ints that were used as booleans to bool.
Timo Sirainen <tss@iki.fi>
parents: 1725
diff changeset
11 const char *client_authenticate_get_capabilities(bool secured);
1049
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
12
5835
d59ed6a31b66 Added more consts to imap-parser API
Timo Sirainen <tss@iki.fi>
parents: 3863
diff changeset
13 int cmd_login(struct imap_client *client, const struct imap_arg *args);
d59ed6a31b66 Added more consts to imap-parser API
Timo Sirainen <tss@iki.fi>
parents: 3863
diff changeset
14 int cmd_authenticate(struct imap_client *client, const struct imap_arg *args);
1049
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
15
c41787e8c3f4 Moved common login process code to login-common, created pop3-login.
Timo Sirainen <tss@iki.fi>
parents:
diff changeset
16 #endif