summaryrefslogtreecommitdiffstats
path: root/src/openvpn/manage.h
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2015-09-15 11:23:32 +0200
committerGert Doering <gert@greenie.muc.de>2015-09-15 12:47:45 +0200
commit300039789b23216f1733890063cef3120722f4cf (patch)
treeaaf5c4d6487dd796828c00f10a3aef986cd860fe /src/openvpn/manage.h
parent1d11134feee33689904ded0c6a0108e865d17d7e (diff)
downloadopenvpn-300039789b23216f1733890063cef3120722f4cf.tar.gz
openvpn-300039789b23216f1733890063cef3120722f4cf.tar.xz
openvpn-300039789b23216f1733890063cef3120722f4cf.zip
Add support for requesting the fd again to rebind to the next interface.
This not done via android_control since calling management from management leads to an infinitive loop Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1442309019-7586-2-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/10110 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/manage.h')
-rw-r--r--src/openvpn/manage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/openvpn/manage.h b/src/openvpn/manage.h
index 8d6e87e..7318377 100644
--- a/src/openvpn/manage.h
+++ b/src/openvpn/manage.h
@@ -173,6 +173,9 @@ struct management_callback
#endif
bool (*proxy_cmd) (void *arg, const char **p);
bool (*remote_cmd) (void *arg, const char **p);
+#ifdef TARGET_ANDROID
+ int (*network_change) (void *arg);
+#endif
};
/*