diff options
Diffstat (limited to 'rpc/rpc-lib/src/protocol-common.h')
-rw-r--r-- | rpc/rpc-lib/src/protocol-common.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h index de9b7422b..1c020ae92 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -223,6 +223,17 @@ typedef enum { GF_BD_OP_SNAPSHOT_BD, } gf_xl_bd_op_t ; +enum glusterd_jarvis_mgmt_procnum { + GLUSTERD_JARVIS_NULL, /* 0 */ + GLUSTERD_JARVIS_VOLUME_LOCK, + GLUSTERD_JARVIS_PRE_VALIDATE, + GLUSTERD_JARVIS_BRICK_OP, + GLUSTERD_JARVIS_COMMIT, + GLUSTERD_JARVIS_POST_VALIDATE, + GLUSTERD_JARVIS_VOLUME_UNLOCK, + GLUSTERD_JARVIS_MAXVALUE, +}; + #define GLUSTER_HNDSK_PROGRAM 14398633 /* Completely random */ #define GLUSTER_HNDSK_VERSION 2 /* 0.0.2 */ @@ -253,4 +264,8 @@ typedef enum { #define GD_MGMT_HNDSK_PROGRAM 1239873 /* Completely random */ #define GD_MGMT_HNDSK_VERSION 1 +/* Jarvis Protocols */ +#define GD_JARVIS_MGMT_PROGRAM 8102013 /* Completely random */ +#define GD_JARVIS_MGMT_VERSION 1 + #endif /* !_PROTOCOL_COMMON_H */ |