summaryrefslogtreecommitdiff
path: root/wrappers/python/eduvpn_common/loader.py
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-24 14:05:45 +0200
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-10-24 14:05:45 +0200
commit01cbb80b300f92c3456d3b2965630c0783607905 (patch)
treead162c4bc4bf5ebafac0d4ba44147437604c82d3 /wrappers/python/eduvpn_common/loader.py
parent56f084389a3eb6b34df86af347ce60acdeb6106b (diff)
Client + Server + Exports: Implement optional WireGuard support
Diffstat (limited to 'wrappers/python/eduvpn_common/loader.py')
-rw-r--r--wrappers/python/eduvpn_common/loader.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py
index fc3d090..9463ab1 100644
--- a/wrappers/python/eduvpn_common/loader.py
+++ b/wrappers/python/eduvpn_common/loader.py
@@ -152,4 +152,8 @@ def initialize_functions(lib: CDLL) -> None:
c_char_p,
c_char_p,
], c_void_p
+ lib.SetSupportWireguard.argtypes, lib.SetSupportWireguard.restype = [
+ c_char_p,
+ c_int,
+ ], c_void_p
lib.ShouldRenewButton.argtypes, lib.ShouldRenewButton.restype = [], int