Updated: April 19, 2023 |
Find an entity from its fully qualified name
#include <pips/pips.h>
pips_entity_t* pips_provider_find_entity(const pips_provider_t *provider, const char *path, const char *opt_separator)
This function attempts to resolve the given path, starting from the root namespace of the current provider, to find the entity thereby designated. The path may designate either a topic or a namespace. If provided, the specified separator is used to delineate the namespace and topic elements of the path.
On success, a pointer to the entity in the provider's root namespace designated by the fully qualified path. On error, NULL (errno is set).