summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/protocol.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@zresearch.com>2009-02-23 02:33:11 -0800
committerAnand V. Avati <avati@amp.gluster.com>2009-02-23 19:31:52 +0530
commita3ed4474de9db5bda606b374f3d8cb1cdbf8a9fb (patch)
tree23da9bd50c184564c531a15a8c396af48499f07a /libglusterfs/src/protocol.h
parent80066c23da120621f26d83d631e204ab2943d181 (diff)
added lock_notify and lock_fnotify FOPs to everywhere necessary in libglusterfs/*
fixed indentation and resubmitting Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfs/src/protocol.h')
-rw-r--r--libglusterfs/src/protocol.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h
index 4ba869d..5f72251 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;