From aaab9bcca9a6fd14bd8496059b80b984906db6bc Mon Sep 17 00:00:00 2001 From: forsyth Date: Fri, 5 Feb 2010 11:01:55 +0000 Subject: 20100205-1101 --- module/secstore.m | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'module') 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; -- cgit v1.2.3