api call for QueryACNVersion #47

Merged
sarah merged 2 commits from acnver into trunk 2021-06-07 16:13:59 +00:00
1 changed files with 9 additions and 0 deletions

9
lib.go
View File

@ -573,6 +573,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)