blob: c1bd3a78f2ee0a106e1ad9392e2dfbd7ed096e23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Srvmgr: module
{
PATH: con "/dis/collab/srvmgr.dis";
Srvreq: adt {
sname: string;
id: string;
pick {
Acquire =>
uname: string;
reply: chan of Srvreply;
Release =>
}
};
Srvreply: type (
string, # error
string, # root path
ref Sys->FD # styx fd
);
init: fn(cfg: string): (string, chan of ref Srvreq);
};
|