forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkconfig.hpp
30 lines (24 loc) · 770 Bytes
/
kconfig.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* @file
*
* @brief Header for kconfig plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_PLUGIN_KCONFIG_HPP
#define ELEKTRA_PLUGIN_KCONFIG_HPP
#include <kdbplugin.h>
using ckdb::Key;
using ckdb::KeySet;
using ckdb::Plugin;
extern "C" {
int elektraKconfigOpen (Plugin * handle, Key * errorKey);
int elektraKconfigClose (Plugin * handle, Key * errorKey);
int elektraKconfigGet (Plugin * handle, KeySet * returned, Key * parentKey);
int elektraKconfigSet (Plugin * handle, KeySet * returned, Key * parentKey);
int elektraKconfigError (Plugin * handle, KeySet * conf, Key * parentKey);
int elektraKconfigCheckConf (Key * errorKey, KeySet * conf);
Plugin * ELEKTRA_PLUGIN_EXPORT;
} // end extern "C"
#endif