diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-04-22 11:01:27 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-04-22 11:01:27 +0300 |
commit | 1f625e69e9609bedde9b071d87849ed518b43d22 (patch) | |
tree | 7df5410a2cf1a2bd92634c3a6d63858a97d49922 /lib/rpmts_internal.h | |
parent | d2810bdc527a5dbe03c15291dd50a0cdfca79319 (diff) | |
download | rpm-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.h | 3 |
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 */ |