forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdini.h
35 lines (28 loc) · 722 Bytes
/
dini.h
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
31
32
33
34
35
/**
* @file
*
* @brief Header for dini plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_PLUGIN_DINI_H
#define ELEKTRA_PLUGIN_DINI_H
#include <kdbinvoke.h>
#include <kdbplugin.h>
int elektraDiniOpen (Plugin * handle, Key * errorKey);
int elektraDiniClose (Plugin * handle, Key * errorKey);
int elektraDiniGet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraDiniSet (Plugin * handle, KeySet * ks, Key * parentKey);
Plugin * ELEKTRA_PLUGIN_EXPORT;
typedef struct
{
KeySet * modules;
ElektraInvokeHandle * dump;
ElektraInvokeHandle * ini;
ElektraInvokeHandle * bin;
KeySet * dumpConfig;
KeySet * iniConfig;
Key * dumpErrors;
} Dini;
#endif