aboutsummaryrefslogtreecommitdiffstats
path: root/java-c-jni
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-02-09 09:42:57 +0100
committerMattias Andrée <maandree@operamail.com>2013-02-09 09:43:08 +0100
commitf0a6834475ca0eb6d1c3f7575bcfc33aa23462a5 (patch)
treec1db42922dc6fb9c8168f8286f89c5c87d8ae2b8 /java-c-jni
parentbeginning jni implemenetation (diff)
downloadsha3sum-f0a6834475ca0eb6d1c3f7575bcfc33aa23462a5.tar.gz
sha3sum-f0a6834475ca0eb6d1c3f7575bcfc33aa23462a5.tar.bz2
sha3sum-f0a6834475ca0eb6d1c3f7575bcfc33aa23462a5.tar.xz
generate h file with `javah SHA3`
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'java-c-jni')
-rw-r--r--java-c-jni/SHA3.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/java-c-jni/SHA3.h b/java-c-jni/SHA3.h
new file mode 100644
index 0000000..027cf41
--- /dev/null
+++ b/java-c-jni/SHA3.h
@@ -0,0 +1,37 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class SHA3 */
+
+#ifndef _Included_SHA3
+#define _Included_SHA3
+#ifdef __cplusplus
+extern "C" {
+#endif
+/*
+ * Class: SHA3
+ * Method: initialise
+ * Signature: (III)V
+ */
+JNIEXPORT void JNICALL Java_SHA3_initialise
+ (JNIEnv *, jclass, jint, jint, jint);
+
+/*
+ * Class: SHA3
+ * Method: update
+ * Signature: ([BI)V
+ */
+JNIEXPORT void JNICALL Java_SHA3_update
+ (JNIEnv *, jclass, jbyteArray, jint);
+
+/*
+ * Class: SHA3
+ * Method: digest
+ * Signature: ([BI)[B
+ */
+JNIEXPORT jbyteArray JNICALL Java_SHA3_digest
+ (JNIEnv *, jclass, jbyteArray, jint);
+
+#ifdef __cplusplus
+}
+#endif
+#endif