mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Insert client to array
This commit is contained in:
parent
0030119350
commit
8531beee52
4 changed files with 26 additions and 1 deletions
|
|
@ -45,6 +45,7 @@ typedef struct client_s {
|
|||
uint8_t vht;
|
||||
uint8_t wps;
|
||||
uint8_t mfp;
|
||||
time_t time;
|
||||
uint32_t aid;
|
||||
} client;
|
||||
|
||||
|
|
@ -57,6 +58,8 @@ typedef struct client_s {
|
|||
struct client_s client_array[ARRAY_CLIENT_LEN];
|
||||
pthread_mutex_t client_array_mutex;
|
||||
|
||||
void insert_client_to_array(client entry);
|
||||
|
||||
void client_array_insert(client entry);
|
||||
client* client_array_delete(client entry);
|
||||
void print_client_array();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue