added the empty hcl-c.h and hcl-c.c files

This commit is contained in:
2018-03-15 15:27:34 +00:00
parent 5dcb376907
commit 2b2da9e780
3 changed files with 61 additions and 0 deletions

View File

@ -1740,6 +1740,7 @@ static hcl_server_worker_t* alloc_worker (hcl_server_t* server, int cli_sck)
HCL_MEMSET (worker, 0, HCL_SIZEOF(*worker));
worker->sck = cli_sck;
worker->server = server;
/* TODO: allocate a unique id for worker. the socket number isn't very nice because once it's closed, the uniqueness can't be guaranteed */
return worker;
}