summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/loader.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-26 17:09:52 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-26 17:09:52 +0200
commit516a25eb926a8b9a879e4f38c86d4dbb9b9e0948 (patch)
tree5e1adb12ebab7b6f770102a179afb2a7db9e479f /wrappers/python/eduvpn_common/loader.py
parentb4be281671ecfe5c1e6f831614ca1dde48522cd7 (diff)
Client + Exports + Python: Add a function for getting the current server
Diffstat (limited to 'wrappers/python/eduvpn_common/loader.py')
-rw-r--r--wrappers/python/eduvpn_common/loader.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py
index 9463ab1..4b820bf 100644
--- a/wrappers/python/eduvpn_common/loader.py
+++ b/wrappers/python/eduvpn_common/loader.py
@@ -102,6 +102,7 @@ def initialize_functions(lib: CDLL) -> None:
c_char_p
], DataError
lib.GetDiscoServers.argtypes, lib.GetDiscoServers.restype = [c_char_p], DataError
+ lib.GetCurrentServer.argtypes, lib.GetCurrentServer.restype = [c_char_p], DataError
lib.GetSavedServers.argtypes, lib.GetSavedServers.restype = [c_char_p], DataError
lib.GoBack.argtypes, lib.GoBack.restype = [c_char_p], None
lib.InFSMState.argtypes, lib.InFSMState.restype = [c_void_p, c_int], int