summaryrefslogtreecommitdiff
path: root/appl/charon/charon.m
blob: 3a6e45c0149921dc20b5e414d482b619c340c782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Charon : module
{
	PATH: con "/dis/charon.dis";

	Context: adt {
		ctxt: ref Draw->Context;
		args: list of string;
		c: chan of string;
		cksrv: Cookiesrv;
		ckclient: ref Cookiesrv->Client;
	};

	init: fn(ctxt: ref Draw->Context, argv: list of string);
	initc: fn(ctxt: ref Context);
	histinfo: fn(): (int, string, string, string);
	startcharon: fn(url: string, c: chan of string);
	hasopener: fn(): int;
	sendopener: fn(s: string);
	gettop: fn(): ref Layout->Frame;
};