yp-client C Header Files

The C++ API classes allow use of the yp-client API, but only from C++ programs. Languages like C and Python can't use them directly. The functions described in the c-api-* files give programming languages that can access libraries using C functions access to the yp-client API.

Warning

Do not attempt to mix the C and C++ API functions.

A description of the yp-client .h header files follows. These files can be found in /usr/include/yumapro/mgr and /usr/include/yumapro/ycli directories.

/usr/include/yumapro/mgr C Headers

c-api-devices.h

Functions to create, save, load, and modify a device/server.

c-api-session.h

Functions dealing with sessions.

c-api-users.h

Functions to create, save, load, and modify a user account on a device.

/usr/include/yumapro/ycli C Headers

c-api-error.h

Functions for retrieving and displaying C-style error codes.

c-api-grouping.h

Functions for dealing with groups of objects, typedefs, and subgroups.

c-api-library.h

Functions for dealing with libraries.

c-api-module.h

Functions for dealing with modules.

c-api-object.h

Functions for dealing with objects.

c-api-typedef.h

Functions for dealing with a type definition and its parameters.

c-api-yangapi.h

Functions for the initialization, cleanup, and general settings of the library.