pips_topic_get_provider()
Get the provider for a topic
Synopsis:
#include <pips/publication.h>pips_provider_t* pips_topic_get_provider(pips_topic_t *const topic)Arguments:
- topic
- A pointer to the topic whose provider is requested
Library:
pips-clientDescription:
This function gets a handle to the publish/subscribe provider used by the current topic.
Returns:
On success, a handle (which is a pointer to a pips_provider_t structure) to the provider used by the current topic. On error, NULL (errno is set).
Errors:
- EFAULT: The topic's provider isn't set.
- EINVAL: The topic is invalid.
Page updated:
