X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=apps%2Fclients.h;h=f8dd9f1067bd5733f61d4915edfbf7a17f643a6e;hb=ef427cbe3bc216800179b66b889b71fec843387c;hp=c59a521c49fac7e689de69338e00fba5d2926b3d;hpb=d20265fbf33e22b30b5c2879cff7ae5c22d3fc29;p=sympathy.git diff --git a/apps/clients.h b/apps/clients.h index c59a521..f8dd9f1 100644 --- a/apps/clients.h +++ b/apps/clients.h @@ -12,6 +12,12 @@ /* * $Log$ + * Revision 1.5 2008/02/14 10:34:47 james + * *** empty log message *** + * + * Revision 1.4 2008/02/14 10:34:30 james + * *** empty log message *** + * * Revision 1.3 2008/02/14 02:46:44 james * *** empty log message *** * @@ -40,11 +46,19 @@ typedef struct } Clients; +/* clients.c */ +extern void client_free (Client * c); +extern Client *clients_new_client (Clients * cs, Socket * s, Context * ctx); +extern void clients_reap (Clients * cs); 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 int clients_output (Clients *, void *, int); +extern void clients_pre_select (Clients * cs, fd_set * rfds, fd_set * wfds); +extern void clients_post_select (Clients * cs, Context * ctx, fd_set * rfds, + fd_set * wfds); +extern void clients_shutdown (Clients * cs); + +extern int send_output (Clients * cs, void *buf, int len); +extern int send_status (Clients * cs, char *msg); +extern void send_history (History * h, Client * c); +extern void send_vt102 (VT102 * v, Client * c); -#endif /* __CLIENTS_H__ */ +#endif