auth-server-connection.h revision acf3b7bf3a8891b118a71c45e6c48d17bc90b259
#ifndef __AUTH_SERVER_CONNECTION_H
#define __AUTH_SERVER_CONNECTION_H
struct auth_client {
unsigned int pid;
char *socket_paths;
struct auth_server_connection *connections;
struct timeout *to_reconnect;
unsigned int conn_waiting_handshake_count;
unsigned int request_id_counter;
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;
void *ext_input_io;
unsigned int pid;
const struct auth_mech_desc *available_auth_mechs;
unsigned int available_auth_mechs_count;
struct auth_client_request_reply reply;
struct hash_table *requests;
unsigned int handshake_received:1;
unsigned int reply_received:1;
unsigned int has_plain_mech:1;
};
struct auth_server_connection *
int reconnect);
struct auth_server_connection *
struct auth_server_connection *
#endif