From 040db9385581f2c3511e1d1648c83a1020b8c250 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 8 Jul 2022 18:40:49 +0200 Subject: Python + Exports: Fix discovery function names --- exports/exports.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'exports') diff --git a/exports/exports.go b/exports/exports.go index 2f5c357..ed47d91 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -143,8 +143,8 @@ func GetConfigCustomServer(name *C.char, url *C.char, forceTCP C.int) (*C.char, return C.CString(config), C.CString(configType), C.CString(ErrorToString(configErr)) } -//export GetOrganizationsList -func GetOrganizationsList(name *C.char) (*C.char, *C.char) { +//export GetDiscoOrganizations +func GetDiscoOrganizations(name *C.char) (*C.char, *C.char) { nameStr := C.GoString(name) state, stateErr := GetVPNState(nameStr) if stateErr != nil { @@ -154,8 +154,8 @@ func GetOrganizationsList(name *C.char) (*C.char, *C.char) { return C.CString(organizations), C.CString(ErrorToString(organizationsErr)) } -//export GetServersList -func GetServersList(name *C.char) (*C.char, *C.char) { +//export GetDiscoServers +func GetDiscoServers(name *C.char) (*C.char, *C.char) { nameStr := C.GoString(name) state, stateErr := GetVPNState(nameStr) if stateErr != nil { -- cgit v1.2.3