Updated: October 28, 2024 |
Find an entity in the current namespace
#include <pips/publication.h>
pips_entity_t* pips_namespace_find_entity(pips_namespace_t *const nmspace, const char *name)
This function searches the list of entities managed by the current namespace to find the specified entity. Only the immediate children of the current namespace are searched; sub-namespaces aren't searched recursively.
On success, a pointer to the named entity whose parent is the current namespace. If no such entity is found or an error occurs in the search, this function returns NULL and sets errno.