summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exports/exports.go20
-rw-r--r--wrappers/python/eduvpncommon/discovery.py2
2 files changed, 11 insertions, 11 deletions
diff --git a/exports/exports.go b/exports/exports.go
index 43dfb9e..acf02e1 100644
--- a/exports/exports.go
+++ b/exports/exports.go
@@ -8,16 +8,16 @@ import "github.com/jwijenbergh/eduvpn-common/src"
// GetOrganizationsList gets the list of organizations from the disco server.
// Returns the unix timestamp of the data. This is used as key for looking up data.
//export GetOrganizationsList
-func GetOrganizationsList() uint64 {
- return eduvpn.GetOrganizationsList()
-}
-
-// GetServerList gets the list of servers from the disco server.
-// Returns the unix timestamp of the data. This is used as key for looking up data.
-//export GetServerList
-func GetServerList() uint64 {
- return eduvpn.GetServerList()
-}
+//func GetOrganizationsList() uint64 {
+// return eduvpn.GetOrganizationsList()
+//}
+//
+//// GetServerList gets the list of servers from the disco server.
+//// Returns the unix timestamp of the data. This is used as key for looking up data.
+////export GetServerList
+//func GetServerList() uint64 {
+// return eduvpn.GetServerList()
+//}
// Verify verifies a signature on a JSON file. See eduvpn.Verify for more details.
// It returns 0 for a valid signature and a nonzero eduvpn.VerifyErrorCode otherwise.
diff --git a/wrappers/python/eduvpncommon/discovery.py b/wrappers/python/eduvpncommon/discovery.py
index 79a3ee9..3ae967b 100644
--- a/wrappers/python/eduvpncommon/discovery.py
+++ b/wrappers/python/eduvpncommon/discovery.py
@@ -2,7 +2,7 @@ from . import lib, GoSlice
from ctypes import *
from enum import Enum
-lib.GetOrganizationsList.argtypes, lib.GetOrganizationsList.restype = [], c_uint64
+#lib.GetOrganizationsList.argtypes, lib.GetOrganizationsList.restype = [], c_uint64
lib.Verify.argtypes, lib.Verify.restype = [GoSlice, GoSlice, GoSlice, c_uint64], c_int64
lib.InsecureTestingSetExtraKey.argtypes, lib.InsecureTestingSetExtraKey.restype = [GoSlice], None