53 void srvctrl_shutdown(); |
53 void srvctrl_shutdown(); |
54 |
54 |
55 SrvCtrlClient* srvctrl_create_client(int fd); |
55 SrvCtrlClient* srvctrl_create_client(int fd); |
56 |
56 |
57 void* srvctrl_thread(SrvCtrlClient *client); |
57 void* srvctrl_thread(SrvCtrlClient *client); |
58 int srvctrl_handle_cmd(SrvCtrlClient *client, sstr_t cmd); |
58 int srvctrl_handle_cmd(SrvCtrlClient *client, cxmutstr cmd); |
59 void srvctrl_log(SrvCtrlClient *client, char *msg, size_t len); |
59 void srvctrl_log(SrvCtrlClient *client, char *msg, size_t len); |
60 |
60 |
61 |
61 |
62 #ifdef __cplusplus |
62 #ifdef __cplusplus |
63 } |
63 } |