1VOTEQUORUM_CONTEXT_CGoErTo(s3y)nc Cluster Engine Programmer'sVOMTaEnQuUaOlRUM_CONTEXT_GET(3)
2
3
4

NAME

6       votequorum_context_get - Gets the context variable for a VOTEQUORUM in‐
7       stance
8

SYNOPSIS

10       #include <corosync/votequorum.h>
11
12       int votequorum_context_get(votequorum_handle_t handle, void **context);
13

DESCRIPTION

15       The votequorum_context_get function is used  to  retrieve  the  context
16       variable previously stored using votequorum_context_set(3)
17

RETURN VALUE

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

ERRORS

23       CS_ERR_TRY_AGAIN Resource temporarily unavailable
24
25       CS_ERR_INVALID_PARAM Invalid argument
26
27       CS_ERR_ACCESS Permission denied
28
29       CS_ERR_LIBRARY The connection failed
30
31       CS_ERR_INTERRUPT System call interrupted by a signal
32
33       CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
34
35       CS_ERR_MESSAGE_ERROR Incorrect auth message received
36
37       CS_ERR_NO_MEMORY Not enough memory to complete the requested task
38
39

SEE ALSO

41       votequorum_overview(3),   votequorum_initialize(3),   votequorum_final‐
42       ize(3),   votequorum_getinfo(3),   votequorum_trackstart(3),   votequo‐
43       rum_trackstop(3), votequorum_fd_get(3),  votequorum_dispatch(3),  vote‐
44       quorum_context_set(3),   votequorum_context_get(3),   votequorum_setex‐
45       pected(3), votequorum_setvotes(3)
46
47corosync Man Page                 2022-11-15         VOTEQUORUM_CONTEXT_GET(3)
Impressum