aboutsummaryrefslogtreecommitdiffstats
path: root/apps/clients.h
diff options
context:
space:
mode:
authorjames <>2008-02-14 10:34:30 +0000
committerjames <>2008-02-14 10:34:30 +0000
commit77c86f1e81b90ad59726ee3704a479f07c34786b (patch)
tree7b4331a93ae2a0f7188c8086eea7d32a58a2960a /apps/clients.h
parentbc6a29d06c22bdcada4cb18d8401e5d37f46fd36 (diff)
downloadsympathy-77c86f1e81b90ad59726ee3704a479f07c34786b.tar.gz
sympathy-77c86f1e81b90ad59726ee3704a479f07c34786b.tar.bz2
sympathy-77c86f1e81b90ad59726ee3704a479f07c34786b.zip
*** empty log message ***
Diffstat (limited to 'apps/clients.h')
-rw-r--r--apps/clients.h24
1 files changed, 17 insertions, 7 deletions
diff --git a/apps/clients.h b/apps/clients.h
index c59a521..605b3cd 100644
--- a/apps/clients.h
+++ b/apps/clients.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * 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 +43,18 @@ typedef struct
} 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 int clients_output (Clients *, void *, int);
+/* 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 *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