xref: /inferno-os/appl/acme/styxaux.m (revision 37da2899f40661e3e9631e497da8dc59b971cbd0)
1Styxaux : module {
2	PATH : con "/dis/acme/styxaux.dis";
3
4	init : fn();
5
6	msize: fn(m: ref Styx->Tmsg): int;
7	version: fn(m: ref Styx->Tmsg): string;
8	fid: fn(m: ref Styx->Tmsg): int;
9	uname: fn(m: ref Styx->Tmsg): string;
10	aname: fn(m: ref Styx->Tmsg): string;
11	newfid: fn(m: ref Styx->Tmsg): int;
12	name: fn(m: ref Styx->Tmsg): string;
13	names: fn(m: ref Styx->Tmsg): array of string;
14	mode: fn(m: ref Styx->Tmsg): int;
15	offset: fn(m: ref Styx->Tmsg): big;
16	count: fn(m: ref Styx->Tmsg): int;
17	oldtag: fn(m: ref Styx->Tmsg): int;
18	data: fn(m: ref Styx->Tmsg): array of byte;
19
20	setmode: fn(m: ref Styx->Tmsg, mode: int);
21	setcount: fn(m: ref Styx->Tmsg, count: int);
22	setdata: fn(m: ref Styx->Tmsg, data: array of byte);
23
24};
25