25 #define PG_SASL_EXCHANGE_CONTINUE 0
26 #define PG_SASL_EXCHANGE_SUCCESS 1
27 #define PG_SASL_EXCHANGE_FAILURE 2
80 void *(*init) (
Port *
port,
const char *mech,
const char *shadow_pass);
127 const char *
input,
int inputlen,
128 char **
output,
int *outputlen,
129 const char **logdetail);
134 char *shadow_pass,
const char **logdetail);
struct pg_be_sasl_mech pg_be_sasl_mech
int CheckSASLAuth(const pg_be_sasl_mech *mech, Port *port, char *shadow_pass, const char **logdetail)
int(* exchange)(void *state, const char *input, int inputlen, char **output, int *outputlen, const char **logdetail)
void(* get_mechanisms)(Port *port, StringInfo buf)