auth-connection.h revision c8ffea67272a9893d7d03860746371eb2490c255
#ifndef __AUTH_CONNECTION_H
#define __AUTH_CONNECTION_H
typedef struct _AuthConnection AuthConnection;
/* If result == AUTH_RESULT_INTERNAL_FAILURE, request may be NULL and
reply_data_size contains the error message. */
struct _AuthRequest {
unsigned int id;
unsigned char cookie[AUTH_COOKIE_SIZE];
void *context;
unsigned int init_sent:1;
};
extern AuthMethod available_auth_methods;
void auth_connection_init(void);
void auth_connection_deinit(void);
#endif