aboutsummaryrefslogtreecommitdiffstats
path: root/apps/clients.h
diff options
context:
space:
mode:
authorjames <>2008-02-14 02:46:45 +0000
committerjames <>2008-02-14 02:46:45 +0000
commitbc6a29d06c22bdcada4cb18d8401e5d37f46fd36 (patch)
treecbe671b5cad8d7af21450915e2e312119ef0406d /apps/clients.h
parente65130e63d050d37b9605339c0abfdcef73c4472 (diff)
downloadsympathy-bc6a29d06c22bdcada4cb18d8401e5d37f46fd36.tar.gz
sympathy-bc6a29d06c22bdcada4cb18d8401e5d37f46fd36.tar.bz2
sympathy-bc6a29d06c22bdcada4cb18d8401e5d37f46fd36.zip
*** empty log message ***
Diffstat (limited to 'apps/clients.h')
-rw-r--r--apps/clients.h29
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__ */