# confd\_lib

`confd_lib` - C library for connecting to NSO

## Library

NSO Library, (`libconfd`, `-lconfd`)

## Description

The `libconfd` shared library is used to connect to NSO. The documentation for the library is divided into several manual pages:

[confd\_lib\_lib(3)](/guides/nso-6.6/resources/man/confd_lib_lib.3.md)

> Common Library Functions

[confd\_lib\_dp(3)](/guides/nso-6.6/resources/man/confd_lib_dp.3.md)

> The Data Provider API

[confd\_lib\_events(3)](/guides/nso-6.6/resources/man/confd_lib_events.3.md)

> The Event Notification API

[confd\_lib\_ha(3)](/guides/nso-6.6/resources/man/confd_lib_ha.3.md)

> The High Availability API

[confd\_lib\_cdb(3)](/guides/nso-6.6/resources/man/confd_lib_cdb.3.md)

> The CDB API

[confd\_lib\_maapi(3)](/guides/nso-6.6/resources/man/confd_lib_maapi.3.md)

> 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)](/guides/nso-6.6/resources/man/confd_lib_lib.3.md) manual page. Always needed.

`#include <confd_dp.h>`

> Needed when functions in the [confd\_lib\_dp(3)](/guides/nso-6.6/resources/man/confd_lib_dp.3.md) manual page are used.

`#include <confd_events.h>`

> Needed when functions in the [confd\_lib\_events(3)](/guides/nso-6.6/resources/man/confd_lib_events.3.md) manual page are used.

`#include <confd_ha.h>`

> Needed when functions in the [confd\_lib\_ha(3)](/guides/nso-6.6/resources/man/confd_lib_ha.3.md) manual page are used.

`#include <confd_cdb.h>`

> Needed when functions in the [confd\_lib\_cdb(3)](/guides/nso-6.6/resources/man/confd_lib_cdb.3.md) manual page are used.

`#include <confd_maapi.h>`

> Needed when functions in the [confd\_lib\_maapi(3)](/guides/nso-6.6/resources/man/confd_lib_maapi.3.md) 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>
```

## See Also

The NSO User Guide


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nso-docs.cisco.com/guides/nso-6.6/resources/man/confd_lib.3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
