summaryrefslogtreecommitdiffstats
path: root/hbeat.c
diff options
context:
space:
mode:
Diffstat (limited to 'hbeat.c')
-rw-r--r--hbeat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hbeat.c b/hbeat.c
index 08ec9d1..c2456ca 100644
--- a/hbeat.c
+++ b/hbeat.c
@@ -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;
+}