blob: bd9fdb5a9d171a9876f34ce12bb49c0e3563edfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
Filter: module
{
DEFLATEPATH: con "/dis/lib/deflate.dis";
INFLATEPATH: con "/dis/lib/inflate.dis";
SLIPPATH: con "/dis/lib/slip.dis";
Rq: adt {
pick {
Start =>
pid: int;
Fill or Result =>
buf: array of byte;
reply: chan of int;
Info =>
msg: string;
Finished =>
buf: array of byte;
Error =>
e: string;
}
};
init: fn();
start: fn(param: string): chan of ref Rq;
};
|