libcontrac
A library for contact tracing
Functions
match.h File Reference

Provides a way to match collected RPIs with downloaded DTKs. More...

#include "contrac/contrac.h"
#include "contrac/dtk.h"
Include dependency graph for match.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

MatchList * match_list_new ()
 
void match_list_delete (MatchList *data)
 
void match_list_clear (MatchList *data)
 
size_t match_list_count (MatchList *data)
 
uint32_t match_list_get_day_number (MatchListItem const *data)
 
uint8_t match_list_get_time_interval_number (MatchListItem const *data)
 
MatchListItem const * match_list_first (MatchList const *data)
 
MatchListItem const * match_list_next (MatchListItem const *data)
 
void match_list_find_matches (MatchList *data, RpiList *beacons, DtkList *diagnosis_keys)
 

Detailed Description

Provides a way to match collected RPIs with downloaded DTKs.

Author
David Llewellyn-Jones david.nosp@m.@fly.nosp@m.pig.c.nosp@m.o.uk
Version
0.01

LICENSE

Copyright David Llewellyn-Jones, 2020 Released under the GPLv2.

DESCRIPTION

This class provides functionality allowing RPIs that have been collected over Bluetooth to be matched against DTKs downloaded from a Diagnosis Server.

The list of RPIs and DTKs can be constructed easily using the Container functions.