Create Dispatcher prototype
This commit is contained in:
parent
56217910c0
commit
c7c662aa0f
2 changed files with 6 additions and 0 deletions
|
@ -88,6 +88,9 @@ int main(void) {
|
|||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
/* Thread, parses and handles messages */
|
||||
void Dispatcher(void) {}
|
||||
|
||||
/* Thread, listens for incoming messages */
|
||||
void ClientListener(int client_sockid) {
|
||||
char buf[BUF_LEN];
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
|
||||
#define LISTEN_ALL // define to listen on 0.0.0.0, else loopback
|
||||
|
||||
/* Thread, parses and handles messages */
|
||||
void Dispatcher(void);
|
||||
|
||||
/* Thread, listens for incoming messages */
|
||||
void ClientListener(int);
|
||||
|
||||
|
|
Loading…
Reference in a new issue