diff options
-rw-r--r-- | src/main/kotlin/NinePTranslator.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/NinePTranslator.kt b/src/main/kotlin/NinePTranslator.kt index 02c8ef4..ef76cc6 100644 --- a/src/main/kotlin/NinePTranslator.kt +++ b/src/main/kotlin/NinePTranslator.kt @@ -29,7 +29,7 @@ interface NinePTranslator { /** * Perform authentication. */ - fun auth() + fun auth(afid: UInt, uname: String, aname: String) /** * Abort a message. @@ -59,12 +59,12 @@ interface NinePTranslator { /** * Transfer data from file. */ - fun read(path: String) + fun read(fid: UInt, offset: ULong, count: UInt): String? /** * Transfer data to file. */ - fun write(path: String) + fun write(fid: UInt, offset: ULong, count: UInt, data: Iterable<UByte>): String? /** * Forget about an FID. |