forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcpptemplate.hpp
More file actions
30 lines (24 loc) · 806 Bytes
/
cpptemplate.hpp
File metadata and controls
30 lines (24 loc) · 806 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
/**
* @file
*
* @brief Header for cpptemplate plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_PLUGIN_CPPTEMPLATE_HPP
#define ELEKTRA_PLUGIN_CPPTEMPLATE_HPP
#include <kdbplugin.h>
using ckdb::Key;
using ckdb::KeySet;
using ckdb::Plugin;
extern "C" {
int elektraCppTemplateOpen (Plugin * handle, Key * errorKey);
int elektraCppTemplateClose (Plugin * handle, Key * errorKey);
int elektraCppTemplateGet (Plugin * handle, KeySet * returned, Key * parentKey);
int elektraCppTemplateSet (Plugin * handle, KeySet * returned, Key * parentKey);
int elektraCppTemplateError (Plugin * handle, KeySet * conf, Key * parentKey);
int elektraCppTemplateCheckConf (Key * errorKey, KeySet * conf);
Plugin * ELEKTRA_PLUGIN_EXPORT;
} // end extern "C"
#endif