Mercurial > dovecot > original-hg > dovecot-1.2
view src/auth/auth-master-listener.h @ 6429:65c69a53a7be HEAD
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 16 Sep 2007 14:34:22 +0300 |
parents | e4eb71ae8e96 |
children |
line wrap: on
line source
#ifndef AUTH_MASTER_LISTENER_H #define AUTH_MASTER_LISTENER_H enum listener_type { LISTENER_MASTER, LISTENER_CLIENT }; struct auth_master_listener { struct auth *auth; unsigned int pid; ARRAY_DEFINE(sockets, struct auth_master_listener_socket *); ARRAY_DEFINE(masters, struct auth_master_connection *); ARRAY_DEFINE(clients, struct auth_client_connection *); struct timeout *to_clients; }; struct auth_master_listener *auth_master_listener_create(struct auth *auth); void auth_master_listener_destroy(struct auth_master_listener *listener); void auth_master_listener_add(struct auth_master_listener *listener, int fd, const char *path, enum listener_type type); void auth_master_listeners_send_handshake(void); bool auth_master_listeners_masters_left(void); void auth_master_listeners_init(void); void auth_master_listeners_deinit(void); #endif