controller-legacy/include/models/period.h
Tobias Reisinger 9602e6e937 remove: lmdb
add: sqlite
add: new commands
2020-08-24 16:00:08 +02:00

16 lines
265 B
C

#ifndef CONTROLLER_PERIOD_H
#define CONTROLLER_PERIOD_H
#include <stdint.h>
#include <time.h>
typedef struct
{
uint16_t start;
uint16_t end;
} period_t;
int
period_includes_time(period_t period, struct tm *time_struct);
#endif /* CONTROLLER_PERIOD_H */