Mercurial > dovecot > original-hg > dovecot-1.2
view src/auth/auth-client-interface.h @ 6429:65c69a53a7be HEAD
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 14:34:22 +0300 |
parents | e4eb71ae8e96 |
children | 1c91fa0d804b |
line wrap: on
line source
#ifndef AUTH_CLIENT_INTERFACE_H #define AUTH_CLIENT_INTERFACE_H /* Major version changes are not backwards compatible, minor version numbers can be ignored. */ #define AUTH_CLIENT_PROTOCOL_MAJOR_VERSION 1 #define AUTH_CLIENT_PROTOCOL_MINOR_VERSION 0 #define AUTH_CLIENT_MAX_LINE_LENGTH 8192 /* Use a bit larger than login process timeout */ #define AUTH_REQUEST_TIMEOUT (3*60 + 30) enum mech_security_flags { /* Don't advertise this as available SASL mechanism (eg. APOP) */ MECH_SEC_PRIVATE = 0x0001, /* Anonymous authentication */ MECH_SEC_ANONYMOUS = 0x0002, /* Transfers plaintext passwords */ MECH_SEC_PLAINTEXT = 0x0004, /* Subject to passive (dictionary) attack */ MECH_SEC_DICTIONARY = 0x0008, /* Subject to active (non-dictionary) attack */ MECH_SEC_ACTIVE = 0x0010, /* Provides forward secrecy between sessions */ MECH_SEC_FORWARD_SECRECY = 0x0020, /* Provides mutual authentication */ MECH_SEC_MUTUAL_AUTH = 0x0040 }; #endif