The libconfd
shared library is used to
connect to ConfD. The documentation for the library is divided into
several manual pages:
Common Library Functions
The Data Provider API
The Event Notification API
The High Availability API
The CDB API
The Management Agent API
There is also a C header file associated with each of these manual pages:
#include <confd_lib.h>
Common type definitions and prototypes for the functions in the confd_lib_lib(3) manual page. Always needed.
#include <confd_dp.h>
Needed when functions in the confd_lib_dp(3) manual page are used.
#include <confd_events.h>
Needed when functions in the confd_lib_events(3) manual page are used.
#include <confd_ha.h>
Needed when functions in the confd_lib_ha(3) manual page are used.
#include <confd_cdb.h>
Needed when functions in the confd_lib_cdb(3) manual page are used.
#include <confd_maapi.h>
Needed when functions in the confd_lib_maapi(3) manual page are used.
For backwards compatibility, #include
<confd.h>
can also be used, and is equivalent
to:
#include <confd_lib.h> #include <confd_dp.h> #include <confd_events.h> #include <confd_ha.h>