diff options
author | Csaba Henk <csaba@gluster.com> | 2010-09-15 08:11:21 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-16 23:07:57 -0700 |
commit | 3b27ee5d59cfd08e419dfbf1b71b54e724b1ed14 (patch) | |
tree | 368cfc9ffa0ab916f307d4655cf606b93e0dee53 /xlators/mgmt/glusterd/src/glusterd-pmap.h | |
parent | afa6e19f6a9e1dde0f00d72c21c760a5dca341b0 (diff) |
portmap: make grounds for typed service mapping
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 1570 (geosync related changes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-pmap.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-pmap.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-pmap.h b/xlators/mgmt/glusterd/src/glusterd-pmap.h index 6db616c39..a021da030 100644 --- a/xlators/mgmt/glusterd/src/glusterd-pmap.h +++ b/xlators/mgmt/glusterd/src/glusterd-pmap.h @@ -39,7 +39,7 @@ struct pmap_port_status { - int used; + gf_pmap_port_type_t type; char *brickname; void *xprt; }; @@ -52,8 +52,8 @@ struct pmap_registry { int pmap_registry_alloc (xlator_t *this); int pmap_registry_bind (xlator_t *this, int port, const char *brickname, - void *xprt); + gf_pmap_port_type_t type, void *xprt); int pmap_registry_remove (xlator_t *this, int port, const char *brickname, - void *xprt); + gf_pmap_port_type_t type, void *xprt); #endif |