From 3b27ee5d59cfd08e419dfbf1b71b54e724b1ed14 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Wed, 15 Sep 2010 08:11:21 +0000 Subject: portmap: make grounds for typed service mapping Signed-off-by: Csaba Henk Signed-off-by: Vijay Bellur BUG: 1570 (geosync related changes) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570 --- rpc/rpc-lib/src/protocol-common.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'rpc') diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h index 4d1576446d4..4b8f113d01e 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -143,6 +143,15 @@ enum gf_pmap_procnum { GF_PMAP_MAXVALUE, }; +enum gf_pmap_port_type { + GF_PMAP_PORT_FREE = 0, + GF_PMAP_PORT_FOREIGN, + GF_PMAP_PORT_LEASED, + GF_PMAP_PORT_NONE, + GF_PMAP_PORT_BRICKSERVER, +}; +typedef enum gf_pmap_port_type gf_pmap_port_type_t; + enum gf_probe_resp { GF_PROBE_SUCCESS, GF_PROBE_LOCALHOST, -- cgit