1CMAP_CONTEXT_GET(3)Corosync Cluster Engine Programmer's ManuaClMAP_CONTEXT_GET(3)
2
3
4
6 cmap_context_get - Gets the context variable for a CMAP instance
7
8
10 #include <corosync/cmap.h>
11
12
13 cs_error_t cmap_context_get (cmap_handle_t handle, const void **con‐
14 text);
15
16
18 The cmap_context_get function is used to retrieve the context variable
19 previously stored using cmap_context_set(3).
20
21
23 This call returns the CS_OK value if successful, otherwise an error is
24 returned.
25
26
28 cmap_context_set(3), cmap_overview(3)
29
30 CS_ERR_TRY_AGAIN Resource temporarily unavailable
31
32 CS_ERR_INVALID_PARAM Invalid argument
33
34 CS_ERR_ACCESS Permission denied
35
36 CS_ERR_LIBRARY The connection failed
37
38 CS_ERR_INTERRUPT System call interrupted by a signal
39
40 CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
41
42 CS_ERR_MESSAGE_ERROR Incorrect auth message received
43
44 CS_ERR_NO_MEMORY Not enough memory to complete the requested task
45
46
47
48corosync Man Page 23/01/2012 CMAP_CONTEXT_GET(3)