libcontrac
A library for contact tracing
|
Provides a list of RPIs. More...
Go to the source code of this file.
Functions | |
RpiList * | rpi_list_new () |
void | rpi_list_delete (RpiList *data) |
void | rpi_list_append (RpiList *data, Rpi *rpi) |
void | rpi_list_add_beacon (RpiList *data, unsigned char const *rpi_bytes, uint8_t time_interval_number) |
RpiListItem const * | rpi_list_first (RpiList const *data) |
RpiListItem const * | rpi_list_next (RpiListItem const *data) |
Rpi const * | rpi_list_get_rpi (RpiListItem const *data) |
Provides a list of RPIs.
Copyright David Llewellyn-Jones, 2020 Released under the GPLv2.
This class allows the simplified management of lists of Rpi objects. This is useful when checking DTKs received from a Diagnosis Server with RPIs captured over Bluetooth. Combined with the DtkList class the two can be easily stored and passed into the match_list_find_matches() function.