summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/glusterfs.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index f107a8abfa4..9b5a0e99239 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -150,15 +150,28 @@ typedef enum {
GF_LK_GETLK = 0,
GF_LK_SETLK,
GF_LK_SETLKW,
+ GF_LK_RESLK_LCK,
+ GF_LK_RESLK_LCKW,
+ GF_LK_RESLK_UNLCK,
} glusterfs_lk_cmds_t;
typedef enum {
GF_LK_F_RDLCK = 0,
GF_LK_F_WRLCK,
- GF_LK_F_UNLCK
+ GF_LK_F_UNLCK,
+ GF_LK_RECLK,
} glusterfs_lk_types_t;
+typedef enum {
+ F_RESLK_LCK = 200,
+ F_RESLK_LCKW,
+ F_RESLK_UNLCK,
+} glusterfs_lk_recovery_cmds_t;
+
+typedef enum {
+ F_GETLK_FD = 250,
+} glusterfs_lk_rec_types_t;
typedef enum {
GF_LOCK_POSIX,