diff options
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
| -rw-r--r-- | libglusterfs/src/glusterfs.h | 15 | 
1 files changed, 14 insertions, 1 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index f107a8abf..9b5a0e992 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,  | 
