forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathansible.hpp
More file actions
30 lines (24 loc) · 770 Bytes
/
ansible.hpp
File metadata and controls
30 lines (24 loc) · 770 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 ansible plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_PLUGIN_ANSIBLE_HPP
#define ELEKTRA_PLUGIN_ANSIBLE_HPP
#include <kdbplugin.h>
using ckdb::Key;
using ckdb::KeySet;
using ckdb::Plugin;
extern "C" {
int elektraAnsibleOpen (Plugin * handle, Key * errorKey);
int elektraAnsibleClose (Plugin * handle, Key * errorKey);
int elektraAnsibleGet (Plugin * handle, KeySet * returned, Key * parentKey);
int elektraAnsibleSet (Plugin * handle, KeySet * returned, Key * parentKey);
int elektraAnsibleError (Plugin * handle, KeySet * conf, Key * parentKey);
int elektraAnsibleCheckConf (Key * errorKey, KeySet * conf);
Plugin * ELEKTRA_PLUGIN_EXPORT;
} // end extern "C"
#endif