/* * clients.h: * * Copyright (c) 2008 James McKenzie , * All rights reserved. * */ /* * $Id$ */ /* * $Log$ * Revision 1.1 2008/02/13 18:05:06 james * *** empty log message *** * */ #ifndef __CLIENTS_H__ #define __CLIENTS_H__ typedef struct Client_struct { struct Client_struct *next; Socket *s; int dead; } Client; typedef struct { Client *head; int n; } Clients; extern Clients *clients_new(void); extern void clients_pre_select (Clients *, fd_set *, fd_set *); extern void clients_post_select(Clients *,Context *, fd_set *, fd_set *); extern Client *clients_new_client(Clients *,Socket *,Context *); extern void clients_shutdown(Clients *); extern void clients_output (Clients *, void *, int); #endif /* __CLIENTS_H__ */