auth-request.h revision 78ed6a99e980228a75fa59cff84327dc0ea82857
#ifndef __AUTH_REQUEST_H
#define __AUTH_REQUEST_H
#include "network.h"
#include "mech.h"
#include "userdb.h"
#include "passdb.h"
struct auth_client_connection;
struct auth_request {
int refcount;
char *user;
const char *extra_fields;
struct mech_module *mech;
struct auth_client_connection *conn;
unsigned int id;
const char *service;
unsigned int successful:1;
unsigned int internal_failure:1;
unsigned int accept_input:1;
unsigned int no_failure_delay:1;
unsigned int no_login:1;
unsigned int proxy:1;
unsigned int destroyed:1;
/* ... mechanism specific data ... */
};
struct mech_module *mech);
const char *password,
struct auth_request_extra *
const char *cache_key);
const struct var_expand_table *
const char *(*escape_func)(const char *));
const char *subsystem,
const char *subsystem,
const char *subsystem,
void auth_failure_buf_flush(void);
void auth_requests_init(void);
void auth_requests_deinit(void);
#endif