1CMAP_CONTEXT_SET(3)Corosync Cluster Engine Programmer's ManuaClMAP_CONTEXT_SET(3)
2
3
4

NAME

6       cmap_context_set - Sets the context variable for a CMAP instance
7
8

SYNOPSIS

10       #include <corosync/cmap.h>
11
12
13       cs_error_t  cmap_context_set  (cmap_handle_t  handle,  const void *con‐
14       text);
15
16

DESCRIPTION

18       The cmap_context_set function is used to store the context variable for
19       cmap instance.  It has no meaning inside libcmap itself and will not be
20       touched by the library. It can be retrieved using cmap_context_get(3).
21
22

RETURN VALUE

24       This call returns the CS_OK value if successful, otherwise an error  is
25       returned.
26
27

SEE ALSO

29       cmap_context_get(3), cmap_overview(3)
30
31       CS_ERR_TRY_AGAIN Resource temporarily unavailable
32
33       CS_ERR_INVALID_PARAM Invalid argument
34
35       CS_ERR_ACCESS Permission denied
36
37       CS_ERR_LIBRARY The connection failed
38
39       CS_ERR_INTERRUPT System call interrupted by a signal
40
41       CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
42
43       CS_ERR_MESSAGE_ERROR Incorrect auth message received
44
45       CS_ERR_NO_MEMORY Not enough memory to complete the requested task
46
47
48
49corosync Man Page                 23/01/2012               CMAP_CONTEXT_SET(3)
Impressum