=head1 NAME ping_iterator_get, ping_iterator_next - Iterate over all hosts of a liboping object =head1 SYNOPSIS #include pingobj_iter_t *ping_iterator_get (pingobj_t *obj); pingobj_iter_t *ping_iterator_next (pingobj_iter_t *iter) =head1 DESCRIPTION These two functions can be used to iterate over all hosts associated with a liboping object. You can use these methods as follows: pingobj_iter_t *iter; for (iter = ping_iterator_get (obj); iter != NULL; iter = ping_iterator_next (iter)) { ...; } To get usable information from an iterator object (which is also an opaque data type, just like the liboping object itself) use L and L. =head1 RETURN VALUE The B returns an iterator for I or NULL if no host is associated with I. The B returns an iterator for the host following I or NULL if the last host has been reached. =head1 SEE ALSO L, L, L, L =head1 AUTHOR liboping is written by Florian "octo" Forster Eff at octo.itE. Its homepage can be found at L. Copyright (c) 2005-2011 by Florian "octo" Forster.