summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/loader.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-08-12 11:33:52 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-08-12 11:50:48 +0200
commit05c180e7b28c4659b55e5bf1ebc4847e5b62230e (patch)
treea3e33763a46076bcd6542899bcfce075d381be23 /wrappers/python/eduvpn_common/loader.py
parentf3c04d56ca67c2ff0b08bf75cc51ea8be14c84b9 (diff)
Util: Add a function to calculate the gateway
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 4bfc55f..e163148 100644
--- a/wrappers/python/eduvpn_common/loader.py
+++ b/wrappers/python/eduvpn_common/loader.py
@@ -99,6 +99,7 @@ def initialize_functions(lib: CDLL) -> None:
],
c_void_p,
)
+ lib.CalculateGateway.argtypes, lib.CalculateGateway.restype = [c_char_p], DataError
lib.Cleanup.argtypes, lib.Cleanup.restype = [c_int], c_void_p
lib.SetProfileID.argtypes, lib.SetProfileID.restype = [c_char_p], c_void_p
lib.CookieNew.argtypes, lib.CookieNew.restype = [], c_int