cpg_context_set(3)

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.

  1. 5.0
  2. 6.0–8
  3. 9
  4. 10–13

From libcpg-dev 3.1.9-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.