auth-server-connection.h revision 69e938d3250b3cf3b048d89275716a1831277bb5
#ifndef __AUTH_SERVER_CONNECTION_H
#define __AUTH_SERVER_CONNECTION_H
struct auth_client {
unsigned int pid;
struct auth_server_connection *connections;
struct timeout *to_reconnect;
unsigned int conn_waiting_handshake_count;
unsigned int request_id_counter;
unsigned int last_used_auth_process;
void *connect_notify_context;
unsigned int reconnect:1;
};
struct auth_server_connection {
struct auth_server_connection *next;
int refcount;
struct auth_client *client;
const char *path;
int fd;
unsigned int server_pid;
unsigned int connect_uid;
const struct auth_mech_desc *available_auth_mechs;
unsigned int available_auth_mechs_count;
struct hash_table *requests;
unsigned int version_received:1;
unsigned int handshake_received:1;
unsigned int has_plain_mech:1;
};
struct auth_server_connection *
bool reconnect);
struct auth_server_connection *
struct auth_server_connection *
#endif