v0.5 kick-off
This commit is contained in:
+7
-7
@@ -6,7 +6,6 @@
|
||||
* COPYING file distributed with this package.
|
||||
*
|
||||
* Copyright (c) 1999, William Ferrell, Scott Scriven
|
||||
* 2001, Joris Robijn
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -27,24 +26,25 @@ typedef struct client {
|
||||
|
||||
extern LinkedList *clients;
|
||||
|
||||
// Initialize and kill client list...
|
||||
/* Initialize and kill client list...*/
|
||||
int client_init ();
|
||||
int client_shutdown ();
|
||||
|
||||
// Create and destroy clients....
|
||||
/* Create and destroy clients....*/
|
||||
client *client_create (int sock);
|
||||
int client_destroy (client * c);
|
||||
|
||||
// Add and remove messages from the client's queue...
|
||||
/* Add and remove messages from the client's queue...*/
|
||||
int client_add_message (client * c, char *message);
|
||||
char *client_get_message (client * c);
|
||||
|
||||
// Get and set the client's data...
|
||||
// Not used at all yet, and may never be. Oh, well.
|
||||
/* Get and set the client's data...
|
||||
* Not used at all yet, and may never be. Oh, well.
|
||||
*/
|
||||
int client_set (client * c, void *data);
|
||||
void *client_get (client * c);
|
||||
|
||||
// Search for a client with a particular filedescriptor...
|
||||
/* Search for a client with a particular filedescriptor...*/
|
||||
client *client_find_sock (int sock);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user