summaryrefslogtreecommitdiff
path: root/module/alphabet/reports.m
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-22 20:52:35 +0000
commit46439007cf417cbd9ac8049bb4122c890097a0fa (patch)
tree6fdb25e5f3a2b6d5657eb23b35774b631d4d97e4 /module/alphabet/reports.m
parent37da2899f40661e3e9631e497da8dc59b971cbd0 (diff)
20060303-partial
Diffstat (limited to 'module/alphabet/reports.m')
-rw-r--r--module/alphabet/reports.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/module/alphabet/reports.m b/module/alphabet/reports.m
new file mode 100644
index 00000000..e1cd49d2
--- /dev/null
+++ b/module/alphabet/reports.m
@@ -0,0 +1,16 @@
+Reports: module {
+ PATH: con "/dis/alphabet/reports.dis";
+ Report: adt {
+ startc: chan of (string, chan of string, chan of int);
+ enablec: chan of int;
+
+ enable: fn(r: self ref Report);
+ start: fn(r: self ref Report, name: string): chan of string;
+ add: fn(r: self ref Report, name: string, errorc: chan of string, stopc: chan of int);
+ };
+ KILL, PROPAGATE: con 1<<iota;
+ reportproc: fn(errorc: chan of string, stopc: chan of int, reply: chan of ref Report);
+ quit: fn(errorc: chan of string);
+ report: fn(errorc: chan of string, err: string);
+ newpgrp: fn(stopc: chan of int, flags: int): chan of int;
+};