Updated: April 19, 2023 |
Get the publish/subscribe provider for an entity
#include <pips/publication.h>
pips_provider_t* pips_entity_get_provider(pips_entity_t *const entity)
This function gets a handle to the publish/subscribe provider associated with the given entity. The entity may represent a topic, a namespace, or an actual provider.
On success, a handle (which is a pointer to a pips_provider_t structure) to the provider associated with the current entity. On error, NULL (errno is set).