Internalize most direct rpmdb manipulation functions
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 3 Dec 2010 11:38:59 +0000 (13:38 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 3 Dec 2010 11:49:14 +0000 (13:49 +0200)
commita5c247c549cdce14f863580a8af132720e9e851e
tree66635bbff8e993d9df264d7b7d675de0ab055b2a
parent0cc5e818a9305e7443dd46252b9d4af6833b733e
Internalize most direct rpmdb manipulation functions
- Since rpm 4.1 times, callers are supposed to use the rpmtsFooDB()
  variants instead of the lower-level rpmdb functions, and mixing
  them is not safe. Enforce the use of ts-level versions by making
  rpmdbLink(), rpmdbOpen(), rpmdbInit(), rpmdbClose(),
  rpmdbSync(), rpmdbVerify() and rpmdbRebuild() internal-only.
- Doing this now to eliminate a few needs for breaking API again
  in 4.10 (one can wish, right?)
lib/rpmdb.h
lib/rpmdb_internal.h