pips_group_member_get_data()

Get the user data for a group member

Synopsis:

#include <pips/publication.h>
void* pips_group_member_get_data(pips_group_member_t *const member)

Arguments:

member
A pointer to the group member whose user data is being retrieved

Library:

pips-client

Description:

This function retrieves the address of the user data associated with the given group member. The framework makes no assumptions about the structure of the data; the caller is expected to know in advance what that structure may be.

Returns:

On success, a generic pointer to the user data associated with the current member. On error, NULL (errno is set).

Errors:

  • EINVAL: The member instance is invalid.
  • ENOENT: The member does not have any associated user data.