diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2012-08-29 17:31:32 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2012-08-29 17:31:32 +0300 |
commit | f933015fc04ade1189e38f37ebafe56d30e7213f (patch) | |
tree | b5e0d2f5f5b090f8c8c979aab6a2e006816370f8 /lib/backend | |
parent | 52c6012bbdf41386f5ce477106c116162b65db0a (diff) | |
download | librpm-tizen-f933015fc04ade1189e38f37ebafe56d30e7213f.tar.gz librpm-tizen-f933015fc04ade1189e38f37ebafe56d30e7213f.tar.bz2 librpm-tizen-f933015fc04ade1189e38f37ebafe56d30e7213f.zip |
Define separate hash for rpmdb header check cache
- This is really private to rpmdb.c (other than being exposed in
the struct definition in backend/dbi.h, sigh), let it live its
own life there.
- No functional changes here, just cleaning up a bit for next steps.
OTOH we could now cache the actual result, not just success... but
leaving that to another time.
Diffstat (limited to 'lib/backend')
-rw-r--r-- | lib/backend/dbi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backend/dbi.h b/lib/backend/dbi.h index 848f28829..5405ebe42 100644 --- a/lib/backend/dbi.h +++ b/lib/backend/dbi.h @@ -37,7 +37,7 @@ struct rpmdb_s { int db_mode; /*!< open mode */ int db_perms; /*!< open permissions */ int db_ver; /*!< Berkeley DB version */ - intHash db_checked; /*!< headerCheck()'ed package instances */ + struct dbChk_s * db_checked;/*!< headerCheck()'ed package instances */ rpmdb db_next; int db_opens; int db_ndbi; /*!< No. of tag indices. */ |