X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/c189cbe97d554b26ec6b203b4ce9f697947ecc38..77a8fca278b561808959fa1aa7d9f02c5cfe7720:/src/domain.sig diff --git a/src/domain.sig b/src/domain.sig index 1d708f5..a937624 100644 --- a/src/domain.sig +++ b/src/domain.sig @@ -27,6 +27,15 @@ signature DOMAIN = sig val ip : string Env.arg + val registerResetGlobal : (unit -> unit) -> unit + val registerResetLocal : (unit -> unit) -> unit + (* Register functions for clearing out all Domtool configuration at the global + * (AFS) and local levels, respectively. *) + + val resetGlobal : unit -> unit + val resetLocal : unit -> unit + (* Call all registered functions *) + val registerBefore : (string -> unit) -> unit val registerAfter : (string -> unit) -> unit (* Register handlers to run just before and after entering a domain