Scroll to navigation

kdbglobal.h(3elektra) Elektra kdbglobal.h(3elektra)

NAME

kdbglobal.h - Defines for global plugins.

SYNOPSIS

#include <kdb.h>
#include <kdbconfig.h>
#include <kdbplugin.h>

Macros


#define FOREACH_POSITION(POSITION)
Helper for identifying global plugin positions.

Detailed Description

Defines for global plugins.

Copyright:

BSD License (see doc/COPYING or https://www.libelektra.org)

Macro Definition Documentation

#define FOREACH_POSITION(POSITION)

Value:

POSITION(PREROLLBACK)         POSITION(ROLLBACK)         POSITION(POSTROLLBACK)         POSITION(GETRESOLVER)         POSITION(PREGETSTORAGE)         POSITION(GETSTORAGE)         POSITION(POSTGETSTORAGE)         POSITION(SETRESOLVER)         POSITION(POSTGETCLEANUP)         POSITION(PRESETSTORAGE)         POSITION(SETSTORAGE)         POSITION(PRESETCLEANUP)         POSITION(PRECOMMIT)         POSITION(COMMIT)         POSITION(POSTCOMMIT)         POSITION(NR_GLOBAL_POSITIONS)

Helper for identifying global plugin positions. We chose using these macros over other solutions in order to have the array available statically. Thus we can avoid initializing the KDB struct during runtime and still maintain the flexibility of easily adding new hook positions.

Author

Generated automatically by Doxygen for Elektra from the source code.

Mon Jan 15 2018 Version 0.8.20