From 4a23134e1e5d70a9c8c5857790dbf27585ca3b1f Mon Sep 17 00:00:00 2001 From: Jeroen Wijenbergh Date: Fri, 29 Aug 2025 14:05:20 +0200 Subject: Discovery: Add cache argument and embed unmarshal on startup --- wrappers/python/eduvpn_common/loader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wrappers/python/eduvpn_common/loader.py') diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py index 6957c15..870f0b4 100644 --- a/wrappers/python/eduvpn_common/loader.py +++ b/wrappers/python/eduvpn_common/loader.py @@ -49,8 +49,8 @@ def initialize_functions(lib: CDLL) -> None: lib.Deregister.argtypes, lib.Deregister.restype = [], None lib.ExpiryTimes.argtypes, lib.ExpiryTimes.restype = [], DataError lib.FreeString.argtypes, lib.FreeString.restype = [c_void_p], None - lib.DiscoOrganizations.argtypes, lib.DiscoOrganizations.restype = [c_int, c_char_p], DataError - lib.DiscoServers.argtypes, lib.DiscoServers.restype = [c_int, c_char_p], DataError + lib.DiscoOrganizations.argtypes, lib.DiscoOrganizations.restype = [c_int, c_int, c_char_p], DataError + lib.DiscoServers.argtypes, lib.DiscoServers.restype = [c_int, c_int, c_char_p], DataError lib.GetConfig.argtypes, lib.GetConfig.restype = ( [ c_int, -- cgit v1.2.3