summaryrefslogtreecommitdiffstats
path: root/hbeat.h
diff options
context:
space:
mode:
authorDean Jansa <djansa@redhat.com>2005-10-06 19:02:22 +0000
committerNathan Straz <nstraz@redhat.com>2008-09-23 09:37:45 -0400
commit89d2504db378c5b091db5229484af5c58851fa5f (patch)
treed78fbe6563111d03a0048fc151ce10a6fbddc2e5 /hbeat.h
parentc7a556d4039d1195fb11c29e5eba28e3e0ee7c0d (diff)
downloadqarsh-89d2504db378c5b091db5229484af5c58851fa5f.tar.gz
qarsh-89d2504db378c5b091db5229484af5c58851fa5f.tar.xz
qarsh-89d2504db378c5b091db5229484af5c58851fa5f.zip
Add heartbeat interface lib files
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);