Files
ray/state/task_table.h
T
Philipp Moritz db8c0acc71 Refactor state database (#22)
* make db_connect return the connection

* rename db_conn -> db_handle

* more renaming

* clang-format

* free the db_handle
2016-09-25 21:52:06 -07:00

14 lines
363 B
C

#ifndef TASK_TABLE_H
#define TASK_TABLE_H
#include "db.h"
#include "task.h"
/* Add task to the task table, handle errors here. */
status task_table_add_task(db_handle *db, task_iid task_iid, task_spec *task);
/* Get specific task from the task table. */
status task_table_get_task(db_handle *db, task_iid task_iid, task_spec *task);
#endif /* TASK_TABLE_H */