mirror of
https://github.com/wassname/ray.git
synced 2026-06-30 13:12:46 +08:00
db8c0acc71
* make db_connect return the connection * rename db_conn -> db_handle * more renaming * clang-format * free the db_handle
14 lines
363 B
C
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 */
|