blob: f188748da63b222906e9764224cbb3a6dcc1999f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef PINGU_PING_H
#define PINGU_PING_H
#include <ev.h>
#include "list.h"
#include "pingu_host.h"
struct pingu_ping {
int seq;
struct pingu_host *host;
struct list_head ping_list_entry;
struct ev_timer timeout_watcher;
};
int pingu_ping_send(struct ev_loop *loop, struct pingu_host *host,
int set_status_on_failure);
void pingu_ping_read_reply(struct ev_loop *loop, struct pingu_iface *iface);
#endif
|