Updated: April 19, 2023 |
Get a group member's name
#include <pips/publication.h>
const char* pips_group_get_member_name(pips_group_t *const self, pips_topic_t *const topic)
This function retrieves the name assigned to the member of the given group associated with the given topic. The member name is the name that was provided when the member was added using pips_group_add_member(). If no name was provided, the member name is the topic name.
On success, a pointer to an immutable string containing the name of the group member associated with the given topic. On error, NULL (errno is set).