HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MySQL password changing
[hcoop/domtool2.git]
/
src
/
slave.sig
diff --git
a/src/slave.sig
b/src/slave.sig
index
52c9381
..
b9abecd
100644
(file)
--- a/
src/slave.sig
+++ b/
src/slave.sig
@@
-27,6
+27,7
@@
signature SLAVE = sig
type file_status = {action : file_action,
domain : string,
type file_status = {action : file_action,
domain : string,
+ dir : string,
file : string}
val registerFileHandler : (file_status -> unit) -> unit
file : string}
val registerFileHandler : (file_status -> unit) -> unit
@@
-52,4
+53,11
@@
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. *)
(* 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 *)
end
end