client-common.h revision 12c6ef6f1268ed4d5b63709bb4215c481b4f078c
1767N/A#ifndef CLIENT_COMMON_H
1767N/A#define CLIENT_COMMON_H
1767N/A#include "login-proxy.h"
1767N/A#include "sasl-server.h"
1767N/A#define LOGIN_MAX_INBUF_SIZE \
1767N/A#define AUTH_SERVER_WAITING_MSG \
4388N/A#define AUTH_MASTER_WAITING_MSG \
1767N/Aenum client_auth_result {
1767N/Astruct client_auth_reply {
1767N/A unsigned int proxy_timeout_msecs;
1767N/A unsigned int proxy_refresh_secs;
struct client_vfuncs {
const char *text);
const char *text);
struct client {
struct client_vfuncs v;
int refcount;
int fd;
unsigned char *master_data_prefix;
unsigned int master_data_prefix_len;
unsigned int proxy_state;
char *auth_mech_name;
const char *sasl_final_resp;
unsigned int master_auth_id;
unsigned int master_tag;
unsigned int bad_counter;
char *virtual_user;
struct client *
const char *text);
const char *init_resp);
void clients_notify_auth_connected(void);
void client_destroy_oldest(void);
void clients_destroy_all(void);