blob: 351b2893f5e1cf7388faf26143df987f713e4936 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/**
* Data for initializing the 9P protocol using [ProtocolTranslator.version], [ProtocolTranslator.auth], and
* [ProtocolTranslator.attach].
*
* @param msize A value for the `msize` field in the `version` message.
* @param version A value for the `version` field in the `version` message.
* @param uname A value for the `uname` field in the `auth` and `attach` messages.
* @param aname A value for the `aname` field in the `auth` and `attach` messages.
* @param rootFid A value for the root `fid` in the `attach` message.
* @param auth An [Authenticator] implementation used for authenticating the user.
*/
data class ProtocolInitData(
val msize: UInt,
val version: String,
val uname: String,
val aname: String,
val rootFid: UInt,
val auth: Authenticator
)
|