gateway/sample.c

10 lines
243 B
C
Raw Normal View History

2020-02-17 15:51:57 -08:00
#include "database.h"
int main() {
struct database_state state;
database_state_init(&state, "data.sqlite");
database_write_active(&state, 1, 1);
database_write_location(&state, 1, 5.0, 5.0);
database_state_free(&state);
}