diff options
author | Amar Tumballi <amarts@redhat.com> | 2012-02-21 15:02:39 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2012-02-21 01:42:42 -0800 |
commit | bca46fd46b1a1a28daeb9ea3f47cef9bbacecd6d (patch) | |
tree | 161737d7de86c7310c5cba84900b64867005e740 /rpc/rpc-lib/src/rpc-transport.h | |
parent | 7197111677619da96c80572a09331d6e28c1015b (diff) |
rpc/clnt: handle PARENT_DOWN event appropriately
Change-Id: I4644e944bad4d240d16de47786b9fa277333dba4
BUG: 767862
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Reviewed-on: http://review.gluster.com/2735
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'rpc/rpc-lib/src/rpc-transport.h')
-rw-r--r-- | rpc/rpc-lib/src/rpc-transport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/rpc-transport.h b/rpc/rpc-lib/src/rpc-transport.h index f838d4baf2c..16e061a5988 100644 --- a/rpc/rpc-lib/src/rpc-transport.h +++ b/rpc/rpc-lib/src/rpc-transport.h @@ -276,6 +276,9 @@ int rpc_transport_register_notify (rpc_transport_t *trans, rpc_transport_notify_t, void *mydata); +int +rpc_transport_unregister_notify (rpc_transport_t *trans); + int32_t rpc_transport_get_peername (rpc_transport_t *this, char *hostname, int hostlen); |