1CPG_MEMBERSHIP_GET(3)     Openais Programmer's Manual    CPG_MEMBERSHIP_GET(3)
2
3
4

NAME

6       cpg_membership_get - Returns a list of members of a CPG library group
7

SYNOPSIS

9       #include <openais/cpg.h>
10
11       int cpg_membership_get(cpg_handle_t handle, struct cpg_name *groupName,
12       struct cpg_address *member_list, int *member_list_entries);
13

DESCRIPTION

15       The cpg_membership_get function is used to determine the  current  pro‐
16       cesses  in  the  configuration. You probably will not need to call this
17       function much as one of the first confchg callbacks you will  get  will
18       be from the cpg_join() function containing your process.   The argument
19       handle is used to reference the cpg instantiation.  The argument group‐
20       Name  will  return  the name of the group The argument member_list will
21       return the list of processors in the current membership.  The  argument
22       member_list_entries should be set with the size of member_list and will
23       return the size of the member_list after return from the function.
24

ERRORS

26       The errors are undocumented.
27

SEE ALSO

29       cpg_overview(8),  cpg_initialize(3),  cpg_finalize(3),   cpg_fd_get(3),
30       cpg_dispatch(3),    cpg_leave(3),    cpg_mcast_joined(3),   cpg_member‐
31       ship_get(3)
32
33openais Man Page                  2006-02-06             CPG_MEMBERSHIP_GET(3)
Impressum