summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 8fe50dd)
raw | patch | inline | side by side (from parent 1: 8fe50dd)
author | Hamish Coleman <hamish@zot.org> | |
Tue, 9 May 2017 01:32:04 +0000 (09:32 +0800) | ||
committer | Hamish Coleman <hamish@zot.org> | |
Tue, 9 May 2017 01:32:04 +0000 (09:32 +0800) |
bindings/perl/Oping.xs | patch | blob | history | |
src/mans/liboping.pod | patch | blob | history | |
src/mans/ping_iterator_count.pod | [new file with mode: 0644] | patch | blob |
diff --git a/bindings/perl/Oping.xs b/bindings/perl/Oping.xs
index c88e3dca981710649212fac8a21ff97ad68c92bd..5d8fa40992cf07292eb83a8dfbaaacef75d21e2b 100644 (file)
--- a/bindings/perl/Oping.xs
+++ b/bindings/perl/Oping.xs
OUTPUT:
RETVAL
+int
+_ping_iterator_count (obj)
+ pingobj_t *obj
+ CODE:
+ RETVAL = ping_iterator_count (obj);
+ OUTPUT:
+ RETVAL
+
double
_ping_iterator_get_latency (iter)
pingobj_iter_t *iter
diff --git a/src/mans/liboping.pod b/src/mans/liboping.pod
index c36a89c0e256122ccd2fe37b763a5e640605a2bf..7eb987efc9c2966fb44c7e4bfdfdcf304c32243c 100644 (file)
--- a/src/mans/liboping.pod
+++ b/src/mans/liboping.pod
L<ping_host_add(3)>,
L<ping_send(3)>,
L<ping_get_error(3)>,
+L<ping_iterator_count(3)>,
L<ping_iterator_get(3)>,
L<ping_iterator_get_info(3)>,
L<ping_iterator_get_context(3)>
diff --git a/src/mans/ping_iterator_count.pod b/src/mans/ping_iterator_count.pod
--- /dev/null
@@ -0,0 +1,33 @@
+=head1 NAME
+
+ping_iterator_count - Count the number of hosts in a liboping object
+
+=head1 SYNOPSIS
+
+ #include <oping.h>
+
+ int ping_iterator_count (pingobj_t *obj);
+
+=head1 DESCRIPTION
+
+This functions is used to count the number of hosts currently associated
+with a liboping object.
+
+=head1 RETURN VALUE
+
+The B<ping_iterator_count> returns an integer number or zero if no host is
+associated with I<obj>.
+
+=head1 SEE ALSO
+
+L<ping_host_add(3)>,
+L<ping_iterator_get(3)>,
+L<ping_iterator_next(3)>,
+L<liboping(3)>
+
+=head1 AUTHOR
+
+liboping is written by Florian "octo" Forster E<lt>ff at octo.itE<gt>.
+Its homepage can be found at L<http://noping.cc/>.
+
+Copyright (c) 2005-2016 by Florian "octo" Forster.