libcontrac
A library for contact tracing
|
Provides a list of DTKs. More...
Go to the source code of this file.
Functions | |
DtkList * | dtk_list_new () |
void | dtk_list_delete (DtkList *data) |
void | dtk_list_append (DtkList *data, Dtk *dtk) |
void | dtk_list_add_diagnosis (DtkList *data, unsigned char const *dtk_bytes, uint32_t day_number) |
DtkListItem const * | dtk_list_first (DtkList const *data) |
DtkListItem const * | dtk_list_next (DtkListItem const *data) |
Dtk const * | dtk_list_get_dtk (DtkListItem const *data) |
Provides a list of DTKs.
Copyright David Llewellyn-Jones, 2020 Released under the GPLv2.
This class allows the simplified management of lists of Dtk objects. This is useful when checking DTKs received from a Diagnosis Server with RPIs captured over Bluetooth. Combined with the RpiList class the two can be easily stored and passed into the match_list_find_matches() function.