Slave dispatching working
[hcoop/domtool2.git] / src / domain.sig
index c4fc329..7ea6689 100644 (file)
@@ -43,4 +43,20 @@ signature DOMAIN = sig
     (* Names of all system nodes *)
     val nodeMap : string Ast.StringMap.map
     (* Map node names to IP addresses *)
+    val nodeIp : string -> string
+    (* Look up a node in nodeMap *)
+
+    val setUser : string -> unit
+    val getUser : unit -> string
+    (* Name of the UNIX user providing this configuration *)
+
+    val your_domains : unit -> DataStructures.StringSet.set
+    (* The domains the current user may configure *)
+
+    val your_users : unit -> DataStructures.StringSet.set
+    val your_groups : unit -> DataStructures.StringSet.set
+    val your_paths : unit -> DataStructures.StringSet.set
+    (* UNIX users, groups, and paths the user may act with *)
+
+    val set_context : OpenSSL.context -> unit
 end