1VOTEQUORUM_FINALIZEC(o3r)osync Cluster Engine Programmer's MaVnOuTaElQUORUM_FINALIZE(3)
2
3
4

NAME

6       votequorum_finalize - Terminate a connection to the votequorum service
7

SYNOPSIS

9       #include <corosync/votequorum.h>
10
11       int votequorum_finalize(votequorum_handle_t handle);
12

DESCRIPTION

14       The  votequorum_finalize  function is used to close a connection to the
15       configuration database API.  Once the connection is finalized, the han‐
16       dle  may  not be used again by applications.  No more callbacks will be
17       dispatched from the votequorum_dispatch function.
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       votequorum_overview(3),    votequorum_initialize(3),    votequorum_get‐
43       info(3),  votequorum_trackstart(3),  votequorum_trackstop(3),  votequo‐
44       rum_fd_get(3), votequorum_dispatch(3), votequorum_context_set(3), vote‐
45       quorum_context_get(3),       votequorum_setexpected(3),        votequo‐
46       rum_setvotes(3)
47
48corosync Man Page                 2022-03-30            VOTEQUORUM_FINALIZE(3)
Impressum