X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/8df2e702cf3e5ed9b8433585b357bbcd9f0d623e..b3159a7069504fe2fb2b781cd6f438decaf0937a:/src/slave.sig diff --git a/src/slave.sig b/src/slave.sig index 76a4b05..7d78217 100644 --- a/src/slave.sig +++ b/src/slave.sig @@ -27,6 +27,7 @@ signature SLAVE = sig type file_status = {action : file_action, domain : string, + dir : string, file : string} val registerFileHandler : (file_status -> unit) -> unit @@ -47,4 +48,12 @@ signature SLAVE = sig (* Search through the result configuration hierarchy for all files matching * the predicate, concatenating their contents in arbitrary order to the * given file. *) + + val enumerateTo : (string -> bool) -> string -> string -> unit + (* 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 *) end