Added concept of multiple nodes
[hcoop/domtool2.git] / src / domain.sig
index 8c79274..c2ebb95 100644 (file)
@@ -31,7 +31,11 @@ signature DOMAIN = sig
 
     val currentDomain : unit -> string
 
-    val domainFile : string -> TextIO.outstream
-    (* Open one of the current domain's configuration files. *)
+    val domainFile : {node : string, name : string} -> TextIO.outstream
+    (* Open one of the current domain's configuration files for a particular
+     * node. *)
 
+    val dnsMaster : unit -> string option
+    (* Name of the node that is the DNS master for the current domain, if there
+     * is one *)
 end