void pthread_suspend(int msec)
void daemon_serviceloop(void *ptr)
Structure that keeps the parameters needed by the daemon_serviceloop() function.
int isactive
Not null if the daemon has to run in active mode.
int nullAuthAllowed
'1' if we permit NULL authentication, '0' otherwise
SOCKET sockctrl
SOCKET ID of the control connection.
int activeclose
'1' if the client closed the control connection explicitely; used in active mode only