Updated: April 19, 2023 |
Get the parent namespace of an entity
#include <pips/publication.h>
pips_namespace_t* pips_entity_parent(pips_entity_t *const entity)
This function gets a handle to the namespace that's the immediate parent of the current entity. This can be used to navigate to the entity's root namespace.
On success, a handle (which is a pointer to pips_namespace_t object) to the parent namespace. On error, NULL (errno is set).