DAWN/src/include/test_storage.h
Ian Clowes 7262cf02d0 datastorage/test: improve scalability and performance
datastorage: convert to linked lists and optimise use of pointers
datastorage: AP, client, probe, auth entry and MAC list converted to
             linked list
datastorage: functions adjusted to take pointers as parameters
datastorage: optimised sort and search functions added
mac_utils: struct dawn_mac added and comparisons adjusted
general: adjust code to  call new datastorage functions
test_storage: large scale 100 AP, 3000 client, 70k probe added

[fix commit]
Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-08-04 09:50:48 +02:00

16 lines
365 B
C

#ifndef __DAWN_TESTSTORAGE_H
#define __DAWN_TESTSTORAGE_H
#include "datastorage.h"
/*
** Contains declerations, etc needed across datastorage and its test harness,
** but not more widely.
*/
void ap_array_insert(ap *entry);
int ap_array_delete(ap *entry);
auth_entry** auth_entry_find_first_entry(struct dawn_mac bssid_mac, struct dawn_mac client_mac);
#endif