From 5dc503314511f3041b4674569ba03c10714f7625 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 26 Nov 2014 00:04:25 +0100 Subject: Implement getting local interfaces via native API and without OpenVPN. Fixes allow local LAN on Android 5.0 --HG-- extra : rebase_source : ac79c41800905f3aeb23ce49a617ab226a6473c0 --- main/jni/jniglue.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'main/jni/jniglue.h') diff --git a/main/jni/jniglue.h b/main/jni/jniglue.h index a86d52da..8f813b64 100644 --- a/main/jni/jniglue.h +++ b/main/jni/jniglue.h @@ -10,3 +10,12 @@ #define xcopenvpn_jniglue_h void android_openvpn_log(int level,const char* prefix,const char* prefix_sep,const char* m1); #endif + +#ifdef __cplusplus +extern "C" { +#endif + int jniThrowException(JNIEnv* env, const char* className, const char* msg); + +#ifdef __cplusplus +} +#endif -- cgit v1.2.3