cpg_context_set3
Sets the context variable for a cpg instance
Usage
#include <corosync/cpg.h>
int cpg_context_set(cpg_handle_t handle, void *context);
Overview
The cpg_context_set function is used to set the context variable for a cpg instance. It has no meaning inside libcpg itself and will not be touched by the library. It can be retrieved using cpg_context_get(3)
Return value
This call returns the CS_OK value if successful, otherwise an error is returned.
Errors
The errors are undocumented.
Releases
9 releases since Debian 5.0 (Lenny); the text changed 3 times.