diff options
Diffstat (limited to 'apps/clients.h')
-rw-r--r-- | apps/clients.h | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/apps/clients.h b/apps/clients.h index da5fd01..c59a521 100644 --- a/apps/clients.h +++ b/apps/clients.h @@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.3 2008/02/14 02:46:44 james + * *** empty log message *** + * * Revision 1.2 2008/02/14 00:57:58 james * *** empty log message *** * @@ -23,23 +26,25 @@ #ifndef __CLIENTS_H__ #define __CLIENTS_H__ -typedef struct Client_struct { - struct Client_struct *next; - Socket *s; - int dead; +typedef struct Client_struct +{ + struct Client_struct *next; + Socket *s; + int dead; } Client; -typedef struct { - Client *head; - int n; +typedef struct +{ + Client *head; + int n; } Clients; -extern Clients *clients_new(void); +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); +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 int clients_output (Clients *, void *, int); #endif /* __CLIENTS_H__ */ |