X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/04502362ef40024052b18473028f8b53919ead15..8e92b720955bc1820ab3790d534c46f4f4061e17:/src/domain.sig diff --git a/src/domain.sig b/src/domain.sig index 9364238..9383a8e 100644 --- a/src/domain.sig +++ b/src/domain.sig @@ -90,6 +90,7 @@ signature DOMAIN = sig val your_paths : unit -> DataStructures.StringSet.set (* UNIX users, groups, and paths the user may act with *) + val get_context : unit -> OpenSSL.context val set_context : OpenSSL.context -> unit val hasPriv : string -> bool @@ -115,4 +116,8 @@ signature DOMAIN = sig val considerAll : description list -> subject -> string (* Find files in a domain directory matching some patterns and generate * headings and contents listings for them. *) + + (* Callbacks to run whenever the set of Domtool users has changed *) + val registerOnUsersChange : (unit -> unit) -> unit + val onUsersChange : unit -> unit end