lib/rpmlock.h File Reference

Go to the source code of this file.

Functions

void * rpmtsAcquireLock (rpmts ts)
void rpmtsFreeLock (void *lock)


Function Documentation

void* rpmtsAcquireLock ( rpmts  ts  ) 

Definition at line 127 of file rpmlock.c.

References _, rpmlock::openmode, rpmlock_acquire(), rpmlock_free(), rpmlock_new(), rpmlock_path, RPMLOCK_WAIT, RPMLOCK_WRITE, RPMMESS_ERROR, RPMMESS_WARNING, rpmMessage, and rpmtsRootDir().

Referenced by rpmtsInitDB(), rpmtsRebuildDB(), and rpmtsRun().

void rpmtsFreeLock ( void *  lock  ) 

Definition at line 153 of file rpmlock.c.

References rpmlock_free(), and rpmlock_release().

Referenced by rpmtsInitDB(), rpmtsRebuildDB(), and rpmtsRun().


Generated on Tue Feb 19 22:26:23 2008 for rpm by  doxygen 1.5.1