forked from tom-wa/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
type.hpp
29 lines (21 loc) · 759 Bytes
/
type.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
/**
* @file
*
* @brief Header file for entry points
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_PLUGIN_TYPE_H
#define ELEKTRA_PLUGIN_TYPE_H
#include <kdbplugin.h>
extern "C" {
int elektraTypeOpen (ckdb::Plugin * handle, ckdb::Key * errorKey);
int elektraTypeClose (ckdb::Plugin * handle, ckdb::Key * errorKey);
int elektraTypeGet (ckdb::Plugin * handle, ckdb::KeySet * ks, ckdb::Key * parentKey);
int elektraTypeSet (ckdb::Plugin * handle, ckdb::KeySet * ks, ckdb::Key * parentKey);
int elektraTypeError (ckdb::Plugin * handle, ckdb::KeySet * ks, ckdb::Key * parentKey);
int elektraTypeValidateKey (ckdb::Key * key, ckdb::Key * errorKey);
ckdb::Plugin * ELEKTRA_PLUGIN_EXPORT (type);
}
#endif