diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-31 02:16:54 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-31 02:16:54 +0300 |
commit | 2f83ab90e666ed66413a0ea83b627348928a7e51 (patch) | |
tree | eea0d4dfd22b1957924d1b2e19519d4764c3b9c9 /lib/rpmdb_internal.h | |
parent | 19cae46ac447712e8ff7de733919aa5c32251a4a (diff) | |
download | librpm-tizen-2f83ab90e666ed66413a0ea83b627348928a7e51.tar.gz librpm-tizen-2f83ab90e666ed66413a0ea83b627348928a7e51.tar.bz2 librpm-tizen-2f83ab90e666ed66413a0ea83b627348928a7e51.zip |
Lose the BDB access method configuration options
- In the ~10 years of their existance none of them have been used,
and besides users have no business messing with fundamental database
behavior such as whether duplicates are allowed or not
Diffstat (limited to 'lib/rpmdb_internal.h')
-rw-r--r-- | lib/rpmdb_internal.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/lib/rpmdb_internal.h b/lib/rpmdb_internal.h index 55f692bfd..24a194f55 100644 --- a/lib/rpmdb_internal.h +++ b/lib/rpmdb_internal.h @@ -75,27 +75,6 @@ struct _dbiIndex { int dbi_cachesize; /*!< (128Kb) */ /* dbinfo parameters */ int dbi_pagesize; /*!< (fs blksize) */ - /* hash access parameters */ - unsigned int dbi_h_ffactor; /*!< */ - unsigned int (*dbi_h_hash_fcn) (DB *, const void *bytes, - unsigned int length); - unsigned int dbi_h_nelem; /*!< */ - unsigned int dbi_h_flags; /*!< DB_DUP, DB_DUPSORT */ - int (*dbi_h_dup_compare_fcn) (DB *, const DBT *, const DBT *); - /* btree access parameters */ - int dbi_bt_flags; - int dbi_bt_minkey; - int (*dbi_bt_compare_fcn) (DB *, const DBT *, const DBT *); - int (*dbi_bt_dup_compare_fcn) (DB *, const DBT *, const DBT *); - size_t (*dbi_bt_prefix_fcn) (DB *, const DBT *, const DBT *); - /* recno access parameters */ - int dbi_re_flags; - int dbi_re_delim; - unsigned int dbi_re_len; - int dbi_re_pad; - char * dbi_re_source; - /* queue access parameters */ - unsigned int dbi_q_extentsize; rpmdb dbi_rpmdb; /*!< the parent rpm database */ rpmTag dbi_rpmtag; /*!< rpm tag used for index */ |