diff options
author | Bruce Guenter <bruce@untroubled.org> | 2006-06-23 15:20:29 +0000 |
---|---|---|
committer | Bruce Guenter <bruce@untroubled.org> | 2006-06-23 15:20:29 +0000 |
commit | 8ac930b89d7ad4a5f1ff2db6c2dcc223e518156c (patch) | |
tree | 450ae495c770aeb48eb9b14962fd963b5805e07b /protocols/protocol.h | |
parent | 8910fae6567878c83972a729d812330878f3af2f (diff) |
Added support for the SMTP AUTH LOGIN method.
Diffstat (limited to 'protocols/protocol.h')
-rw-r--r-- | protocols/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/protocol.h b/protocols/protocol.h index b9d53fd..d0a89d9 100644 --- a/protocols/protocol.h +++ b/protocols/protocol.h @@ -6,8 +6,11 @@ extern void protocol_fail(int e, const char* msg); extern void protocol_succ(const char* msg); +#define AUTH_PLAIN 0 +#define AUTH_LOGIN 1 extern const char* user; extern const char* pass; +extern int auth_method; // This must be provided by the protocol, but will be set by the lib. extern int port; |