1QUORUM_CONTEXT_SET(C3o)rosync Cluster Engine Programmer's ManQuUaOlRUM_CONTEXT_SET(3)
2
3
4

NAME

6       quorum_context_set - Sets the context variable for a QUORUM instance
7

SYNOPSIS

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

DESCRIPTION

14       The quorum_context_set function is used to set the context variable for
15       a quorum instance. It has no meaning inside libquorum itself  and  will
16       not  be  touched  by the library. It can be retrieved using quorum_con‐
17       text_get(3)
18

RETURN VALUE

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

ERRORS

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

SEE ALSO

42       quorum_overview(8),   quorum_initialize(3),   quorum_finalize(3),  quo‐
43       rum_getquorate(3),  quorum_trackstart(3),   quorum_trackstop(3),   quo‐
44       rum_fd_get(3), quorum_dispatch(3), quorum_context_get(3)
45
46corosync Man Page                 2018-10-30             QUORUM_CONTEXT_SET(3)
Impressum