mirror of
https://github.com/wassname/ray.git
synced 2026-08-20 12:40:44 +08:00
Refactor state database (#22)
* make db_connect return the connection * rename db_conn -> db_handle * more renaming * clang-format * free the db_handle
This commit is contained in:
committed by
Robert Nishihara
parent
1e08629013
commit
db8c0acc71
+2
-2
@@ -5,9 +5,9 @@
|
||||
#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);
|
||||
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_conn *db, task_iid task_iid, task_spec *task);
|
||||
status task_table_get_task(db_handle *db, task_iid task_iid, task_spec *task);
|
||||
|
||||
#endif /* TASK_TABLE_H */
|
||||
|
||||
Reference in New Issue
Block a user