summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2010-02-05 11:01:55 +0000
committerforsyth <forsyth@vitanuova.com>2010-02-05 11:01:55 +0000
commitaaab9bcca9a6fd14bd8496059b80b984906db6bc (patch)
treee17885b21ac218b0ae9eb3ff3fdcc91e6d9bd1a6 /module
parentcfa39d5adff9be3c5f695c2c28cffb5f93dd4598 (diff)
20100205-1101
Diffstat (limited to 'module')
-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;