summaryrefslogtreecommitdiff
path: root/main/jni/jniglue.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/jni/jniglue.h')
-rw-r--r--main/jni/jniglue.h9
1 files changed, 9 insertions, 0 deletions
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