summaryrefslogtreecommitdiff
path: root/app/jni/jniglue.h
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-12-23 20:09:25 +0100
committerParménides GV <parmegv@sdf.org>2014-12-23 20:09:25 +0100
commit44b59b984f76da62d409b585047224cb1e958016 (patch)
tree1a8d7f85690ce56196855fa969e86b1e53d813f3 /app/jni/jniglue.h
parentb3f0c7b3111efc1066423925b02a9edf9e15eaa7 (diff)
parentd6190becb1c48ee912b11a4206116d0fd4c90772 (diff)
Merge branch 'bug/Try-different-ports-to-connect-to-the-openvpn-server-#6560' into develop
Diffstat (limited to 'app/jni/jniglue.h')
-rw-r--r--app/jni/jniglue.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/jni/jniglue.h b/app/jni/jniglue.h
index a86d52da..8f813b64 100644
--- a/app/jni/jniglue.h
+++ b/app/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