From b320b13b5d019c26928d2f00d8cba0febacb104b Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 13 Jan 2023 13:56:26 +0100 Subject: Client + Exports: Separate cleanup from disconnect --- 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 988d827..202e2da 100644 --- a/wrappers/python/eduvpn_common/loader.py +++ b/wrappers/python/eduvpn_common/loader.py @@ -140,11 +140,11 @@ def initialize_functions(lib: CDLL) -> None: lib.RenewSession.argtypes, lib.RenewSession.restype = [c_char_p], c_void_p lib.SetConnected.argtypes, lib.SetConnected.restype = [c_char_p], c_void_p lib.SetConnecting.argtypes, lib.SetConnecting.restype = [c_char_p], c_void_p - lib.SetDisconnected.argtypes, lib.SetDisconnected.restype = [ + lib.Cleanup.argtypes, lib.Cleanup.restype = [ c_char_p, - c_int, cToken, ], c_void_p + lib.SetDisconnected.argtypes, lib.SetDisconnected.restype = [c_char_p], c_void_p lib.SetDisconnecting.argtypes, lib.SetDisconnecting.restype = [c_char_p], c_void_p lib.SetProfileID.argtypes, lib.SetProfileID.restype = [c_char_p, c_char_p], c_void_p lib.SetSearchServer.argtypes, lib.SetSearchServer.restype = [c_char_p], c_void_p -- cgit v1.2.3