1SAM_FINALIZE(3) Corosync Cluster Engine Programmer's Manual SAM_FINALIZE(3)
2
3
4
6 sam_finalize - Terminate SAM service
7
8
10 #include <corosync/sam.h>
11
12
13 cs_error_t sam_finalize (void);
14
15
17 The sam_finalize function is used to terminate SAM API. Once the con‐
18 nection is finalized, the SAM may not be used again by application.
19 Whole functionality (health checking) will be stopped and after appli‐
20 cation fail, recovery action will not be taken.
21
22
24 This call return CS_OK value if successful, otherwise and error is
25 returned.
26
27
29 CS_ERR_BAD_HANDLE
30 library was not initialized by sam_init(3) function or was fin‐
31 ished already.
32
33
35 sam_initialize(3)
36
37
38
39corosync Man Page 12/01/2009 SAM_FINALIZE(3)