From d0f4303ee5ccecc876fdfae1ce858369e3a323b7 Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Tue, 2 May 2023 13:06:50 +0200 Subject: Client + FSM: Check transitions and add SetState Also make sure GotConfig can be used to go back to --- wrappers/python/eduvpn_common/loader.py | 3 +++ 1 file changed, 3 insertions(+) (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 1a172af..afad569 100644 --- a/wrappers/python/eduvpn_common/loader.py +++ b/wrappers/python/eduvpn_common/loader.py @@ -102,6 +102,9 @@ def initialize_functions(lib: CDLL) -> None: lib.SetSupportWireguard.argtypes, lib.SetSupportWireguard.restype = [ c_int, ], c_void_p + lib.SetState.argtypes, lib.SetState.restype = [ + c_int, + ], c_void_p lib.StartFailover.argtypes, lib.StartFailover.restype = [ c_int, c_char_p, -- cgit v1.2.3