diff options
Diffstat (limited to 'rpc/rpc-lib/src/rpc-clnt-ping.h')
| -rw-r--r-- | rpc/rpc-lib/src/rpc-clnt-ping.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/rpc-clnt-ping.h b/rpc/rpc-lib/src/rpc-clnt-ping.h new file mode 100644 index 00000000000..e5466a828c2 --- /dev/null +++ b/rpc/rpc-lib/src/rpc-clnt-ping.h @@ -0,0 +1,16 @@ +/* + Copyright (c) 2014 Red Hat, Inc. <http://www.redhat.com> + This file is part of GlusterFS. + + This file is licensed to you under your choice of the GNU Lesser + General Public License, version 3 or any later version (LGPLv3 or + later), or the GNU General Public License, version 2 (GPLv2), in all + cases as published by the Free Software Foundation. +*/ + +struct rpc_clnt; +#define RPC_DEFAULT_PING_TIMEOUT 30 +void +rpc_clnt_check_and_start_ping(struct rpc_clnt *rpc_ptr); +int +rpc_clnt_remove_ping_timer_locked(struct rpc_clnt *rpc); |
