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

Provides a list of RPIs. More...

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

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)
 

Detailed Description

Provides a list of RPIs.

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 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.