summaryrefslogtreecommitdiffhomepage
path: root/src/java/nxt_jni_HeadersEnumeration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/nxt_jni_HeadersEnumeration.h')
-rw-r--r--src/java/nxt_jni_HeadersEnumeration.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/java/nxt_jni_HeadersEnumeration.h b/src/java/nxt_jni_HeadersEnumeration.h
new file mode 100644
index 00000000..10f9393c
--- /dev/null
+++ b/src/java/nxt_jni_HeadersEnumeration.h
@@ -0,0 +1,19 @@
+
+/*
+ * Copyright (C) NGINX, Inc.
+ */
+
+#ifndef _NXT_JAVA_HEADERSENUMERATION_H_INCLUDED_
+#define _NXT_JAVA_HEADERSENUMERATION_H_INCLUDED_
+
+
+#include <jni.h>
+#include <nxt_unit_typedefs.h>
+
+
+int nxt_java_initHeadersEnumeration(JNIEnv *env, jobject cl);
+
+jobject nxt_java_newHeadersEnumeration(JNIEnv *env, nxt_unit_field_t *f,
+ uint32_t fields_count, uint32_t pos);
+
+#endif /* _NXT_JAVA_HEADERSENUMERATION_H_INCLUDED_ */