mech.h revision 20caa6854f0ba83719248a94464a7a24bb7dbd20
#ifndef __MECH_H
#define __MECH_H
#include "auth-login-interface.h"
struct login_connection;
struct auth_request {
char *user;
struct login_connection *conn;
unsigned int id;
enum auth_protocol protocol;
struct auth_login_request_continue *request,
const unsigned char *data,
/* ... mechanism specific data ... */
};
struct mech_module {
unsigned int id,
};
extern enum auth_mech auth_mechanisms;
extern const char *const *auth_realms;
extern const char *default_realm;
struct auth_login_request_new *request,
struct auth_login_request_continue *request,
const unsigned char *data,
struct auth_request *auth_request,
void mech_cyrus_sasl_init_lib(void);
struct auth_login_request_new *request,
void mech_init(void);
void mech_deinit(void);
#endif