Changes to support IMAP on hopper all compile but are not tested yet
[hcoop/domtool2.git] / src / domain.sig
index 9364238..9383a8e 100644 (file)
@@ -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