Updated: April 19, 2023 |
Get the topic associated with a publication
#include <pips/publication.h>
const pips_topic_t* pips_publication_get_topic(const pips_publication_t *const publication)
This function retrieves the topic instance that was associated with a publication when it was created. Each publication has a single associated topic.
On success, a pointer to the instance of the associated topic. On error, NULL (errno is set).