diff options
Diffstat (limited to 'wrappers/python/eduvpn_common/main.py')
| -rw-r--r-- | wrappers/python/eduvpn_common/main.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wrappers/python/eduvpn_common/main.py b/wrappers/python/eduvpn_common/main.py index cd26ca4..ea0ebb3 100644 --- a/wrappers/python/eduvpn_common/main.py +++ b/wrappers/python/eduvpn_common/main.py @@ -5,6 +5,8 @@ from typing import Any, Callable, Iterator, Optional from eduvpn_common.loader import initialize_functions, load_lib from eduvpn_common.types import ( + GotProxyFD, + ProxyReady, ReadRxBytes, TokenGetter, TokenSetter, @@ -345,13 +347,14 @@ class EduVPN(object): forwardError(dropped_err) return dropped - def start_proxyguard(self, listen: str, source_port: int, peer: str): + def start_proxyguard(self, listen: str, source_port: int, peer: str, gotfd: GotProxyFD, ready: ProxyReady): proxy_err = self.go_cookie_function( self.lib.StartProxyguard, listen, source_port, peer, - 0, + gotfd, + ready, ) if proxy_err: forwardError(proxy_err) |
