forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpath.h
39 lines (26 loc) · 748 Bytes
/
path.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
36
37
38
39
/**
* @file
*
* @brief
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
#ifndef ELEKTRA_PLUGIN_PATH_H
#define ELEKTRA_PLUGIN_PATH_H
#include <unistd.h>
#include <kdberrors.h>
#include <kdbplugin.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <grp.h>
#include <pwd.h>
int elektraPathOpen (Plugin * handle, Key * errorKey);
int elektraPathClose (Plugin * handle, Key * errorKey);
int elektraPathGet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraPathSet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraPathError (Plugin * handle, KeySet * ks, Key * parentKey);
Plugin * ELEKTRA_PLUGIN_EXPORT;
#define ERRORMSG_LENGTH 1000
#endif