summaryrefslogtreecommitdiff
path: root/wrappers/python
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-02-12 19:46:20 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-02-19 14:15:07 +0100
commita73197c6daed512ab34a15c75eb0a60a9dff9848 (patch)
tree358d8f2339c2fc199efcd213c120bf655e4d93bd /wrappers/python
parent9c848e6cbb3ee5881fd4d894608d8556b2201084 (diff)
Proxyguard: Support a FD callback
useful for the android app
Diffstat (limited to 'wrappers/python')
-rw-r--r--wrappers/python/eduvpn_common/loader.py1
-rw-r--r--wrappers/python/eduvpn_common/main.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/wrappers/python/eduvpn_common/loader.py b/wrappers/python/eduvpn_common/loader.py
index 38d0bb5..d608e71 100644
--- a/wrappers/python/eduvpn_common/loader.py
+++ b/wrappers/python/eduvpn_common/loader.py
@@ -130,4 +130,5 @@ def initialize_functions(lib: CDLL) -> None:
c_char_p,
c_int,
c_char_p,
+ c_void_p,
], c_void_p
diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py
index 847819d..cd26ca4 100644
--- a/wrappers/python/eduvpn_common/main.py
+++ b/wrappers/python/eduvpn_common/main.py
@@ -351,6 +351,7 @@ class EduVPN(object):
listen,
source_port,
peer,
+ 0,
)
if proxy_err:
forwardError(proxy_err)