Main Page | Modules | File List

The Elektra Project

Elektra Overview

Elektra is a project to unify Linux/Unix configurations. It does that providing an hierarchical namespace to store configuration keys and their values, an API to access/modify them, and some command line tools.

Elektra API

The API was written in pure C because Elektra was designed to be usefull even for the most basic system programs, which are all made in C. Also, being C, bindings to other languages can appear, as we already have for Python, Ruby, etc.

The API follows an Object Oriented design, and there are only 3 classes as shown by the figure:

classes.png

Elektra Classes

Some general things you can do with each class are:

KeyDB

Key

KeySet

Key Names and Namespaces

There are 2 trees of keys: system and user

The "system" Subtree

It is provided to store system-wide configuration keys, that is, configurations that daemons and system services will use.

The "user" Subtree

Used to store user-specific configurations, like the personal settings of a user to certains programs

Rules for Key Names

When using Elektra to store your application's configuration and state, please keep in mind the following rules:
Generated on Tue Aug 31 08:40:42 2004 for Elektra Project by doxygen 1.3.6