summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cc9cb14)
raw | patch | inline | side by side (parent: cc9cb14)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 15 Mar 2009 10:21:57 +0000 (11:21 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 15 Mar 2009 10:21:57 +0000 (11:21 +0100) |
src/mans/ping_iterator_get_info.pod | patch | blob | history | |
src/mans/ping_setopt.pod | patch | blob | history |
index 1d4e8cf212c2d47ff8240b970afb7620cddc63fa..d7ee5652eb1d4cc5b6a82d1c9ddeb995416e7b22 100644 (file)
=head1 NAME
=head1 NAME
-ping_iterator_get_info - Constructor for the liboping class
+ping_iterator_get_info - Receive information about a host
=head1 SYNOPSIS
=head1 SYNOPSIS
Return the hostname of the host the iterator points to. Since the name is
looked up using the socket address this may differ from the hostname passed to
L<ping_host_add(3)>. The hostname is actually looked up every time you call
Return the hostname of the host the iterator points to. Since the name is
looked up using the socket address this may differ from the hostname passed to
L<ping_host_add(3)>. The hostname is actually looked up every time you call
-this method, no cache is involved within liboping.
+this method, no cache is involved within I<liboping>.
It is recommended to include C<netdb.h> and allocate B<NI_MAXHOST> bytes of
buffer.
It is recommended to include C<netdb.h> and allocate B<NI_MAXHOST> bytes of
buffer.
=item B<PING_INFO_FAMILY>
=item B<PING_INFO_FAMILY>
-Returns the address family of the host. The buffer should be ig enough to hold
+Returns the address family of the host. The buffer should be big enough to hold
an integer. The value is either B<AF_INET> or B<AF_INET6>.
=item B<PING_INFO_LATENCY>
an integer. The value is either B<AF_INET> or B<AF_INET6>.
=item B<PING_INFO_LATENCY>
-Return the last measured latency or less than zero if the timeout occured
+Return the last measured latency or less than zero if the timeout occurred
before a echo response was received. The buffer should be big enough to hold a
double value.
before a echo response was received. The buffer should be big enough to hold a
double value.
index 4235e286e7bb5e561f959de39ef6c4e5430a5416..24527011d220c01f1c0b9a9f6dafb20a8f1b84b8 100644 (file)
--- a/src/mans/ping_setopt.pod
+++ b/src/mans/ping_setopt.pod
The B<ping_setopt> method sets options that effect all hosts associated with
the object I<obj> and hosts that are yet to be added to the object.
The B<ping_setopt> method sets options that effect all hosts associated with
the object I<obj> and hosts that are yet to be added to the object.
-The I<obj> argument is a pointer to an liboping object, as returned by
+The I<obj> argument is a pointer to an I<liboping> object, as returned by
L<ping_construct(3)>.
The I<opt> argument specifies the option to set. Use one of the following
L<ping_construct(3)>.
The I<opt> argument specifies the option to set. Use one of the following