add AUTH_SASL flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13925 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -175,6 +175,7 @@ extern int hangup;
|
|||||||
|
|
||||||
#define AUTH_NONE 0
|
#define AUTH_NONE 0
|
||||||
#define AUTH_OTP 1
|
#define AUTH_OTP 1
|
||||||
|
#define AUTH_SASL 2
|
||||||
|
|
||||||
#define pop_command pop_parm[0] /* POP command is first token */
|
#define pop_command pop_parm[0] /* POP command is first token */
|
||||||
#define pop_subcommand pop_parm[1] /* POP XTND subcommand is the
|
#define pop_subcommand pop_parm[1] /* POP XTND subcommand is the
|
||||||
@@ -274,7 +275,7 @@ typedef struct { /* POP parameter block */
|
|||||||
OtpContext otp_ctx; /* OTP context */
|
OtpContext otp_ctx; /* OTP context */
|
||||||
#endif
|
#endif
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
#define POP_FLAG_CAPA 1
|
#define POP_FLAG_CAPA 1
|
||||||
} POP;
|
} POP;
|
||||||
|
|
||||||
typedef struct { /* State information for
|
typedef struct { /* State information for
|
||||||
@@ -330,6 +331,10 @@ int pop_xdele(POP *p);
|
|||||||
int pop_help(POP *p);
|
int pop_help(POP *p);
|
||||||
state_table *pop_get_command(POP *p, char *mp);
|
state_table *pop_get_command(POP *p, char *mp);
|
||||||
void pop_lower(char *buf);
|
void pop_lower(char *buf);
|
||||||
|
#ifdef SASL
|
||||||
|
int pop_auth (POP *p);
|
||||||
|
void pop_capa_sasl(POP *p);
|
||||||
|
#endif
|
||||||
|
|
||||||
int pop_log(POP *p, int stat, char *format, ...)
|
int pop_log(POP *p, int stat, char *format, ...)
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
Reference in New Issue
Block a user