summaryrefslogtreecommitdiff
path: root/lib/rpmts_internal.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-04-22 11:01:27 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-04-22 11:01:27 +0300
commit1f625e69e9609bedde9b071d87849ed518b43d22 (patch)
tree7df5410a2cf1a2bd92634c3a6d63858a97d49922 /lib/rpmts_internal.h
parentd2810bdc527a5dbe03c15291dd50a0cdfca79319 (diff)
downloadrpm-1f625e69e9609bedde9b071d87849ed518b43d22.tar.gz
Further generalize the rpmlock interface
- Move transaction lock path handling into rpmts.c, export new low level rpmlockAcquire() function to actually grab a lock - Rename rpmtsFreeLock() to rpmlockFree() and return NULL in the general rpm style
Diffstat (limited to 'lib/rpmts_internal.h')
-rw-r--r--lib/rpmts_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h
index d73d2b055..c42e2a131 100644
--- a/lib/rpmts_internal.h
+++ b/lib/rpmts_internal.h
@@ -6,6 +6,7 @@
#include "lib/rpmal.h" /* XXX availablePackage */
#include "lib/rpmhash.h" /* XXX hashTable */
#include "lib/fprint.h"
+#include "lib/rpmlock.h"
typedef struct diskspaceInfo_s * rpmDiskSpaceInfo;
@@ -78,4 +79,6 @@ tsMembers rpmtsMembers(rpmts ts);
RPM_GNUC_INTERNAL
int rpmtsSolve(rpmts ts, rpmds key);
+RPM_GNUC_INTERNAL
+rpmlock rpmtsAcquireLock(rpmts ts);
#endif /* _RPMTS_INTERNAL_H */