| Updated: October 28, 2024 |
Walk the children of a namespace
#include <pips/publication.h>
pips_entity_t* pips_namespace_next_child(pips_namespace_t *const nmspace,
pips_entity_t *const current_child)
This function returns the next unvisited child entity of the current namespace. This entity may be either a topic or a sub-namespace with its own list of children. Use this function to walk the tree of known topics and namespaces.
On success, a pointer to the pips_entity_t instance that is the next child of the current namespace. On error, NULL (errno is set).