forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspecload.h
35 lines (28 loc) · 838 Bytes
/
specload.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 specload plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_PLUGIN_SPECLOAD_H
#define ELEKTRA_PLUGIN_SPECLOAD_H
#include <kdbinvoke.h>
#include <kdbplugin.h>
typedef struct
{
char * directFile;
char * app;
char ** argv;
KeySet * quickDumpConfig;
ElektraInvokeHandle * quickDump;
} Specload;
int elektraSpecloadOpen (Plugin * handle, Key * errorKey);
int elektraSpecloadClose (Plugin * handle, Key * errorKey);
int elektraSpecloadGet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraSpecloadSet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraSpecloadCheckConf (Key * errorKey, KeySet * conf);
int elektraSpecloadSendSpec (Plugin * handle, KeySet * spec, Key * parentKey);
Plugin * ELEKTRA_PLUGIN_EXPORT;
#endif