forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackendprivate.h
More file actions
46 lines (41 loc) · 800 Bytes
/
Copy pathbackendprivate.h
File metadata and controls
46 lines (41 loc) · 800 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
* @file
*
* @brief Header for backend plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_BACKENDPRIVATE_H
#define ELEKTRA_BACKENDPRIVATE_H
#include <kdbprivate.h>
typedef struct _PluginList
{
Plugin * plugin;
struct _PluginList * next;
} PluginList;
typedef struct
{
char * path;
struct
{
Plugin * resolver;
PluginList * prestorage;
Plugin * storage;
PluginList * poststorage;
} getPositions;
struct
{
Plugin * resolver;
PluginList * prestorage;
Plugin * storage;
PluginList * poststorage;
PluginList * precommit;
Plugin * commit;
PluginList * postcommit;
PluginList * prerollback;
Plugin * rollback;
PluginList * postrollback;
} setPositions;
} BackendHandle;
#endif // ELEKTRA_BACKENDPRIVATE_H