Make rpmlock flags available internally

This commit is contained in:
Panu Matilainen 2013-03-11 09:23:49 +02:00
parent 3821553a46
commit 172c1581ef
2 changed files with 6 additions and 6 deletions

View File

@ -12,12 +12,6 @@
/* Internal interface */
enum {
RPMLOCK_READ = 1 << 0,
RPMLOCK_WRITE = 1 << 1,
RPMLOCK_WAIT = 1 << 2,
};
struct rpmlock_s {
int fd;
int openmode;

View File

@ -5,6 +5,12 @@
typedef struct rpmlock_s * rpmlock;
enum {
RPMLOCK_READ = 1 << 0,
RPMLOCK_WRITE = 1 << 1,
RPMLOCK_WAIT = 1 << 2,
};
#ifdef __cplusplus
extern "C" {
#endif