From 514b17dd9fbd09f6c07eb964c339ca8bd413d08d Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Thu, 24 Jul 2025 21:02:29 +0200 Subject: move initNineP to NinePMacros.kt --- src/main/kotlin/NinePMacros.kt | 6 ++++++ src/main/kotlin/Utils.kt | 9 --------- 2 files changed, 6 insertions(+), 9 deletions(-) create mode 100644 src/main/kotlin/NinePMacros.kt (limited to 'src') 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 { } return Pair(address, port) -} - -/** - * Handy function that initializes the 9P connection. - */ -fun initNineP(npconn: NinePConnection) { - // TODO: implement } \ No newline at end of file -- cgit v1.2.3