diff options
author | cyBerta <cyberta@riseup.net> | 2017-09-21 00:57:47 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2017-09-21 00:57:47 +0200 |
commit | e5b3484d2723f7c9ecc8eb84c6574888799844e1 (patch) | |
tree | 01f310e2f48087a924c6fb7ccf148c2ad7c6ed08 /app/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl | |
parent | 0805826ea742ff1db853e3a66dde71608c3de3b7 (diff) |
update ics-openvpn: add new aidl interface definitions
Diffstat (limited to 'app/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl')
-rw-r--r-- | app/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl b/app/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl new file mode 100644 index 00000000..3958bcf3 --- /dev/null +++ b/app/src/main/aidl/de/blinkt/openvpn/core/IOpenVPNServiceInternal.aidl @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2012-2016 Arne Schwabe + * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt + */ + +package de.blinkt.openvpn.core; + +/** + * Created by arne on 15.11.16. + */ + +interface IOpenVPNServiceInternal { + + boolean protect(int fd); + + void userPause(boolean b); + + /** + * @param replaceConnection True if the VPN is connected by a new connection. + * @return true if there was a process that has been send a stop signal + */ + boolean stopVPN(boolean replaceConnection); +} |