<commit_before>=head1 NAME

ping_iterator_get, ping_iterator_next - Iterate over all hosts of a liboping object

=head1 SYNOPSIS

  #include <oping.h>

  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<ping_iterator_get_info(3)> and
L<ping_iterator_get_context(3)>.

=head1 RETURN VALUE

The B<ping_iterator_get> returns an iterator for I<obj> or NULL if no host is
associated with I<obj>.

The B<ping_iterator_next> returns an iterator for the host following I<iter> or
NULL if the last host has been reached.

=head1 SEE ALSO

L<ping_host_add(3)>,
L<ping_iterator_get_info(3)>,
L<ping_iterator_get_context(3)>,
L<liboping(3)>

=head1 AUTHOR<commit_msg>ping_iterator_get(3): Added the `AUTHOR' section.<commit_after>=head1 NAME

ping_iterator_get, ping_iterator_next - Iterate over all hosts of a liboping object

=head1 SYNOPSIS

  #include <oping.h>

  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<ping_iterator_get_info(3)> and
L<ping_iterator_get_context(3)>.

=head1 RETURN VALUE

The B<ping_iterator_get> returns an iterator for I<obj> or NULL if no host is
associated with I<obj>.

The B<ping_iterator_next> returns an iterator for the host following I<iter> or
NULL if the last host has been reached.

=head1 SEE ALSO

L<ping_host_add(3)>,
L<ping_iterator_get_info(3)>,
L<ping_iterator_get_context(3)>,
L<liboping(3)>

=head1 AUTHOR

liboping is written by <NAME> E<lt>octo at verplant.orgE<gt>.
It's homepage can be found at L<http://verplant.org/liboping/>.

(c) 2005, 2006 by <NAME>.
{'fraction_non_alphanumeric': 0.08387096774193549, 'fraction_numerical': 0.013306451612903225, 'mean_word_length': 4.83764705882353, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '753291', 'n_tokens_mistral': 884, 'n_tokens_neox': 833, 'n_words': 287}