diff options
author | Edoardo La Greca | 2025-07-24 21:02:29 +0200 |
---|---|---|
committer | Edoardo La Greca | 2025-07-24 21:02:29 +0200 |
commit | 514b17dd9fbd09f6c07eb964c339ca8bd413d08d (patch) | |
tree | 279f3899a71a6a117602861a40e9ef8eb5a24e62 /src | |
parent | cef54605b799d29f49c1774d3f8cd00803ed68ca (diff) |
move initNineP to NinePMacros.kt
Diffstat (limited to 'src')
-rw-r--r-- | src/main/kotlin/NinePMacros.kt | 6 | ||||
-rw-r--r-- | src/main/kotlin/Utils.kt | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/src/main/kotlin/NinePMacros.kt b/src/main/kotlin/NinePMacros.kt new file mode 100644 index 0000000..738732b --- /dev/null +++ b/src/main/kotlin/NinePMacros.kt @@ -0,0 +1,6 @@ +/** + * Handy function that initializes the 9P connection. + */ +fun initNineP(npconn: NinePConnection) { + // TODO: implement +}
\ No newline at end of file diff --git a/src/main/kotlin/Utils.kt b/src/main/kotlin/Utils.kt index 2f5dbd4..45185de 100644 --- a/src/main/kotlin/Utils.kt +++ b/src/main/kotlin/Utils.kt @@ -1,5 +1,3 @@ -import java.net.InetAddress - const val DEFAULT_9P_PORT: UShort = 564u const val DEFAULT_9P_TLS_PORT: UShort = 17020u @@ -37,11 +35,4 @@ fun nineAddressToValues(nineAddress: String): Pair<String, UShort> { } return Pair(address, port) -} - -/** - * Handy function that initializes the 9P connection. - */ -fun initNineP(npconn: NinePConnection) { - // TODO: implement }
\ No newline at end of file |