diff options
Diffstat (limited to 'wrappers/python/eduvpn_common/loader.py')
| -rw-r--r-- | wrappers/python/eduvpn_common/loader.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py index 036c201..673d180 100644 --- a/wrappers/python/eduvpn_common/loader.py +++ b/wrappers/python/eduvpn_common/loader.py @@ -8,6 +8,7 @@ from eduvpn_common.types import ( cToken, DataError, ReadRxBytes, + UpdateToken, VPNStateChange, ) @@ -68,6 +69,7 @@ def initialize_functions(lib: CDLL) -> None: ], c_void_p lib.Deregister.argtypes, lib.Deregister.restype = [c_char_p], None lib.FreeConfig.argtypes, lib.FreeConfig.restype = [c_void_p], None + lib.FreeTokens.argtypes, lib.FreeTokens.restype = [c_void_p], None lib.FreeDiscoOrganizations.argtypes, lib.FreeDiscoOrganizations.restype = [ c_void_p ], None @@ -112,6 +114,10 @@ def initialize_functions(lib: CDLL) -> None: VPNStateChange, c_int, ], c_void_p + lib.SetTokenUpdater.argtypes, lib.SetTokenUpdater.restype = [ + c_char_p, + UpdateToken, + ], c_void_p lib.RemoveCustomServer.argtypes, lib.RemoveCustomServer.restype = [ c_char_p, c_char_p, |
