Merge pull request 'api call for QueryACNVersion' (#47) from acnver into trunk
continuous-integration/drone/push Build is passing Details

Reviewed-on: #47
This commit is contained in:
Sarah Jamie Lewis 2021-06-07 09:13:58 -07:00
commit 4dd8d74bfb
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)