From 62a55a6fec96a2fc3938ff76a4b9694ad5de3d05 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Sun, 6 Jun 2021 10:40:58 -0700 Subject: [PATCH] api call for QueryACNVersion --- lib.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib.go b/lib.go index c01444a..de59552 100644 --- a/lib.go +++ b/lib.go @@ -570,6 +570,15 @@ func ResetTor() { globalACN.Restart() } +//export c_QueryACNVersion +func c_QueryACNVersion() { + QueryACNVersion() +} + +func QueryACNVersion() { + application.QueryACNVersion() +} + //export c_CreateGroup func c_CreateGroup(profile_ptr *C.char, profile_len C.int, server_ptr *C.char, server_len C.int, name_ptr *C.char, name_len C.int) { profile := C.GoStringN(profile_ptr, profile_len)