pips_entity_get_provider()
Get the publish/subscribe provider for an entity
Synopsis:
#include <pips/publication.h>pips_provider_t* pips_entity_get_provider(pips_entity_t *const entity)Arguments:
- entity
- A pointer to the entity whose provider is requested
Library:
pips-clientDescription:
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.
Returns:
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).
Errors:
- ENOTTY: The entity is invalid.
- EFAULT: The entity was not correctly initialized.
Page updated:
