diff options
| author | Anand V. Avati <avati@blackhole.gluster.com> | 2010-08-12 05:05:01 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-12 03:55:12 -0700 | 
| commit | b69a4f1e31726260a07f883cefac28ed29cc6a12 (patch) | |
| tree | 864d706e8f4d02d6b3296665f74e110020a03d4c /rpc/rpc-lib/src/protocol-common.h | |
| parent | f862864468c9d11d646bdcc347a1121fe75a1917 (diff) | |
portmap functionality in glusterd
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1314 (portmapper functionality)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1314
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 7cff79be367..95ef06aef9c 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -123,6 +123,18 @@ enum gf_cli_procnum {          GF1_CLI_MAXVALUE,  }; + +enum gf_pmap_procnum { +        GF_PMAP_NULL = 0, +        GF_PMAP_PORTBYBRICK, +        GF_PMAP_BRICKBYPORT, +        GF_PMAP_SIGNUP, +        GF_PMAP_SIGNIN, +        GF_PMAP_SIGNOUT, +        GF_PMAP_MAXVALUE, +}; + +  #define GLUSTER3_1_FOP_PROGRAM   1298437 /* Completely random */  #define GLUSTER3_1_FOP_VERSION   310 /* 3.1.0 */  #define GLUSTER3_1_FOP_PROCCNT   GFS3_OP_MAXVALUE @@ -138,4 +150,7 @@ enum gf_cli_procnum {  #define GLUSTER_HNDSK_PROGRAM   14398633 /* Completely random */  #define GLUSTER_HNDSK_VERSION   1   /* 0.0.1 */ +#define GLUSTER_PMAP_PROGRAM    34123456 +#define GLUSTER_PMAP_VERSION    1 +  #endif /* !_PROTOCOL_COMMON_H */  | 
