23 lines
316 B
C
23 lines
316 B
C
#ifndef RPMLOCK_H
|
|
#define RPMLOCK_H
|
|
|
|
#include <rpm/rpmutil.h>
|
|
|
|
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
|