diff options
Diffstat (limited to 'libglusterfs/src/protocol.h')
-rw-r--r-- | libglusterfs/src/protocol.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index 4ba869dee..5f7225152 100644 --- a/libglusterfs/src/protocol.h +++ b/libglusterfs/src/protocol.h @@ -651,6 +651,20 @@ typedef struct { typedef struct { + uint64_t ino; + int32_t timeout; +} __attribute__((packed)) gf_fop_lock_notify_req_t; +typedef struct { } __attribute__((packed)) gf_fop_lock_notify_rsp_t; + + +typedef struct { + int64_t fd; + int32_t timeout; +} __attribute__((packed)) gf_fop_lock_fnotify_req_t; +typedef struct { } __attribute__((packed)) gf_fop_lock_fnotify_rsp_t; + + +typedef struct { char name[0]; } __attribute__((packed)) gf_mop_lock_req_t; typedef struct {} __attribute__((packed)) gf_mop_lock_rsp_t; |