diff options
author | Amar Tumballi <amar@gluster.com> | 2010-08-26 09:09:59 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-26 08:51:22 -0700 |
commit | 67d8b620186807f38277713930da2a1d1926d6d0 (patch) | |
tree | d46c48fecffd98650f85d8f06d7a44be7d495e04 /xlators/mgmt/glusterd/src/glusterd-pmap.h | |
parent | 0b87986fb6c35771f1ee60a161d427725c954c38 (diff) |
glusterd-pmap: trigger signout by RPC_DISCONNECT event
Signed-off-by: Amar Tumballi <amar@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 'xlators/mgmt/glusterd/src/glusterd-pmap.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-pmap.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-pmap.h b/xlators/mgmt/glusterd/src/glusterd-pmap.h index 4bc4536f84e..6db616c3998 100644 --- a/xlators/mgmt/glusterd/src/glusterd-pmap.h +++ b/xlators/mgmt/glusterd/src/glusterd-pmap.h @@ -41,6 +41,7 @@ struct pmap_port_status { int used; char *brickname; + void *xprt; }; struct pmap_registry { @@ -50,7 +51,9 @@ struct pmap_registry { }; int pmap_registry_alloc (xlator_t *this); -int pmap_registry_bind (xlator_t *this, int port, const char *brickname); -int pmap_registry_remove (xlator_t *this, int port, const char *brickname); +int pmap_registry_bind (xlator_t *this, int port, const char *brickname, + void *xprt); +int pmap_registry_remove (xlator_t *this, int port, const char *brickname, + void *xprt); #endif |