auth-client-interface.h revision 50bdbcb771ff0f1c854c0719a3e4b3fc7736aec0
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen/* max. size for auth_client_request_continue.data[] */
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen/* Client process must finish with single authentication requests in this time,
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen or the whole connection will be killed. */
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen/* Client -> Server */
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen unsigned int client_pid; /* unique identifier for client process */
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen/* Server -> Client */
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen unsigned int server_pid; /* unique auth process identifier */
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen unsigned int connect_uid; /* unique connection identifier */
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen /* struct auth_client_handshake_mech_desc mech_desc[auth_mech_count]; */
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen/* New authentication request */
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen enum auth_client_request_type type; /* AUTH_CLIENT_REQUEST_NEW */
c0435c854a0e7246373b9752d163095cc4fbe985Timo Sirainen unsigned int id; /* unique ID for the request */
03f5c621d06d6b6d77a145196c9633a7aa64dc78Timo Sirainen uint32_t ip_family; /* if non-zero, data begins with local/remote IPs */
ecc81625167ed96c04c02aa190a1ea5baa65b474Timo Sirainen /* unsigned char data[]; */
struct auth_client_request_continue {
unsigned int id;
struct auth_client_request_reply {
unsigned int id;