summaryrefslogtreecommitdiffstats
path: root/src/openvpn/manage.h
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-04-30 21:29:11 +0200
committerGert Doering <gert@greenie.muc.de>2013-05-01 12:25:23 +0200
commita55b3cdb236ebfd181c24f54ead4b4c27c7bdda7 (patch)
treeab6cc8db16f4a3b71fc7f37b59763f22ca094dd1 /src/openvpn/manage.h
parentad2df7b983eadbdc81fe0cf92543cad27b8f8882 (diff)
downloadopenvpn-a55b3cdb236ebfd181c24f54ead4b4c27c7bdda7.tar.gz
openvpn-a55b3cdb236ebfd181c24f54ead4b4c27c7bdda7.tar.xz
openvpn-a55b3cdb236ebfd181c24f54ead4b4c27c7bdda7.zip
Android platform specific changes.
On Android 4.0 (TARGET_ANDROID) the real opening of the tun is handled by the (Java) application controlling OpenVPN. Instead of calling ifconfig/route call the management to do the work. When running openvpn as root openvpn should be compiled as TARGET_LINUX Signed-off-by: Arne Schwabe <arne@rfc2549.org> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1367350151-23089-1-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/7570 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/manage.h')
-rw-r--r--src/openvpn/manage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openvpn/manage.h b/src/openvpn/manage.h
index f5d776e..b08bb78 100644
--- a/src/openvpn/manage.h
+++ b/src/openvpn/manage.h
@@ -376,6 +376,10 @@ bool management_query_user_pass (struct management *man,
const unsigned int flags,
const char *static_challenge);
+#ifdef TARGET_ANDROID
+bool management_android_control (struct management *man, const char *command, const char *msg);
+#endif
+
bool management_should_daemonize (struct management *man);
bool management_would_hold (struct management *man);
bool management_hold (struct management *man);