1QUORUM_FINALIZE(3)Corosync Cluster Engine Programmer's ManualQUORUM_FINALIZE(3)
2
3
4
6 quorum_finalize - Terminate a connection to the quorum service
7
9 #include <corosync/quorum.h>
10
11 int quorum_finalize(quorum_handle_t handle);
12
14 The quorum_finalize function is used to close a connection to the quo‐
15 rum API. Once the connection is finalized, the handle may not be used
16 again by applications. No more callbacks will be dispatched from the
17 quorum_dispatch function.
18
20 This call returns the CS_OK value if successful, otherwise an error is
21 returned.
22
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
42 quorum_overview(3), quorum_initialize(3), quorum_model_initialize(3),
43 quorum_getquorate(3), quorum_trackstart(3), quorum_trackstop(3), quo‐
44 rum_fd_get(3), quorum_dispatch(3), quorum_context_set(3), quorum_con‐
45 text_get(3)
46
47corosync Man Page 2022-11-15 QUORUM_FINALIZE(3)