diff options
| author | John Estabrook <jestabro@vyos.io> | 2025-11-01 22:12:34 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2025-11-01 22:18:19 -0500 |
| commit | b113c1f096830fbabdfea586cd3b0f41c5ce4611 (patch) | |
| tree | 497528b21ba126d9c253e5d1be3276b03a1062cb /src/session.mli | |
| parent | 304e4d2a172fe1baf2c1df7f61b7a0a8e40f7d5d (diff) | |
| download | vyconf-b113c1f096830fbabdfea586cd3b0f41c5ce4611.tar.gz vyconf-b113c1f096830fbabdfea586cd3b0f41c5ce4611.zip | |
T7980: use write_internal_atomic for running cache and refactor
Diffstat (limited to 'src/session.mli')
| -rw-r--r-- | src/session.mli | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/session.mli b/src/session.mli index a08f873..1750f6c 100644 --- a/src/session.mli +++ b/src/session.mli @@ -69,7 +69,11 @@ val list_children : world -> session_data -> string list -> string list val string_of_op : cfg_op -> string -val prepare_commit : ?dry_run:bool -> world -> Vyos1x.Config_tree.t -> string -> int32 -> string -> string -> Commitd_client.Commit.commit_data +val write_running_cache : world -> (unit, string) result + +val write_session_cache : world -> Vyos1x.Config_tree.t -> (unit, string) result + +val prepare_commit : ?dry_run:bool -> world -> session_data -> Vyos1x.Config_tree.t -> string -> (Commitd_client.Commit.commit_data, string) result val post_process_commit : world -> session_data -> Commitd_client.Commit.commit_data * Vyos1x.Config_tree.t -> Vyos1x.Config_tree.t * Vyos1x.Config_tree.t |
