mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 20:17:37 +00:00
206 lines
6.6 KiB
C
206 lines
6.6 KiB
C
/* DO NOT EDIT THIS FILE - it is machine generated */
|
|
#include <jni.h>
|
|
/* Header for class com_sleepycat_db_Db */
|
|
|
|
#ifndef _Included_com_sleepycat_db_Db
|
|
#define _Included_com_sleepycat_db_Db
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#undef com_sleepycat_db_Db_DB_BTREE
|
|
#define com_sleepycat_db_Db_DB_BTREE 1L
|
|
#undef com_sleepycat_db_Db_DB_HASH
|
|
#define com_sleepycat_db_Db_DB_HASH 2L
|
|
#undef com_sleepycat_db_Db_DB_RECNO
|
|
#define com_sleepycat_db_Db_DB_RECNO 3L
|
|
#undef com_sleepycat_db_Db_DB_UNKNOWN
|
|
#define com_sleepycat_db_Db_DB_UNKNOWN 4L
|
|
/* Inaccessible static: DB_CREATE */
|
|
/* Inaccessible static: DB_NOMMAP */
|
|
/* Inaccessible static: DB_THREAD */
|
|
/* Inaccessible static: DB_EXCL */
|
|
/* Inaccessible static: DB_RDONLY */
|
|
/* Inaccessible static: DB_SEQUENTIAL */
|
|
/* Inaccessible static: DB_TEMPORARY */
|
|
/* Inaccessible static: DB_TRUNCATE */
|
|
#undef com_sleepycat_db_Db_DB_INCOMPLETE
|
|
#define com_sleepycat_db_Db_DB_INCOMPLETE -1L
|
|
#undef com_sleepycat_db_Db_DB_KEYEMPTY
|
|
#define com_sleepycat_db_Db_DB_KEYEMPTY -2L
|
|
#undef com_sleepycat_db_Db_DB_KEYEXIST
|
|
#define com_sleepycat_db_Db_DB_KEYEXIST -3L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_DEADLOCK
|
|
#define com_sleepycat_db_Db_DB_LOCK_DEADLOCK -4L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_NOTGRANTED
|
|
#define com_sleepycat_db_Db_DB_LOCK_NOTGRANTED -5L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_NOTHELD
|
|
#define com_sleepycat_db_Db_DB_LOCK_NOTHELD -6L
|
|
#undef com_sleepycat_db_Db_DB_NOTFOUND
|
|
#define com_sleepycat_db_Db_DB_NOTFOUND -7L
|
|
/* Inaccessible static: DB_INIT_LOCK */
|
|
/* Inaccessible static: DB_INIT_LOG */
|
|
/* Inaccessible static: DB_INIT_MPOOL */
|
|
/* Inaccessible static: DB_INIT_TXN */
|
|
/* Inaccessible static: DB_MPOOL_PRIVATE */
|
|
/* Inaccessible static: DB_MUTEXDEBUG */
|
|
/* Inaccessible static: DB_RECOVER */
|
|
/* Inaccessible static: DB_RECOVER_FATAL */
|
|
/* Inaccessible static: DB_TXN_NOSYNC */
|
|
/* Inaccessible static: DB_USE_ENVIRON */
|
|
/* Inaccessible static: DB_USE_ENVIRON_ROOT */
|
|
/* Inaccessible static: DB_LOCK_NORUN */
|
|
/* Inaccessible static: DB_LOCK_DEFAULT */
|
|
/* Inaccessible static: DB_LOCK_OLDEST */
|
|
/* Inaccessible static: DB_LOCK_RANDOM */
|
|
/* Inaccessible static: DB_LOCK_YOUNGEST */
|
|
/* Inaccessible static: DB_DELIMITER */
|
|
/* Inaccessible static: DB_DUP */
|
|
/* Inaccessible static: DB_FIXEDLEN */
|
|
/* Inaccessible static: DB_PAD */
|
|
/* Inaccessible static: DB_RECNUM */
|
|
/* Inaccessible static: DB_RENUMBER */
|
|
/* Inaccessible static: DB_SNAPSHOT */
|
|
#undef com_sleepycat_db_Db_DB_LOCK_NG
|
|
#define com_sleepycat_db_Db_DB_LOCK_NG 0L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_READ
|
|
#define com_sleepycat_db_Db_DB_LOCK_READ 1L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_WRITE
|
|
#define com_sleepycat_db_Db_DB_LOCK_WRITE 2L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_IREAD
|
|
#define com_sleepycat_db_Db_DB_LOCK_IREAD 3L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_IWRITE
|
|
#define com_sleepycat_db_Db_DB_LOCK_IWRITE 4L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_IWR
|
|
#define com_sleepycat_db_Db_DB_LOCK_IWR 5L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_DUMP
|
|
#define com_sleepycat_db_Db_DB_LOCK_DUMP 0L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_GET
|
|
#define com_sleepycat_db_Db_DB_LOCK_GET 1L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_PUT
|
|
#define com_sleepycat_db_Db_DB_LOCK_PUT 2L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_PUT_ALL
|
|
#define com_sleepycat_db_Db_DB_LOCK_PUT_ALL 3L
|
|
#undef com_sleepycat_db_Db_DB_LOCK_PUT_OBJ
|
|
#define com_sleepycat_db_Db_DB_LOCK_PUT_OBJ 4L
|
|
/* Inaccessible static: DB_LOCK_NOWAIT */
|
|
/* Inaccessible static: DB_LOCK_CONFLICT */
|
|
/* Inaccessible static: DB_ARCH_ABS */
|
|
/* Inaccessible static: DB_ARCH_DATA */
|
|
/* Inaccessible static: DB_ARCH_LOG */
|
|
/* Inaccessible static: DB_AFTER */
|
|
/* Inaccessible static: DB_APPEND */
|
|
/* Inaccessible static: DB_BEFORE */
|
|
/* Inaccessible static: DB_CHECKPOINT */
|
|
/* Inaccessible static: DB_CURRENT */
|
|
/* Inaccessible static: DB_FIRST */
|
|
/* Inaccessible static: DB_FLUSH */
|
|
/* Inaccessible static: DB_GET_RECNO */
|
|
/* Inaccessible static: DB_KEYFIRST */
|
|
/* Inaccessible static: DB_KEYLAST */
|
|
/* Inaccessible static: DB_LAST */
|
|
/* Inaccessible static: DB_NEXT */
|
|
/* Inaccessible static: DB_NOOVERWRITE */
|
|
/* Inaccessible static: DB_NOSYNC */
|
|
/* Inaccessible static: DB_PREV */
|
|
/* Inaccessible static: DB_RECORDCOUNT */
|
|
/* Inaccessible static: DB_SET */
|
|
/* Inaccessible static: DB_SET_RANGE */
|
|
/* Inaccessible static: DB_SET_RECNO */
|
|
/* Inaccessible static: DB_DBT_INTERNAL */
|
|
/* Inaccessible static: DB_DBT_MALLOC */
|
|
/* Inaccessible static: DB_DBT_PARTIAL */
|
|
/* Inaccessible static: DB_DBT_USERMEM */
|
|
/* Inaccessible static: already_loaded_ */
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: close
|
|
* Signature: (I)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_sleepycat_db_Db_close
|
|
(JNIEnv *, jobject, jint);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: cursor
|
|
* Signature: (Lcom/sleepycat/db/DbTxn;)Lcom/sleepycat/db/Dbc;
|
|
*/
|
|
JNIEXPORT jobject JNICALL Java_com_sleepycat_db_Db_cursor
|
|
(JNIEnv *, jobject, jobject);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: del
|
|
* Signature: (Lcom/sleepycat/db/DbTxn;Lcom/sleepycat/db/Dbt;I)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_sleepycat_db_Db_del
|
|
(JNIEnv *, jobject, jobject, jobject, jint);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: fd
|
|
* Signature: ()I
|
|
*/
|
|
JNIEXPORT jint JNICALL Java_com_sleepycat_db_Db_fd
|
|
(JNIEnv *, jobject);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: finalize
|
|
* Signature: ()V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_sleepycat_db_Db_finalize
|
|
(JNIEnv *, jobject);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: get
|
|
* Signature: (Lcom/sleepycat/db/DbTxn;Lcom/sleepycat/db/Dbt;Lcom/sleepycat/db/Dbt;I)I
|
|
*/
|
|
JNIEXPORT jint JNICALL Java_com_sleepycat_db_Db_get
|
|
(JNIEnv *, jobject, jobject, jobject, jobject, jint);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: get_type
|
|
* Signature: ()I
|
|
*/
|
|
JNIEXPORT jint JNICALL Java_com_sleepycat_db_Db_get_1type
|
|
(JNIEnv *, jobject);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: open
|
|
* Signature: (Ljava/lang/String;IIILcom/sleepycat/db/DbEnv;Lcom/sleepycat/db/DbInfo;)Lcom/sleepycat/db/Db;
|
|
*/
|
|
JNIEXPORT jobject JNICALL Java_com_sleepycat_db_Db_open
|
|
(JNIEnv *, jclass, jstring, jint, jint, jint, jobject, jobject);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: put
|
|
* Signature: (Lcom/sleepycat/db/DbTxn;Lcom/sleepycat/db/Dbt;Lcom/sleepycat/db/Dbt;I)I
|
|
*/
|
|
JNIEXPORT jint JNICALL Java_com_sleepycat_db_Db_put
|
|
(JNIEnv *, jobject, jobject, jobject, jobject, jint);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: stat
|
|
* Signature: (I)Lcom/sleepycat/db/DbBtreeStat;
|
|
*/
|
|
JNIEXPORT jobject JNICALL Java_com_sleepycat_db_Db_stat
|
|
(JNIEnv *, jobject, jint);
|
|
|
|
/*
|
|
* Class: com_sleepycat_db_Db
|
|
* Method: sync
|
|
* Signature: (I)V
|
|
*/
|
|
JNIEXPORT void JNICALL Java_com_sleepycat_db_Db_sync
|
|
(JNIEnv *, jobject, jint);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|