=head1 NAME ping_iterator_get_context, ping_iterator_set_context - Store host-dependent data =head1 SYNOPSIS #include void *ping_iterator_get_context (pingobj_iter_t *iter); void ping_iterator_set_context (pingobj_iter_t *iter, void *context); =head1 DESCRIPTION B can be used to store host-specific data within the liboping structures. This data can be received again by calling B. The data itself is never touched by liboping. If you call ping_host_remove (see L) or ping_destroy (see L) and the context is not NULL liboping will assume you know what you're doing and simply ignore the fact this might be a memory leak. The I argument is an iterator object as returned by L and ping_iterator_next. The I argument of B is a pointer to anything and may be NULL. =head1 RETURN VALUE B returns the same pointer previously passed to B or NULL if B has never been called before. =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) 2006-2017 by Florian "octo" Forster.