Elektra: README

Elektra 0.8.14

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

README

- infos = Information about the list plugin is in keys below
- infos/author = Thomas Waser thoma.nosp@m.s.wa.nosp@m.ser@l.nosp@m.ibel.nosp@m.ektra.nosp@m..org
- infos/licence = BSD
- infos/needs =
- infos/provides =
- infos/placements = presetstorage pregetstorage postgetstorage precommit postcommit prerollback postrollback
- infos/description =

The List plugin can be used everywhere a list of plugins is required. It takes a list of plugins + configurations for every placement it's placed in and loads them.

## Configuration

`placements/set`

Specifies the set-placements for the list plugin, e.g. "presetstorage precommit"

`placements/get`

Specifies the get-placements for the list plugin.

`placements/error`

Specifies the error-placements for the list plugin.

`plugins/#`

The name of the plugin to load.

`plugins/#/placements/set`

A list of set-placements for the plugin. Same for "get" and "error"

`plugins/#/config/`

Plugin specific config.

## Example

1 placements/get = "postgetstorage"
2 plugins/#0 = "rename"
3 plugins/#0/placements plugin placements
4 plugins/#0/placements/get = "postgetstorage"
5 plugins/#0/config pluginconfig goes here
6 plugins/#0/config/cut = "will/be/stripped"
7 plugins/#1 = "keytometa"
8 plugins/#1/placements
9 plugins/#1/placements/get = "postgetstorage"
10 plugins/#2 = "enum"
11 plugins/#2/placements
12 plugins/#2/placements/get = "postgetstorage"

would have the callstack:

1. list->kdbGet
   1. rename->kdbGet
   2. keytometa->kdbGet
   3. enum->kdbGet