summaryrefslogtreecommitdiff
path: root/lib/psm.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-04-07 12:43:20 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-04-07 12:43:20 +0300
commit81754356cd3b7118e32665b6306369ba2cdc1c35 (patch)
treef83e56ca94494c4da43d3536571b4c4d9405c86e /lib/psm.c
parente9c767a8d75ee1f2c159867d16e13b74a43da23e (diff)
downloadrpm-81754356cd3b7118e32665b6306369ba2cdc1c35.tar.gz
rpm-81754356cd3b7118e32665b6306369ba2cdc1c35.tar.bz2
rpm-81754356cd3b7118e32665b6306369ba2cdc1c35.zip
Make rpmdbAdd() and rpmdbRemove() internal-only
- all additions and removals to the rpmdb need to go through the transaction machinery, these are very low-level functions that API users have no business messing with
Diffstat (limited to 'lib/psm.c')
-rw-r--r--lib/psm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/psm.c b/lib/psm.c
index 20444caf4..525b1f4fd 100644
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -21,6 +21,7 @@
#include "lib/fsm.h" /* XXX CPIO_FOO/FSM_FOO constants */
#include "lib/rpmfi_internal.h" /* XXX replaced/states... */
#include "lib/rpmte_internal.h" /* XXX internal apis */
+#include "lib/rpmdb_internal.h" /* rpmdbAdd/Remove */
#include "lib/rpmscript.h"
#include "debug.h"