Clinfo APIs

An application accesses cluster information through the Clinfo API functions. Developers can use either the Clinfo C API or the Clinfo C++ API to access the cluster status information, which is then available locally for clients running the Clinfo program.

PowerHA® SystemMirror® for AIX® includes two versions of the Clinfo C and C++ API libraries: one for single-threaded (non-threaded) applications (libcl.a and libclpp.a ) and one for multi-threaded applications (libcl_r.a and libclpp_r.a ). Be sure to link with the appropriate version for your application. The libcl_r.a is a thread-safe version of the libcl.a ; the libclpp_r.a is a thread-safe version of the libclpp.a .

Each of these libraries contain 32-bit and 64-bit objects, which are loaded at runtime depending on the AIX operating environment.

See Clinfo C API and Clinfo C++ API, for detailed descriptions of the routines in these APIs.