Go to the source code of this file.
Functions | |
static void * | thread_wdctl_handler (void *) |
static void | wdctl_status (int) |
static void | wdctl_stop (int) |
static void | wdctl_reset (int, char *) |
static void | wdctl_restart (int) |
void | thread_wdctl (void *arg) |
Listen for WiFiDog control messages on a unix domain socket. | |
Variables | |
pthread_mutex_t | client_list_mutex |
pthread_mutex_t | config_mutex |
char ** | restartargv |
Definition in file wdctl_thread.c.
void thread_wdctl | ( | void * | arg | ) |
Listen for WiFiDog control messages on a unix domain socket.
Launches a thread that monitors the control socket for request
arg | Must contain a pointer to a string containing the Unix domain socket to open |
Definition at line 73 of file wdctl_thread.c.
References debug.
static void wdctl_stop | ( | int | fd | ) | [static] |
A bit of an hack, self kills....
Definition at line 224 of file wdctl_thread.c.
References wdctl_stop().
Referenced by wdctl_stop().
pthread_mutex_t client_list_mutex |
Global mutex to protect access to the client list
Definition at line 48 of file client_list.c.
pthread_mutex_t config_mutex |