1QUORUM_CONTEXT_GET(C3o)rosync Cluster Engine Programmer's ManQuUaOlRUM_CONTEXT_GET(3)
2
3
4
6 quorum_context_get - Gets the context variable for a QUORUM instance
7
9 #include <corosync/quorum.h>
10
11 int quorum_context_get(quorum_handle_t handle, void **context);
12
14 The quorum_context_get function is used to retrieve the context vari‐
15 able previously stored using quorum_context_set(3)
16
18 This call returns the CS_OK value if successful, otherwise an error is
19 returned.
20
22 CS_ERR_TRY_AGAIN Resource temporarily unavailable
23
24 CS_ERR_INVALID_PARAM Invalid argument
25
26 CS_ERR_ACCESS Permission denied
27
28 CS_ERR_LIBRARY The connection failed
29
30 CS_ERR_INTERRUPT System call interrupted by a signal
31
32 CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
33
34 CS_ERR_MESSAGE_ERROR Incorrect auth message received
35
36 CS_ERR_NO_MEMORY Not enough memory to complete the requested task
37
38
40 quorum_overview(3), quorum_initialize(3), quorum_model_initialize(3),
41 quorum_finalize(3), quorum_getquorate(3), quorum_trackstart(3), quo‐
42 rum_trackstop(3), quorum_fd_get(3), quorum_dispatch(3), quorum_con‐
43 text_set(3),
44
45corosync Man Page 2021-11-15 QUORUM_CONTEXT_GET(3)