use async for server

This commit is contained in:
lxsang
2018-10-03 23:42:42 +02:00
parent 60a2298e62
commit 3447b07fc6
4 changed files with 27 additions and 11 deletions

View File

@ -54,6 +54,11 @@ typedef struct{
char* ip;
} antd_client_t;
typedef struct {
antd_client_t* client;
dictionary request;
} antd_request_t;
int response(void*, const char*);
void ctype(void*,const char*);
void redirect(void*,const char*);