Data Structures | |
struct | sul_fping_t |
Typedefs | |
typedef sul_fping_t | sul_fping_t |
Functions | |
sul_fping_create (sul_fping_t **self, apr_pool_t *pool) | |
sul_fping_spawn (sul_fping_t *self, const char *command) | |
sul_fping_ping (sul_fping_t *self, const char *ip) | |
sul_fping_get (sul_fping_t *self, char **identity, sul_boolean_t *alive, float *elapsed, apr_pool_t *pool) | |
sul_fping_close (sul_fping_t *self, sul_boolean_t force) |
|
An fping interface for engaging in a semi-interactive session with fping. |
|
Closes the fping interface, shutting down the fping executable.
|
|
Creates a new FPING interface. After this call, no fping process has been spawned yet, this happens in sul_fping_spawn.
|
|
Gets a ping reply from fping. Once this function is called, on more addresses should be pinged via sul_fping_ping. Note that this function may also block while fping blocks for the ping replies itself.
|
|
Writes an IP to the fping interface for pinging. Please see the notes on the fping interface for the use of IP's and host names.
|
|
Spawns the fping executable, and opens up stream for writing the IP's to be pinged and another stream for reading the returned pongs.
|