Add time functions, simplify API
authorDavid Llewellyn-Jones <david@flypig.co.uk>
Mon, 20 Apr 2020 21:09:57 +0000 (00:09 +0300)
committerDavid Llewellyn-Jones <david@flypig.co.uk>
Mon, 20 Apr 2020 21:09:57 +0000 (00:09 +0300)
commit37e2b9b3573a05390190a25052ceb23d8dab0132
tree410c0ea50a45df65bb9867fb02d4e2ca592512b8
parent539021c1245ef6d23eaa5a7869c2ecebb1b9551e
Add time functions, simplify API

Add functions for calculating time values, and for configuringthe keys
based on the current time,

Simplifies the match api so Rpi and Dtk structures don't need to be
created separately before being added to a list.
14 files changed:
README.md
include/contrac/contrac.h
include/contrac/contrac_private.h
include/contrac/dtk.h
include/contrac/dtk_list.h
include/contrac/rpi_list.h
include/contrac/utils.h
src/contrac.c
src/dtk.c
src/dtk_list.c
src/rpi.c
src/rpi_list.c
src/utils.c
tests/test_contrac.c