1QUORUM_CONTEXT_GET(C3o)rosync Cluster Engine Programmer's ManQuUaOlRUM_CONTEXT_GET(3)
2
3
4

NAME

6       quorum_context_get - Gets the context variable for a QUORUM instance
7

SYNOPSIS

9       #include <corosync/quorum.h>
10
11       int quorum_context_get(quorum_handle_t handle, void **context);
12

DESCRIPTION

14       The  quorum_context_get  function is used to retrieve the context vari‐
15       able previously stored using quorum_context_set(3)
16

RETURN VALUE

18       This call returns the CS_OK value if successful, otherwise an error  is
19       returned.
20

ERRORS

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

SEE ALSO

40       quorum_overview(3),   quorum_initialize(3),   quorum_finalize(3),  quo‐
41       rum_getquorate(3),  quorum_trackstart(3),   quorum_trackstop(3),   quo‐
42       rum_fd_get(3), quorum_dispatch(3), quorum_context_set(3),
43
44corosync Man Page                 2019-01-31             QUORUM_CONTEXT_GET(3)
Impressum