diff options
Diffstat (limited to 'wrappers/python/eduvpn_common/loader.py')
| -rw-r--r-- | wrappers/python/eduvpn_common/loader.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py index 1090619..f0f31d6 100644 --- a/wrappers/python/eduvpn_common/loader.py +++ b/wrappers/python/eduvpn_common/loader.py @@ -5,7 +5,7 @@ from ctypes import CDLL, c_char_p, c_int, c_void_p, cdll from eduvpn_common import __version__ from eduvpn_common.types import ( - ConfigError, + cToken, DataError, ReadRxBytes, VPNStateChange, @@ -67,6 +67,7 @@ def initialize_functions(lib: CDLL) -> None: c_char_p ], c_void_p lib.Deregister.argtypes, lib.Deregister.restype = [c_char_p], None + lib.FreeConfig.argtypes, lib.FreeConfig.restype = [c_void_p], None lib.FreeDiscoOrganizations.argtypes, lib.FreeDiscoOrganizations.restype = [ c_void_p ], None @@ -81,17 +82,20 @@ def initialize_functions(lib: CDLL) -> None: c_char_p, c_char_p, c_int, - ], ConfigError + cToken, + ], DataError lib.GetConfigInstituteAccess.argtypes, lib.GetConfigInstituteAccess.restype = [ c_char_p, c_char_p, c_int, - ], ConfigError + cToken, + ], DataError lib.GetConfigSecureInternet.argtypes, lib.GetConfigSecureInternet.restype = [ c_char_p, c_char_p, c_int, - ], ConfigError + cToken, + ], DataError lib.GetDiscoOrganizations.argtypes, lib.GetDiscoOrganizations.restype = [ c_char_p ], DataError |
