Make rpmlock flags available internally
This commit is contained in:
parent
3821553a46
commit
172c1581ef
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue