Added support for DE200C VFD
[lcdproc-de200c.git] / server / clients.h
blobc52b3313c47b6cfcc556e40350a48f30393b109f
1 /*
2 * client.h
3 * This file is part of LCDd, the lcdproc server.
5 * This file is released under the GNU General Public License. Refer to the
6 * COPYING file distributed with this package.
8 * Copyright (c) 1999, William Ferrell, Scott Scriven
12 #ifndef CLIENTS_H
13 #define CLIENTS_H
15 #include "client.h"
16 #include "shared/LL.h"
18 /* extern LinkedList *clientlist; Not needed outside ? */
20 /* Initialize and kill client list...*/
21 int clients_init(void);
22 int clients_shutdown(void);
24 /* Add/remove clients (return -1 for error) */
25 int clients_add_client(Client *c);
26 int clients_remove_client(Client *c);
28 /* List functions */
29 Client *clients_getfirst(void);
30 Client *clients_getnext(void);
31 int clients_client_count(void);
33 /* Search for a client with a particular filedescriptor...*/
34 Client * clients_find_client_by_sock(int sock);
36 #endif