diff options
| author | John Estabrook <jestabro@vyos.io> | 2025-01-06 12:07:25 -0600 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2025-01-15 19:08:27 -0600 |
| commit | 88dfcd5775ca7e14d9bf896d226b832b05b1a4ed (patch) | |
| tree | 3e28103ecc99dc3031d4e816c133bb4eb6cfeeba /src/internal.mli | |
| parent | 2948c7fa86dc3e7eba4f731f5dce8fbb03de6ad2 (diff) | |
| download | vyos1x-config-88dfcd5775ca7e14d9bf896d226b832b05b1a4ed.tar.gz vyos1x-config-88dfcd5775ca7e14d9bf896d226b832b05b1a4ed.zip | |
T7046: add proper locks and checks on internal rep
Diffstat (limited to 'src/internal.mli')
| -rw-r--r-- | src/internal.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal.mli b/src/internal.mli index 33918c7..a82232d 100644 --- a/src/internal.mli +++ b/src/internal.mli @@ -1,3 +1,6 @@ +exception Read_error of string +exception Write_error of string + module type T = sig type t @@ -10,6 +13,7 @@ module type FI = functor (M : T) -> sig val write_internal : M.t -> string -> unit val read_internal : string -> M.t + val replace_internal : string -> string -> unit end module Make : FI |
