forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreference.h
More file actions
31 lines (24 loc) · 960 Bytes
/
reference.h
File metadata and controls
31 lines (24 loc) · 960 Bytes
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
/**
* @file
*
* @brief Header for reference plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_PLUGIN_REFERENCE_H
#define ELEKTRA_PLUGIN_REFERENCE_H
#include <kdbplugin.h>
#define CHECK_REFERENCE_KEYNAME ("check/reference")
#define CHECK_REFERENCE_RESTRICT_KEYNAME ("check/reference/restrict")
#define CHECK_REFERNCE_VALUE_SINGLE ("single")
#define CHECK_REFERNCE_VALUE_RECURSIVE ("recursive")
#define CHECK_REFERNCE_VALUE_ALTERNATIVE ("alternative")
int elektraReferenceOpen (Plugin * handle, Key * errorKey);
int elektraReferenceClose (Plugin * handle, Key * errorKey);
int elektraReferenceGet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraReferenceSet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraReferenceError (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraReferenceCheckConf (Key * errorKey, KeySet * conf);
Plugin * ELEKTRA_PLUGIN_EXPORT;
#endif