add task_import_with_uuid

This commit is contained in:
Dustin J. Mitchell
2022-01-26 01:49:06 +00:00
parent 96b59dd5b2
commit f3b73ca0e4
3 changed files with 52 additions and 4 deletions

View File

@@ -93,6 +93,13 @@ struct TCTask *tc_replica_new_task(struct TCReplica *rep,
enum TCStatus status,
struct TCString *description);
/**
* Create a new task. The task must not already exist.
*
* Returns the task, or NULL on error.
*/
struct TCTask *tc_replica_import_task_with_uuid(struct TCReplica *rep, struct TCUuid uuid);
/**
* Undo local operations until the most recent UndoPoint.
*