Mercurial > dovecot > core-2.2
view src/auth/auth-client-connection.h @ 9159:6324a79d3ee1 HEAD
Initial commit for v2.0 master rewrite. Several features are still missing.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 23 Apr 2009 19:53:44 -0400 |
parents | e4eb71ae8e96 |
children | aa30fc7d771a |
line wrap: on
line source
#ifndef AUTH_CLIENT_CONNECTION_H #define AUTH_CLIENT_CONNECTION_H struct auth_client_connection { struct auth *auth; int refcount; int fd; struct io *io; struct istream *input; struct ostream *output; unsigned int pid; unsigned int connect_uid; struct auth_request_handler *request_handler; unsigned int version_received:1; }; struct auth_client_connection * auth_client_connection_create(struct auth *auth, int fd); void auth_client_connection_destroy(struct auth_client_connection **conn); struct auth_client_connection * auth_client_connection_lookup(unsigned int pid); void auth_client_connections_init(void); void auth_client_connections_deinit(void); #endif