Commit 61ad8235 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul

64

git-svn-id: file:///svn/tokudb@267 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6eb1f14f
/* BDB offsets on a 64-bit machine */
struct fieldinfo db_fields64[] = {
{"void *app_private", 32, 8},
{"int (*close) (DB*, u_int32_t)", 448, 8},
{"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)", 456, 8},
{"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)", 464, 8},
{"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 496, 8},
{"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)", 536, 8},
{"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)", 544, 8},
{"int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 552, 8},
{"int (*remove) (DB *, const char *, const char *, u_int32_t)", 560, 8},
{"int (*rename) (DB *, const char *, const char *, const char *, u_int32_t)", 568, 8},
{"int (*set_flags) (DB *, u_int32_t)", 664, 8},
{"int (*stat) (DB *, void *, u_int32_t)", 696, 8},
{"int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *))", 728, 8},
{0, 864, 864} /* size of whole struct */
};
struct fieldinfo dbt_fields64[] = {
{"void*data", 0, 8},
{"u_int32_t size", 8, 4},
{"u_int32_t ulen", 12, 4},
{"void*app_private", 24, 8},
{"u_int32_t flags", 32, 4},
{0, 40, 40} /* size of whole struct */
};
struct fieldinfo db_txn_fields64[] = {
{"int (*commit) (DB_TXN*, u_int32_t)", 136, 8},
{"u_int32_t (*id) (DB_TXN *)", 152, 8},
{0, 184, 184} /* size of whole struct */
};
struct fieldinfo dbc_fields64[] = {
{"int (*c_close) (DBC *)", 304, 8},
{"int (*c_del) (DBC *, u_int32_t)", 320, 8},
{"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)", 336, 8},
{0, 432, 432} /* size of whole struct */
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[] = {
{"int (*close) (DB_ENV *, u_int32_t)", 432, 8},
......@@ -67,8 +37,48 @@ struct fieldinfo db_key_range_fields64[] = {
struct fieldinfo db_lsn_fields64[] = {
{0, 8, 8} /* size of whole struct */
};
struct fieldinfo db_fields64[] = {
{"void *app_private", 32, 8},
{"int (*close) (DB*, u_int32_t)", 448, 8},
{"int (*cursor) (DB *, DB_TXN *, DBC **, u_int32_t)", 456, 8},
{"int (*del) (DB *, DB_TXN *, DBT *, u_int32_t)", 464, 8},
{"int (*get) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 496, 8},
{"int (*key_range) (DB *, DB_TXN *, DBT *, DB_KEY_RANGE *, u_int32_t)", 536, 8},
{"int (*open) (DB *, DB_TXN *, const char *, const char *, DBTYPE, u_int32_t, int)", 544, 8},
{"int (*put) (DB *, DB_TXN *, DBT *, DBT *, u_int32_t)", 552, 8},
{"int (*remove) (DB *, const char *, const char *, u_int32_t)", 560, 8},
{"int (*rename) (DB *, const char *, const char *, const char *, u_int32_t)", 568, 8},
{"int (*set_flags) (DB *, u_int32_t)", 664, 8},
{"int (*stat) (DB *, void *, u_int32_t)", 696, 8},
{"int (*set_bt_compare) (DB *, int (*)(DB *, const DBT *, const DBT *))", 728, 8},
{0, 864, 864} /* size of whole struct */
};
struct fieldinfo db_txn_active_fields64[] = {
{"u_int32_t txnid", 0, 4},
{"DB_LSN lsn", 8, 8},
{0, 16, 16} /* size of whole struct */
};
struct fieldinfo db_txn_fields64[] = {
{"int (*commit) (DB_TXN*, u_int32_t)", 136, 8},
{"u_int32_t (*id) (DB_TXN *)", 152, 8},
{0, 184, 184} /* 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 *)", 304, 8},
{"int (*c_del) (DBC *, u_int32_t)", 320, 8},
{"int (*c_get) (DBC *, DBT *, DBT *, u_int32_t)", 336, 8},
{0, 432, 432} /* size of whole struct */
};
struct fieldinfo dbt_fields64[] = {
{"void*data", 0, 8},
{"u_int32_t size", 8, 4},
{"u_int32_t ulen", 12, 4},
{"void*app_private", 24, 8},
{"u_int32_t flags", 32, 4},
{0, 40, 40} /* size of whole struct */
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment