Data Fields

_Backend Struct Reference

#include <kdbprivate.h>

Data Fields

Keymountpoint
ssize_t usersize
ssize_t systemsize
size_t refcounter

Detailed Description

Holds all information related to a backend.

Since Elektra 0.8 a Backend consists of many plugins. A backend is responsible for everything related to the process of writing out or reading in configuration.

So this holds a list of set and get plugins.

Backends are put together through the configuration in system/elektra/mountpoints

See kdb mount tool to mount new backends.

To develop a backend you have first to develop plugins and describe through dependencies how they belong together.


Field Documentation

The mountpoint where the backend resides. The keyName() is the point where the backend was mounted. The keyValue() is the name of the backend without pre/postfix, e.g. filesys.

This refcounter shows how often the backend is used. Not cascading or default backends have 1 in it. More than two is not possible, because a backend can be only mounted in system and user each once.

The size of the systems key from the previous get. Needed to know if a key was removed from a keyset.

The size of the users key from the previous get. Needed to know if a key was removed from a keyset.


The documentation for this struct was generated from the following file: