34#ifndef KEEPALIVE_GLIB_HEARTBEAT_H_
35# define KEEPALIVE_GLIB_HEARTBEAT_H_
45# pragma GCC visibility push(default)
150# pragma GCC visibility pop
void heartbeat_unref(heartbeat_t *self)
struct heartbeat_t heartbeat_t
Definition keepalive-heartbeat.h:52
void heartbeat_start(heartbeat_t *self)
void(* heartbeat_wakeup_fn)(void *aptr)
Definition keepalive-heartbeat.h:58
heartbeat_t * heartbeat_new(void)
void heartbeat_set_notify(heartbeat_t *self, heartbeat_wakeup_fn notify_cb, void *user_data, heartbeat_free_fn user_free_cb)
void heartbeat_set_delay(heartbeat_t *self, int delay_lo, int delay_hi)
void(* heartbeat_free_fn)(void *aptr)
Definition keepalive-heartbeat.h:69
heartbeat_t * heartbeat_ref(heartbeat_t *self)
void heartbeat_stop(heartbeat_t *self)