add: new commands to controller

This commit is contained in:
Tobias Reisinger 2020-08-24 15:59:46 +02:00
parent b969ddd4ff
commit dd9e533f22
12 changed files with 127 additions and 62 deletions

View file

@ -30,6 +30,7 @@ db_update_insert(controller_t *controller, sqlite3_stmt *stmt)
return rc != SQLITE_DONE;
}
static controller_t*
controller_db_select_mapper(sqlite3_stmt *stmt)
{
@ -82,7 +83,7 @@ controller_db_select(sqlite3_stmt *stmt)
int row = 0;
while(true)
for(;;)
{
int s;

View file

@ -78,7 +78,7 @@ schedule_db_select(sqlite3_stmt *stmt)
int row = 0;
while(true)
for(;;)
{
int s;