mirror of
https://github.com/wassname/ray.git
synced 2026-07-07 01:24:55 +08:00
14 lines
359 B
C
14 lines
359 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_conn *db, task_iid task_iid, task_spec *task);
|
|
|
|
/* Get specific task from the task table. */
|
|
status task_table_get_task(db_conn *db, task_iid task_iid, task_spec *task);
|
|
|
|
#endif /* TASK_TABLE_H */
|