summaryrefslogtreecommitdiff
path: root/app/jni/jniglue.h
diff options
context:
space:
mode:
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