From 2d18ede622fcdb7dc5d53863c711437bef79fe76 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 1 Jul 2011 16:38:53 +0200 Subject: misc clean up - rename ping_host to pingu_host - open log - fix compiler warning --- pingu_host.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pingu_host.h (limited to 'pingu_host.h') diff --git a/pingu_host.h b/pingu_host.h new file mode 100644 index 0000000..1599aa4 --- /dev/null +++ b/pingu_host.h @@ -0,0 +1,24 @@ +#ifndef PINGU_HOST_H +#define PINGU_HOST_H + +#include + +struct pingu_host { + struct list_head host_list_entry; + char *host; + char *source_ip; + char *label; + char *interface; + char *gateway; + char *up_action; + char *down_action; + int status; + int max_retries; + int required_replies; + float timeout; + + ev_tstamp burst_interval; + struct ev_timer burst_timeout_watcher; +}; + +#endif -- cgit v1.2.3