diff --git a/appl/popper/popper.h b/appl/popper/popper.h index d78e7e168..2cff80b68 100644 --- a/appl/popper/popper.h +++ b/appl/popper/popper.h @@ -175,6 +175,7 @@ extern int hangup; #define AUTH_NONE 0 #define AUTH_OTP 1 +#define AUTH_SASL 2 #define pop_command pop_parm[0] /* POP command is first token */ #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 */ #endif unsigned int flags; -#define POP_FLAG_CAPA 1 +#define POP_FLAG_CAPA 1 } POP; typedef struct { /* State information for @@ -330,6 +331,10 @@ int pop_xdele(POP *p); int pop_help(POP *p); state_table *pop_get_command(POP *p, char *mp); 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, ...) #ifdef __GNUC__