Cron and FTP queries
[hcoop/domtool2.git] / src / slave.sig
index 10d2071..a3d322f 100644 (file)
@@ -53,4 +53,15 @@ signature SLAVE = sig
     (* Search through the result configuration hierarchy for all files matching
      * the predicate, writing a list of their domains to the file named by the
      * third argument, delimiting the entries with the second argument. *)
+
+    val hostname : unit -> string
+    (* Get hostname of this machine *)
+
+    val readList : string -> string list
+    val writeList : string * string list -> unit
+    (* Reading and writing lists of strings stored on separate lines in files *)
+
+    val lineInFile : string -> string -> bool
+    (* Is there a line in the file (first arg) that matches that given? *)
+
 end