1CMAP_INITIALIZE(3)Corosync Cluster Engine Programmer's ManualCMAP_INITIALIZE(3)
2
3
4

NAME

6       cmap_initialize - Initialize CMAP API
7
8

SYNOPSIS

10       #include <corosync/cmap.h>
11
12
13       cs_error_t cmap_initialize (cmap_handle_t *handle);
14
15

DESCRIPTION

17       The  cmap_initialize function is used to initialize a connection to the
18       Configuration Map API. Each application may have several connections to
19       the  CMAP  API.   Each application uses the handle argument to uniquely
20       identify the connection.  The handle argument is  then  used  in  other
21       function  calls to identify the connection to be used for communication
22       with the CMAP service.
23
24

RETURN VALUE

26       This call returns the CS_OK value if successful, otherwise an error  is
27       returned.
28
29

SEE ALSO

31       cmap_finalize(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                 20/01/2012                CMAP_INITIALIZE(3)
Impressum