mirror of
https://github.com/owntracks/recorder.git
synced 2026-04-09 00:36:50 +00:00
16 lines
465 B
C
16 lines
465 B
C
#ifndef _STORAGE_H_INCL_
|
|
# define _STORAGE_H_INCL_
|
|
|
|
#include <time.h>
|
|
#include "json.h"
|
|
|
|
|
|
JsonNode *lister(char *username, char *device, time_t s_lo, time_t s_hi);
|
|
void locations(char *filename, JsonNode *obj, JsonNode *arr, time_t s_lo, time_t s_hi, int rawmode);
|
|
int make_times(char *time_from, time_t *s_lo, char *time_to, time_t *s_to);
|
|
JsonNode *geo_json(JsonNode *json);
|
|
JsonNode *kill_datastore(char *username, char *device);
|
|
JsonNode *last_users();
|
|
|
|
#endif
|