summaryrefslogtreecommitdiff
path: root/appl/cmd/auth/factotum/authio.m
diff options
context:
space:
mode:
Diffstat (limited to 'appl/cmd/auth/factotum/authio.m')
-rw-r--r--appl/cmd/auth/factotum/authio.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/appl/cmd/auth/factotum/authio.m b/appl/cmd/auth/factotum/authio.m
index 7c0565b5..a156daba 100644
--- a/appl/cmd/auth/factotum/authio.m
+++ b/appl/cmd/auth/factotum/authio.m
@@ -47,12 +47,15 @@ Authio: module
rpc: ref Rpc;
findkey: fn(io: self ref IO, attrs: list of ref Attr, extra: string): (ref Key, string);
+ findkeys: fn(io: self ref IO, attrs: list of ref Attr, extra: string): (list of ref Key, string);
needkey: fn(io: self ref IO, attrs: list of ref Attr, extra: string): (ref Key, string);
read: fn(io: self ref IO): array of byte;
readn: fn(io: self ref IO, n: int): array of byte;
write: fn(io: self ref IO, buf: array of byte, n: int): int;
toosmall: fn(io: self ref IO, n: int);
error: fn(io: self ref IO, s: string);
+ rdwr: fn(io: self ref IO): array of byte;
+ reply2read: fn(io: self ref IO, a: array of byte, n: int): int;
ok: fn(io: self ref IO);
done: fn(io: self ref IO, ai: ref Authinfo);
};
@@ -71,10 +74,12 @@ Authio: module
user: fn(): string;
lookattrval: fn(a: list of ref Attr, n: string): string;
parseline: fn(s: string): list of ref Attr;
+ attrtext: fn(a: list of ref Attr): string;
};
Authproto: module
{
init: fn(f: Authio): string;
interaction: fn(attrs: list of ref Authio->Attr, io: ref Authio->IO): string;
+ keycheck: fn(k: ref Authio->Key): string;
};