diff options
| author | Edoardo La Greca | 2025-08-07 18:40:35 +0200 |
|---|---|---|
| committer | Edoardo La Greca | 2025-08-07 19:03:36 +0200 |
| commit | f7113c94abce7deec8bece794a3748cbee8a9a08 (patch) | |
| tree | 0c007821b57585bec59534c70e57b2a79886de4b /src/main/kotlin/ProtocolTranslator.kt | |
| parent | 39fb93f4d6601f046ac3678fa9a994b0d60bc163 (diff) | |
implement attach
Diffstat (limited to 'src/main/kotlin/ProtocolTranslator.kt')
| -rw-r--r-- | src/main/kotlin/ProtocolTranslator.kt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/kotlin/ProtocolTranslator.kt b/src/main/kotlin/ProtocolTranslator.kt index 0cdfa53..4dad240 100644 --- a/src/main/kotlin/ProtocolTranslator.kt +++ b/src/main/kotlin/ProtocolTranslator.kt @@ -43,8 +43,14 @@ interface ProtocolTranslator { /** * Establish a connection. + * + * @param fid FID that represents the root directory of the desired file tree. + * @param afid A FID previously established by an auth message. + * @param uname A user identifier. + * @param aname The desired file tree to access. + * @return a possible error. */ - fun attach() + fun attach(fid: UInt, afid: UInt, uname: String, aname: String): String? /** * Descend a directory hierarchy. |