blob: 6cc5f06916890b543d944b85e473629b0b7db9bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
Cookiesrv: module {
PATH: con "/dis/charon/cookiesrv.dis";
Client: adt {
fd: ref Sys->FD;
set: fn(c: self ref Client,host, path, cookie: string);
getcookies: fn(c: self ref Client, host, path: string, secure: int): string;
};
# save interval is in minutes
start: fn(path: string, saveinterval: int): ref Client;
};
|