switch to ubloop

This commit is contained in:
PolynomialDivision 2017-11-20 12:19:44 +01:00
parent 90bb949342
commit 9c80d0542e
6 changed files with 92 additions and 21 deletions

View file

@ -8,6 +8,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <libubox/uloop.h>
#ifndef ETH_ALEN
#define ETH_ALEN 6
@ -34,6 +35,7 @@ struct time_config_s {
time_t update_client;
time_t remove_client;
time_t remove_probe;
time_t remove_ap;
time_t update_hostapd;
};
@ -92,6 +94,8 @@ void print_auth_entry(auth_entry entry);
void *remove_probe_array_thread(void *arg);
void uloop_add_data_cbs();
/* AP, Client */
// ---------------- Structs ----------------