Declare disconnect_client function in header file
This commit is contained in:
parent
7e4a8bc707
commit
80c5999a5a
2 changed files with 4 additions and 0 deletions
|
@ -179,6 +179,7 @@ int get_next_free_client_id(void) {
|
|||
return -1; // Error: reached end of array
|
||||
}
|
||||
|
||||
/* Disconnect a client using its client id */
|
||||
int disconnect_client(int client_id) {
|
||||
void *retval;
|
||||
|
||||
|
|
|
@ -19,6 +19,9 @@ int handle_args(int, char**);
|
|||
/* Compute the next free client_id in the client array */
|
||||
int get_next_free_client_id(void);
|
||||
|
||||
/* Disconnect a client using its client id */
|
||||
int disconnect_client(int);
|
||||
|
||||
/* Thread, parses and handles messages */
|
||||
void *Dispatcher(void*);
|
||||
|
||||
|
|
Loading…
Reference in a new issue