summaryrefslogtreecommitdiff
path: root/main/src/main/cpp/opvpnutil/jniglue.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/main/cpp/opvpnutil/jniglue.h')
-rw-r--r--main/src/main/cpp/opvpnutil/jniglue.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/main/src/main/cpp/opvpnutil/jniglue.h b/main/src/main/cpp/opvpnutil/jniglue.h
new file mode 100644
index 00000000..8f813b64
--- /dev/null
+++ b/main/src/main/cpp/opvpnutil/jniglue.h
@@ -0,0 +1,21 @@
+//
+// jniglue.h
+// xcopenvpn
+//
+// Created by Arne Schwabe on 29.03.12.
+// Copyright (c) 2012 Universität Paderborn. All rights reserved.
+//
+
+#ifndef xcopenvpn_jniglue_h
+#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