diff options
author | Nate Straz <nstraz@redhat.com> | 2006-01-16 22:10:47 +0000 |
---|---|---|
committer | Nathan Straz <nstraz@redhat.com> | 2008-09-23 09:37:45 -0400 |
commit | 71b0e211a9f865fff608f2619de1a7c18b2ee62d (patch) | |
tree | 2f550cb936b389baa0dd60771d670b2e327b524c /hbeat.c | |
parent | 65794221d4d9890a2536c6bb95301466e9707592 (diff) | |
download | qarsh-71b0e211a9f865fff608f2619de1a7c18b2ee62d.tar.gz qarsh-71b0e211a9f865fff608f2619de1a7c18b2ee62d.tar.xz qarsh-71b0e211a9f865fff608f2619de1a7c18b2ee62d.zip |
Add a function to get the max timeout value from a heartbeat handle.
Diffstat (limited to 'hbeat.c')
-rw-r--r-- | hbeat.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -166,3 +166,9 @@ hbeat_setstate(hbeat_t hbh, hbeat_state_t state) ((struct hbeat_s *)hbh)->rhost_state = state; return; } + +int +hbeat_getmaxtimeout(hbeat_t hbh) +{ + return ((struct hbeat_s *)hbh)->max_timeout; +} |