xref: /inferno-os/module/grid/demo/block.m (revision 46439007cf417cbd9ac8049bb4122c890097a0fa)
1Block : module
2{
3	PATH: con "/dis/grid/demo/block.dis";
4
5	init : fn (pathname: string, ep: Exproc);
6	slave : fn ();
7	writedata : fn (s: string);
8	masterinit : fn (noblocks: int);
9	reader : fn (noblocks: int, chanout: chan of string, sync: chan of int);
10	makefile : fn (block: int, let: string): string;
11	err : fn (s: string);
12	cleanfiles : fn (delpath: string);
13	isin : fn (l: list of string, s: string): int;
14};