diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 16:38:53 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 16:52:36 +0200 |
commit | 2d18ede622fcdb7dc5d53863c711437bef79fe76 (patch) | |
tree | 67a57b9dff2d0d66366de12e3038781a79dab5e9 /pingu_host.h | |
parent | 6cb406b3eef4a54ba8bc2e7d3d1fb619f0a5d219 (diff) | |
download | pingu-2d18ede622fcdb7dc5d53863c711437bef79fe76.tar.bz2 pingu-2d18ede622fcdb7dc5d53863c711437bef79fe76.tar.xz |
misc clean up
- rename ping_host to pingu_host
- open log
- fix compiler warning
Diffstat (limited to 'pingu_host.h')
-rw-r--r-- | pingu_host.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 <ev.h> + +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 |