diff options
| -rw-r--r-- | libglusterfs/src/glusterfs.h | 5 | ||||
| -rw-r--r-- | libglusterfs/src/protocol.h | 8 | 
2 files changed, 11 insertions, 2 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index f4d587ada4f..848e9ba7dca 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -135,9 +135,10 @@ typedef enum {          GF_MOP_STATS,          GF_MOP_SETSPEC,          GF_MOP_GETSPEC, -	GF_MOP_PING, +	GF_MOP_PING,      /* 5 */          GF_MOP_LOG, -        GF_MOP_MAXVALUE   /* 5 */ +        GF_MOP_NOTIFY, +        GF_MOP_MAXVALUE   /* 8 */  } glusterfs_mop_t;  typedef enum { diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h index a87228a167e..ede5adae4e8 100644 --- a/libglusterfs/src/protocol.h +++ b/libglusterfs/src/protocol.h @@ -925,6 +925,14 @@ typedef struct {  typedef struct {  } __attribute__((packed)) gf_mop_ping_rsp_t; +typedef struct { +	uint32_t  flags; +        char buf[0]; +} __attribute__((packed)) gf_mop_notify_req_t; +typedef struct { +	uint32_t  flags; +        char buf[0]; +} __attribute__((packed)) gf_mop_notify_rsp_t;  typedef struct {  	uint64_t ino;  | 
