ref: 249dc0489c7b24371e1f829e9c849fa7464f6c0c
dir: /appl/collab/srvmgr.m/
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);
};