summaryrefslogtreecommitdiffstats
path: root/hbeat.h
diff options
context:
space:
mode:
Diffstat (limited to 'hbeat.h')
-rw-r--r--hbeat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/hbeat.h b/hbeat.h
new file mode 100644
index 0000000..1a7b4b8
--- /dev/null
+++ b/hbeat.h
@@ -0,0 +1,9 @@
+/*
+ * hbeat.h
+ */
+
+typedef void * hbeat_t;
+
+extern hbeat_t hbeat_init(const char *host, int max_timeout);
+void hbeat_free(hbeat_t hbh);
+unsigned int hbeat(hbeat_t hbh);