#ifndef RPMLOCK_H #define RPMLOCK_H #include typedef struct rpmlock_s * rpmlock; #ifdef __cplusplus extern "C" { #endif RPM_GNUC_INTERNAL rpmlock rpmlockAcquire(const char *lock_path, const char *descr); RPM_GNUC_INTERNAL rpmlock rpmlockFree(rpmlock lock); #ifdef __cplusplus } #endif #endif