summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/loader.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2023-03-20 15:56:33 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2023-09-25 09:43:37 +0200
commit2388b826cc8c0507bc840a728d005450d91adf4b (patch)
tree01efd5c44d9ce9cee30f291d8d5ae5db726a5732 /wrappers/python/eduvpn_common/loader.py
parent19882f158fec139622ffe5b52bc9e834a9d3246e (diff)
Exports + Python: Use an enum for server type
Diffstat (limited to 'wrappers/python/eduvpn_common/loader.py')
-rw-r--r--wrappers/python/eduvpn_common/loader.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py
index c5709fb..e57e81d 100644
--- a/wrappers/python/eduvpn_common/loader.py
+++ b/wrappers/python/eduvpn_common/loader.py
@@ -64,18 +64,18 @@ def initialize_functions(lib: CDLL) -> None:
lib.DiscoOrganizations.argtypes, lib.DiscoOrganizations.restype = [], DataError
lib.DiscoServers.argtypes, lib.DiscoServers.restype = [], DataError
lib.GetConfig.argtypes, lib.GetConfig.restype = [
- c_char_p,
+ c_int,
c_char_p,
c_int,
c_char_p,
], DataError
lib.AddServer.argtypes, lib.AddServer.restype = [
- c_char_p,
+ c_int,
c_char_p,
], c_char_p
lib.CurrentServer.argtypes, lib.CurrentServer.restype = [], DataError
lib.RemoveServer.argtypes, lib.RemoveServer.restype = [
- c_char_p,
+ c_int,
c_char_p,
], c_char_p
lib.ServerList.argtypes, lib.ServerList.restype = [], DataError