summaryrefslogtreecommitdiff
path: root/module/secstore.m
diff options
context:
space:
mode:
Diffstat (limited to 'module/secstore.m')
-rw-r--r--module/secstore.m18
1 files changed, 9 insertions, 9 deletions
diff --git a/module/secstore.m b/module/secstore.m
index ef9fa100..1cba9d1f 100644
--- a/module/secstore.m
+++ b/module/secstore.m
@@ -9,15 +9,15 @@ Secstore: module
privacy: fn(): int;
cansecstore: fn(addr: string, user: string): int;
mkseckey: fn(pass: string): array of byte;
- connect: fn(addr: string, user: string, pwhash: array of byte): (ref Sys->Connection, string, string);
- dial: fn(addr: string): ref Sys->Connection;
- auth: fn(conn: ref Sys->Connection, user: string, pwhash: array of byte): (string, string);
- sendpin: fn(conn: ref Sys->Connection, pin: string): int;
- files: fn(conn: ref Sys->Connection): list of (string, int, string, string, array of byte);
- getfile: fn(conn: ref Sys->Connection, filename: string, maxsize: int): array of byte;
- remove: fn(conn: ref Sys->Connection, filename: string): int;
-# putfile: fn(conn: ref Sys->Connection, filename: string, data: array of byte,): int;
- bye: fn(conn: ref Sys->Connection);
+ connect: fn(addr: string, user: string, pwhash: array of byte): (ref Dial->Connection, string, string);
+ dial: fn(addr: string): ref Dial->Connection;
+ auth: fn(conn: ref Dial->Connection, user: string, pwhash: array of byte): (string, string);
+ sendpin: fn(conn: ref Dial->Connection, pin: string): int;
+ files: fn(conn: ref Dial->Connection): list of (string, int, string, string, array of byte);
+ getfile: fn(conn: ref Dial->Connection, filename: string, maxsize: int): array of byte;
+ remove: fn(conn: ref Dial->Connection, filename: string): int;
+# putfile: fn(conn: ref Dial->Connection, filename: string, data: array of byte,): int;
+ bye: fn(conn: ref Dial->Connection);
mkfilekey: fn(pass: string): array of byte;
decrypt: fn(a: array of byte, key: array of byte): array of byte;