1CMAP_ITER_FINALIZE(C3o)rosync Cluster Engine Programmer's ManCuMaAlP_ITER_FINALIZE(3)
2
3
4
6 cmap_iter_finalize - Finalize iterator for keys stored in CMAP
7
8
10 #include <corosync/cmap.h>
11
12
13 cs_error_t cmap_iter_finalize (cmap_handle_t handle, cmap_iter_handle_t
14 iter_handle);
15
16
18 The cmap_iter_finalize function is used to free up memory associated
19 with iteration obtained by calling of cmap_iter_init(3) function. The
20 handle argument is connection to CMAP database obtained by calling
21 cmap_initialize(3) function. iter_handle argument is iterator handle
22 obtained by cmap_iter_init(3) function.
23
24
26 This call returns the CS_OK value if successful. CS_ERR_BAD_HANDLE
27 error is returned when iter_handle is invalid.
28
29
31 cmap_iter_init(3), cmap_initialize(3), cmap_overview(8)
32
33 CS_ERR_TRY_AGAIN Resource temporarily unavailable
34
35 CS_ERR_INVALID_PARAM Invalid argument
36
37 CS_ERR_ACCESS Permission denied
38
39 CS_ERR_LIBRARY The connection failed
40
41 CS_ERR_INTERRUPT System call interrupted by a signal
42
43 CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
44
45 CS_ERR_MESSAGE_ERROR Incorrect auth message received
46
47 CS_ERR_NO_MEMORY Not enough memory to complete the requested task
48
49
50
51corosync Man Page 06/02/2012 CMAP_ITER_FINALIZE(3)