source: trunk/gsdl3/src/packages/javagdbm/jni/GdbmFile.h@ 10737

Last change on this file since 10737 was 10737, checked in by kjdon, 19 years ago

Java Wrapper for GDBM, from Martin Pool. Original website gone, so added it all in here. I have modified the Makefiles to work in greenstone, and on macs, and added windows makefiles

  • Property svn:keywords set to Author Date Id Revision
File size: 3.2 KB
Line 
1/* DO NOT EDIT THIS FILE - it is machine generated */
2#include <jni.h>
3/* Header for class au_com_pharos_gdbm_GdbmFile */
4
5#ifndef _Included_au_com_pharos_gdbm_GdbmFile
6#define _Included_au_com_pharos_gdbm_GdbmFile
7#ifdef __cplusplus
8extern "C" {
9#endif
10#undef au_com_pharos_gdbm_GdbmFile_READER
11#define au_com_pharos_gdbm_GdbmFile_READER 0L
12#undef au_com_pharos_gdbm_GdbmFile_WRITER
13#define au_com_pharos_gdbm_GdbmFile_WRITER 1L
14#undef au_com_pharos_gdbm_GdbmFile_WRCREAT
15#define au_com_pharos_gdbm_GdbmFile_WRCREAT 2L
16#undef au_com_pharos_gdbm_GdbmFile_NEWDB
17#define au_com_pharos_gdbm_GdbmFile_NEWDB 3L
18#undef au_com_pharos_gdbm_GdbmFile_FAST
19#define au_com_pharos_gdbm_GdbmFile_FAST 16L
20/*
21 * Class: au_com_pharos_gdbm_GdbmFile
22 * Method: gdbm_open
23 * Signature: (Ljava/lang/String;I)J
24 */
25JNIEXPORT jlong JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1open
26 (JNIEnv *, jobject, jstring, jint);
27
28/*
29 * Class: au_com_pharos_gdbm_GdbmFile
30 * Method: gdbm_close
31 * Signature: (J)V
32 */
33JNIEXPORT void JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1close
34 (JNIEnv *, jobject, jlong);
35
36/*
37 * Class: au_com_pharos_gdbm_GdbmFile
38 * Method: gdbm_store
39 * Signature: (J[B[BZ)V
40 */
41JNIEXPORT void JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1store
42 (JNIEnv *, jobject, jlong, jbyteArray, jbyteArray, jboolean);
43
44/*
45 * Class: au_com_pharos_gdbm_GdbmFile
46 * Method: gdbm_fetch
47 * Signature: (J[B)[B
48 */
49JNIEXPORT jbyteArray JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1fetch
50 (JNIEnv *, jobject, jlong, jbyteArray);
51
52/*
53 * Class: au_com_pharos_gdbm_GdbmFile
54 * Method: gdbm_exists
55 * Signature: (J[B)Z
56 */
57JNIEXPORT jboolean JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1exists
58 (JNIEnv *, jobject, jlong, jbyteArray);
59
60/*
61 * Class: au_com_pharos_gdbm_GdbmFile
62 * Method: gdbm_delete
63 * Signature: (J[B)V
64 */
65JNIEXPORT void JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1delete
66 (JNIEnv *, jobject, jlong, jbyteArray);
67
68/*
69 * Class: au_com_pharos_gdbm_GdbmFile
70 * Method: gdbm_firstkey
71 * Signature: (J)[B
72 */
73JNIEXPORT jbyteArray JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1firstkey
74 (JNIEnv *, jobject, jlong);
75
76/*
77 * Class: au_com_pharos_gdbm_GdbmFile
78 * Method: gdbm_nextkey
79 * Signature: (J[B)[B
80 */
81JNIEXPORT jbyteArray JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1nextkey
82 (JNIEnv *, jobject, jlong, jbyteArray);
83
84/*
85 * Class: au_com_pharos_gdbm_GdbmFile
86 * Method: gdbm_getversion
87 * Signature: ()Ljava/lang/String;
88 */
89JNIEXPORT jstring JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1getversion
90 (JNIEnv *, jclass);
91
92/*
93 * Class: au_com_pharos_gdbm_GdbmFile
94 * Method: gdbm_wrapperVersion
95 * Signature: ()Ljava/lang/String;
96 */
97JNIEXPORT jstring JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1wrapperVersion
98 (JNIEnv *, jclass);
99
100/*
101 * Class: au_com_pharos_gdbm_GdbmFile
102 * Method: gdbm_reorganize
103 * Signature: (J)V
104 */
105JNIEXPORT void JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1reorganize
106 (JNIEnv *, jobject, jlong);
107
108/*
109 * Class: au_com_pharos_gdbm_GdbmFile
110 * Method: gdbm_sync
111 * Signature: (J)V
112 */
113JNIEXPORT void JNICALL Java_au_com_pharos_gdbm_GdbmFile_gdbm_1sync
114 (JNIEnv *, jobject, jlong);
115
116#ifdef __cplusplus
117}
118#endif
119#endif
Note: See TracBrowser for help on using the repository browser.