2007-11-15 14:09:40 +00:00
|
|
|
/* BDB offsets on a 64-bit machine */
|
|
|
|
#define DB_VERSION_MAJOR_64 4
|
|
|
|
#define DB_VERSION_MINOR_64 4
|
|
|
|
#define DB_VERSION_STRING_64 "Berkeley DB Compatability Header 4.4"
|
|
|
|
struct fieldinfo db_btree_stat_fields64[] = {
|
|
|
|
{"u_int32_t bt_nkeys", 12, 4},
|
|
|
|
{"u_int32_t bt_ndata", 16, 4},
|
|
|
|
{0, 80, 80} /* size of whole struct */
|
|
|
|
};
|
|
|
|
struct fieldinfo db_env_fields64[] = {
|
|
|
|
{"void *app_private", 88, 8},
|
2007-12-18 19:02:45 +00:00
|
|
|
{"void *api1_internal", 544, 8},
|
2007-11-15 14:09:40 +00:00
|
|
|
{"int (*close) (DB_ENV *, u_int32_t)", 608, 8},
|
|
|
|
{"void (*err) (const DB_ENV *, int, const char *, ...)", 632, 8},
|
2007-12-11 18:52:12 +00:00
|
|
|
{"int (*get_cachesize) (DB_ENV *, u_int32_t *)", 664, 8},
|
|
|
|
{"int (*get_flags) (DB_ENV *, u_int32_t *)", 704, 8},
|
2007-11-15 14:09:40 +00:00
|
|
|
{"int (*log_archive) (DB_ENV *, char **[], u_int32_t)", 968, 8},
|
|
|
|
{"int (*log_flush) (DB_ENV *, const DB_LSN *)", 992, 8},
|
|
|
|
{"int (*open) (DB_ENV *, const char *, u_int32_t, int)", 1200, 8},
|
|
|
|
{"int (*set_cachesize) (DB_ENV *, u_int32_t, u_int32_t, int)", 1304, 8},
|
|
|
|
{"int (*set_data_dir) (DB_ENV *, const char *)", 1312, 8},
|
|
|
|
{"void (*set_errcall) (DB_ENV *, void (*)(const char *, char *))", 1328, 8},
|
2007-12-19 20:53:32 +00:00
|
|
|
{"FILE*set_errfile", 1336, 8},
|
2007-11-15 14:09:40 +00:00
|
|
|
{"void (*set_errpfx) (DB_ENV *, const char *)", 1344, 8},
|
|
|
|
{"int (*set_flags) (DB_ENV *, u_int32_t, int)", 1360, 8},
|
|
|
|
{"int (*set_lg_bsize) (DB_ENV *, u_int32_t)", 1384, 8},
|
|
|
|
{"int (*set_lg_dir) (DB_ENV *, const char *)", 1392, 8},
|
|
|
|
{"int (*set_lg_max) (DB_ENV *, u_int32_t)", 1408, 8},
|
|
|
|
{"int (*set_lk_detect) (DB_ENV *, u_int32_t)", 1432, 8},
|
|
|
|
{"int (*set_lk_max) (DB_ENV *, u_int32_t)", 1440, 8},
|
|
|
|
{"int (*set_tmp_dir) (DB_ENV *, const char *)", 1592, 8},
|
|
|
|
{"int (*set_verbose) (DB_ENV *, u_int32_t, int)", 1616, 8},
|
|
|
|
{"int (*txn_begin) (DB_ENV *, DB_TXN *, DB_TXN **, u_int32_t)", 1632, 8},
|
|
|
|
{"int (*txn_checkpoint) (DB_ENV *, u_int32_t, u_int32_t, u_int32_t)", 1640, 8},
|
|
|
|
{"int (*txn_stat) (DB_ENV *, DB_TXN_STAT **, u_int32_t)", 1656, 8},
|
|
|
|
{0, 1696, 1696} /* size of whole struct */
|
|
|
|
};
|
|
|
|
struct fieldinfo db_key_range_fields64[] = {
|
|
|
|
{"double less", 0, 8},
|
|
|
|
{"double equal", 8, 8},
|
|
|
|
{"double greater", 16, 8},
|
|
|
|
{0, 1696, 1696} /* size of whole struct */
|
|
|
|
};
|
|
|
|
struct fieldinfo db_lsn_fields64[] = {
|
|
|
|
{0, 8, 8} /* size of whole struct */
|
|
|
|
};
|
|
|
|
struct fieldinfo db_fields64[] = {
|
|
|
|
{"void *app_private", 32, 8},
|
|
|
|
{"DB_ENV *dbenv", 40, 8},
|
2007-12-18 14:50:11 +00:00
|
|
|
{"void *api_internal", 416, 8},
|
2007-11-28 20:04:35 +00:00
|
|
|
{"int (*associate) (DB*, DB_TXN*, DB*, int(*)(DB*, const DBT*, const DBT*, DBT*), u_int32_t)", 456, 8},
|
2007-11-15 14:09:40 +00:00
|
|
|
{"int (*close) (DB*, u_int32_t)", 464, 8},
|
|
|
|
{"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)", 480, 8},
|
|
|
|
{"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)", 488, 8},
|
|
|
|
{"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 520, 8},
|
2007-12-11 18:52:12 +00:00
|
|
|
{"int (*get_flags) (DB *, u_int32_t *)", 592, 8},
|
|
|
|
{"int (*get_pagesize) (DB *, u_int32_t *)", 648, 8},
|
2007-11-15 14:09:40 +00:00
|
|
|
{"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)", 720, 8},
|
|
|
|
{"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)", 728, 8},
|
2007-11-28 20:04:35 +00:00
|
|
|
{"int (*pget) (DB *, DB_TXN *, DBT *, DBT *, DBT *, u_int32_t)", 736, 8},
|
2007-11-15 14:09:40 +00:00
|
|
|
{"int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 744, 8},
|
|
|
|
{"int (*remove) (DB *, const char *, const char *, u_int32_t)", 752, 8},
|
|
|
|
{"int (*rename) (DB *, const char *, const char *, const char *, u_int32_t)", 760, 8},
|
|
|
|
{"int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *))", 784, 8},
|
|
|
|
{"int (*set_dup_compare) (DB *, int (*)(DB *, const DBT *, const DBT *))", 816, 8},
|
|
|
|
{"int (*set_flags) (DB *, u_int32_t)", 864, 8},
|
|
|
|
{"int (*set_pagesize) (DB *, u_int32_t)", 920, 8},
|
|
|
|
{"int (*stat) (DB *, void *, u_int32_t)", 976, 8},
|
|
|
|
{"int (*verify) (DB *, const char *, const char *, FILE *, u_int32_t)", 1016, 8},
|
|
|
|
{0, 1080, 1080} /* size of whole struct */
|
|
|
|
};
|
|
|
|
struct fieldinfo db_txn_active_fields64[] = {
|
|
|
|
{"u_int32_t txnid", 0, 4},
|
|
|
|
{"DB_LSN lsn", 24, 8},
|
|
|
|
{0, 216, 216} /* size of whole struct */
|
|
|
|
};
|
|
|
|
struct fieldinfo db_txn_fields64[] = {
|
2007-12-18 19:29:33 +00:00
|
|
|
{"void *api_internal", 160, 8},
|
2007-11-15 14:09:40 +00:00
|
|
|
{"int (*abort) (DB_TXN *)", 184, 8},
|
|
|
|
{"int (*commit) (DB_TXN*, u_int32_t)", 192, 8},
|
|
|
|
{"u_int32_t (*id) (DB_TXN *)", 216, 8},
|
|
|
|
{0, 264, 264} /* size of whole struct */
|
|
|
|
};
|
|
|
|
struct fieldinfo db_txn_stat_fields64[] = {
|
|
|
|
{"u_int32_t st_nactive", 36, 4},
|
|
|
|
{"DB_TXN_ACTIVE *st_txnarray", 48, 8},
|
|
|
|
{0, 72, 72} /* size of whole struct */
|
|
|
|
};
|
|
|
|
struct fieldinfo dbc_fields64[] = {
|
|
|
|
{"int (*c_close) (DBC *)", 272, 8},
|
|
|
|
{"int (*c_del) (DBC *, u_int32_t)", 288, 8},
|
|
|
|
{"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)", 304, 8},
|
2007-12-05 19:26:19 +00:00
|
|
|
{"int (*c_pget) (DBC *, DBT *, DBT *, DBT *, u_int32_t)", 312, 8},
|
2007-12-13 21:41:57 +00:00
|
|
|
{"int (*c_put) (DBC *, DBT *, DBT *, u_int32_t)", 320, 8},
|
2007-11-15 14:09:40 +00:00
|
|
|
{0, 392, 392} /* size of whole struct */
|
|
|
|
};
|
|
|
|
struct fieldinfo dbt_fields64[] = {
|
|
|
|
{"void*data", 0, 8},
|
|
|
|
{"u_int32_t size", 8, 4},
|
|
|
|
{"u_int32_t ulen", 12, 4},
|
|
|
|
{"u_int32_t flags", 24, 4},
|
|
|
|
{0, 32, 32} /* size of whole struct */
|
|
|
|
};
|