package com.sleepycat.db; /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version: 1.3.19 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ class db_javaJNI { static { // An alternate library name can be specified via a property. String libname; if ((libname = System.getProperty("sleepycat.db.libfile")) != null) System.load(libname); else if ((libname = System.getProperty("sleepycat.db.libname")) != null) System.loadLibrary(libname); else { String os = System.getProperty("os.name"); if (os != null && os.startsWith("Windows")) { // library name is e.g., "libdb_java30.dll" // on Windows System.loadLibrary("libdb_java" + DbConstants.DB_VERSION_MAJOR + DbConstants.DB_VERSION_MINOR + (DbConstants.DB_DEBUG ? "d" : "")); } else { // library name is e.g. "libdb_java-3.0.so" // on UNIX System.loadLibrary("db_java-" + DbConstants.DB_VERSION_MAJOR + "." + DbConstants.DB_VERSION_MINOR); } } initialize(); } static native final void initialize(); public final static native void DbEnv_lock_vec(long jarg1, int jarg2, int jarg3, DbLockRequest[] jarg4, int jarg5, int jarg6) throws DbException; final static native Object initDbEnvRef0(long jarg1, Object jarg2); final static native Object initDbRef0(long jarg1, Object jarg2); final static native void deleteRef0(Object jarg1); final static native long getDbEnv0(long jarg1); public final static native long new_Db(long jarg1, int jarg2) throws DbException; public final static native void Db_associate(long jarg1, long jarg2, long jarg3, DbSecondaryKeyCreate jarg4, int jarg5) throws DbException; final static native int Db_close0(long jarg1, int jarg2); public final static native long Db_cursor(long jarg1, long jarg2, int jarg3) throws DbException; public final static native int Db_del(long jarg1, long jarg2, Dbt jarg3, int jarg4) throws DbException; public final static native void Db_err(long jarg1, int jarg2, String jarg3) ; public final static native void Db_errx(long jarg1, String jarg2) ; final static native int Db_get__SWIG_0(long jarg1, long jarg2, Dbt jarg3, Dbt jarg4, int jarg5); public final static native boolean Db_get_byteswapped(long jarg1) throws DbException; public final static native long Db_get_cachesize(long jarg1) throws DbException; public final static native int Db_get_cachesize_ncache(long jarg1) throws DbException; public final static native String Db_get_filename(long jarg1) throws DbException; public final static native String Db_get_dbname(long jarg1) throws DbException; public final static native int Db_get_encrypt_flags(long jarg1) throws DbException; public final static native int Db_get_flags(long jarg1) throws DbException; public final static native int Db_get_lorder(long jarg1) throws DbException; public final static native long Db_get_mpf(long jarg1) throws DbException; public final static native int Db_get_open_flags(long jarg1) throws DbException; public final static native int Db_get_pagesize(long jarg1) throws DbException; public final static native int Db_get_bt_minkey(long jarg1) throws DbException; public final static native int Db_get_h_ffactor(long jarg1) throws DbException; public final static native int Db_get_h_nelem(long jarg1) throws DbException; public final static native int Db_get_re_delim(long jarg1) throws DbException; public final static native int Db_get_re_len(long jarg1) throws DbException; public final static native int Db_get_re_pad(long jarg1) throws DbException; public final static native String Db_get_re_source(long jarg1) throws DbException; public final static native int Db_get_q_extentsize(long jarg1) throws DbException; public final static native int Db_get_flags_raw(long jarg1) throws DbException; public final static native boolean Db_get_transactional(long jarg1) throws DbException; public final static native int Db_get_type(long jarg1) throws DbException; public final static native long Db_join(long jarg1, Dbc[] jarg2, int jarg3) throws DbException; public final static native void Db_key_range(long jarg1, long jarg2, Dbt jarg3, DbKeyRange jarg4, int jarg5) throws DbException; final static native void Db_open0(long jarg1, long jarg2, String jarg3, String jarg4, int jarg5, int jarg6, int jarg7); public final static native int Db_get__SWIG_1(long jarg1, long jarg2, Dbt jarg3, Dbt jarg4, Dbt jarg5, int jarg6) throws DbException; public final static native int Db_put(long jarg1, long jarg2, Dbt jarg3, Dbt jarg4, int jarg5) throws DbException; final static native void Db_remove0(long jarg1, String jarg2, String jarg3, int jarg4); final static native void Db_rename0(long jarg1, String jarg2, String jarg3, String jarg4, int jarg5); public final static native void Db_set_append_recno(long jarg1, DbAppendRecno jarg2) throws DbException; public final static native void Db_set_bt_compare(long jarg1, DbBtreeCompare jarg2) throws DbException; public final static native void Db_set_bt_maxkey(long jarg1, int jarg2) throws DbException; public final static native void Db_set_bt_minkey(long jarg1, int jarg2) throws DbException; public final static native void Db_set_bt_prefix(long jarg1, DbBtreePrefix jarg2) throws DbException; public final static native void Db_set_cachesize(long jarg1, long jarg2, int jarg3) throws DbException; public final static native void Db_set_dup_compare(long jarg1, DbDupCompare jarg2) throws DbException; public final static native void Db_set_encrypt(long jarg1, String jarg2, int jarg3) throws DbException; public final static native void Db_setFeedbackHandler(long jarg1, DbFeedbackHandler jarg2) throws DbException; public final static native void Db_set_flags(long jarg1, int jarg2) throws DbException; public final static native void Db_set_h_ffactor(long jarg1, int jarg2) throws DbException; public final static native void Db_set_h_hash(long jarg1, DbHash jarg2) throws DbException; public final static native void Db_set_h_nelem(long jarg1, int jarg2) throws DbException; public final static native void Db_set_lorder(long jarg1, int jarg2) throws DbException; public final static native void Db_set_pagesize(long jarg1, long jarg2) throws DbException; public final static native void Db_set_re_delim(long jarg1, int jarg2) throws DbException; public final static native void Db_set_re_len(long jarg1, int jarg2) throws DbException; public final static native void Db_set_re_pad(long jarg1, int jarg2) throws DbException; public final static native void Db_set_re_source(long jarg1, String jarg2) throws DbException; public final static native void Db_set_q_extentsize(long jarg1, int jarg2) throws DbException; public final static native Object Db_stat(long jarg1, int jarg2) throws DbException; public final static native void Db_sync(long jarg1, int jarg2) throws DbException; public final static native int Db_truncate(long jarg1, long jarg2, int jarg3) throws DbException; public final static native void Db_upgrade(long jarg1, String jarg2, int jarg3) throws DbException; final static native void Db_verify0(long jarg1, String jarg2, String jarg3, java.io.OutputStream jarg4, int jarg5); final static native void Dbc_close0(long jarg1); public final static native int Dbc_count(long jarg1, int jarg2) throws DbException; public final static native int Dbc_del(long jarg1, int jarg2) throws DbException; public final static native long Dbc_dup(long jarg1, int jarg2) throws DbException; final static native int Dbc_get__SWIG_0(long jarg1, Dbt jarg2, Dbt jarg3, int jarg4); public final static native int Dbc_get__SWIG_1(long jarg1, Dbt jarg2, Dbt jarg3, Dbt jarg4, int jarg5) throws DbException; public final static native int Dbc_put(long jarg1, Dbt jarg2, Dbt jarg3, int jarg4) throws DbException; public final static native long new_DbEnv(int jarg1) throws DbException; final static native void DbEnv_close0(long jarg1, int jarg2); public final static native void DbEnv_dbremove(long jarg1, long jarg2, String jarg3, String jarg4, int jarg5) throws DbException; public final static native void DbEnv_dbrename(long jarg1, long jarg2, String jarg3, String jarg4, String jarg5, int jarg6) throws DbException; public final static native void DbEnv_err(long jarg1, int jarg2, String jarg3) ; public final static native void DbEnv_errx(long jarg1, String jarg2) ; public final static native String[] DbEnv_get_data_dirs(long jarg1) throws DbException; public final static native int DbEnv_get_encrypt_flags(long jarg1) throws DbException; public final static native int DbEnv_get_flags(long jarg1) throws DbException; public final static native String DbEnv_get_home(long jarg1) throws DbException; public final static native int DbEnv_get_open_flags(long jarg1) throws DbException; public final static native long DbEnv_get_shm_key(long jarg1) throws DbException; public final static native int DbEnv_get_tas_spins(long jarg1) throws DbException; public final static native String DbEnv_get_tmp_dir(long jarg1) throws DbException; public final static native boolean DbEnv_get_verbose(long jarg1, int jarg2) throws DbException; final static native void DbEnv_open0(long jarg1, String jarg2, int jarg3, int jarg4); final static native void DbEnv_remove0(long jarg1, String jarg2, int jarg3); public final static native void DbEnv_set_cachesize(long jarg1, long jarg2, int jarg3) throws DbException; public final static native void DbEnv_set_data_dir(long jarg1, String jarg2) throws DbException; public final static native void DbEnv_set_encrypt(long jarg1, String jarg2, int jarg3) throws DbException; public final static native void DbEnv_setErrorHandler(long jarg1, DbErrorHandler jarg2) throws DbException; public final static native void DbEnv_set_flags(long jarg1, int jarg2, boolean jarg3) throws DbException; public final static native void DbEnv_setFeedbackHandler(long jarg1, DbEnvFeedbackHandler jarg2) throws DbException; public final static native void DbEnv_set_mp_mmapsize(long jarg1, long jarg2) throws DbException; public final static native void DbEnv_setPanicHandler(long jarg1, DbPanicHandler jarg2) throws DbException; public final static native void DbEnv_set_rpc_server(long jarg1, DbClient jarg2, String jarg3, long jarg4, long jarg5, int jarg6) throws DbException; public final static native void DbEnv_set_shm_key(long jarg1, long jarg2) throws DbException; public final static native void DbEnv_set_tas_spins(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_timeout(long jarg1, long jarg2, int jarg3) throws DbException; public final static native void DbEnv_set_tmp_dir(long jarg1, String jarg2) throws DbException; public final static native void DbEnv_set_tx_max(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_app_dispatch(long jarg1, DbAppDispatch jarg2) throws DbException; final static native void DbEnv_set_tx_timestamp0(long jarg1, long jarg2); public final static native void DbEnv_set_verbose(long jarg1, int jarg2, boolean jarg3) throws DbException; public final static native byte[][] DbEnv_get_lk_conflicts(long jarg1) throws DbException; public final static native int DbEnv_get_lk_detect(long jarg1) throws DbException; public final static native int DbEnv_get_lk_max_locks(long jarg1) throws DbException; public final static native int DbEnv_get_lk_max_lockers(long jarg1) throws DbException; public final static native int DbEnv_get_lk_max_objects(long jarg1) throws DbException; public final static native int DbEnv_lock_detect(long jarg1, int jarg2, int jarg3) throws DbException; public final static native long DbEnv_lock_get(long jarg1, int jarg2, int jarg3, Dbt jarg4, int jarg5) throws DbException; public final static native int DbEnv_lock_id(long jarg1) throws DbException; public final static native void DbEnv_lock_id_free(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_lock_put(long jarg1, long jarg2) throws DbException; public final static native DbLockStat DbEnv_lock_stat(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_lk_conflicts(long jarg1, byte[][] jarg2) throws DbException; public final static native void DbEnv_set_lk_detect(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_lk_max_lockers(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_lk_max_locks(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_lk_max_objects(long jarg1, int jarg2) throws DbException; public final static native int DbEnv_get_lg_bsize(long jarg1) throws DbException; public final static native String DbEnv_get_lg_dir(long jarg1) throws DbException; public final static native int DbEnv_get_lg_max(long jarg1) throws DbException; public final static native int DbEnv_get_lg_regionmax(long jarg1) throws DbException; public final static native String[] DbEnv_log_archive(long jarg1, int jarg2) throws DbException; public final static native int DbEnv_log_compare(long jarg1, long jarg2) ; public final static native long DbEnv_log_cursor(long jarg1, int jarg2) throws DbException; public final static native String DbEnv_log_file(long jarg1, long jarg2) throws DbException; public final static native void DbEnv_log_flush(long jarg1, long jarg2) throws DbException; public final static native void DbEnv_log_put(long jarg1, long jarg2, Dbt jarg3, int jarg4) throws DbException; public final static native DbLogStat DbEnv_log_stat(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_lg_bsize(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_lg_dir(long jarg1, String jarg2) throws DbException; public final static native void DbEnv_set_lg_max(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_lg_regionmax(long jarg1, int jarg2) throws DbException; public final static native long DbEnv_get_cachesize(long jarg1) throws DbException; public final static native int DbEnv_get_cachesize_ncache(long jarg1) throws DbException; public final static native long DbEnv_get_mp_mmapsize(long jarg1) throws DbException; public final static native DbMpoolStat DbEnv_memp_stat(long jarg1, int jarg2) throws DbException; public final static native DbMpoolFStat[] DbEnv_memp_fstat(long jarg1, int jarg2) throws DbException; public final static native int DbEnv_memp_trickle(long jarg1, int jarg2) throws DbException; public final static native int DbEnv_get_tx_max(long jarg1) throws DbException; public final static native long DbEnv_get_tx_timestamp(long jarg1) throws DbException; public final static native long DbEnv_get_timeout(long jarg1, int jarg2) throws DbException; public final static native long DbEnv_txn_begin(long jarg1, long jarg2, int jarg3) throws DbException; public final static native void DbEnv_txn_checkpoint(long jarg1, int jarg2, int jarg3, int jarg4) throws DbException; public final static native DbPreplist[] DbEnv_txn_recover(long jarg1, int jarg2, int jarg3) throws DbException; public final static native DbTxnStat DbEnv_txn_stat(long jarg1, int jarg2) throws DbException; public final static native long DbEnv_get_rep_limit(long jarg1) throws DbException; public final static native int DbEnv_rep_elect(long jarg1, int jarg2, int jarg3, int jarg4) throws DbException; public final static native int DbEnv_rep_process_message(long jarg1, Dbt jarg2, Dbt jarg3, DbEnv.RepProcessMessage jarg4, long jarg5) throws DbException; public final static native void DbEnv_rep_start(long jarg1, Dbt jarg2, int jarg3) throws DbException; public final static native DbRepStat DbEnv_rep_stat(long jarg1, int jarg2) throws DbException; public final static native void DbEnv_set_rep_limit(long jarg1, long jarg2) throws DbException; public final static native void DbEnv_set_rep_transport(long jarg1, int jarg2, DbRepTransport jarg3) throws DbException; public final static native String DbEnv_strerror(int jarg1) ; public final static native int DbEnv_get_version_major() ; public final static native int DbEnv_get_version_minor() ; public final static native int DbEnv_get_version_patch() ; public final static native String DbEnv_get_version_string() ; final static native void DbTxn_abort0(long jarg1); final static native void DbTxn_commit0(long jarg1, int jarg2); final static native void DbTxn_discard0(long jarg1, int jarg2); public final static native int DbTxn_id(long jarg1) throws DbException; public final static native void DbTxn_prepare(long jarg1, byte[] jarg2) throws DbException; public final static native void DbTxn_set_timeout(long jarg1, long jarg2, int jarg3) throws DbException; final static native void DbLogc_close0(long jarg1, int jarg2); public final static native int DbLogc_get(long jarg1, long jarg2, Dbt jarg3, int jarg4) throws DbException; final static native void delete_DbLock(long jarg1); public final static native long new_DbLsn(int jarg1, int jarg2) throws DbException; final static native void delete_DbLsn(long jarg1); public final static native int DbLsn_get_file(long jarg1) throws DbException; public final static native int DbLsn_get_offset(long jarg1) throws DbException; public final static native int DbMpoolFile_get_priority(long jarg1) throws DbException; public final static native void DbMpoolFile_set_priority(long jarg1, int jarg2) throws DbException; public final static native int DbMpoolFile_get_flags(long jarg1) throws DbException; public final static native void DbMpoolFile_set_flags(long jarg1, int jarg2, boolean jarg3) throws DbException; public final static native long DbMpoolFile_get_maxsize(long jarg1) throws DbException; public final static native void DbMpoolFile_set_maxsize(long jarg1, long jarg2) throws DbException; }