forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhosts.h
More file actions
33 lines (24 loc) · 622 Bytes
/
Copy pathhosts.h
File metadata and controls
33 lines (24 loc) · 622 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
/**
* @file
*
* @brief
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
#ifndef ELEKTRA_PLUGIN_HOSTS_H
#define ELEKTRA_PLUGIN_HOSTS_H
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <kdb.h>
#include <kdberrors.h>
#include <kdbplugin.h>
#include <stdlib.h>
#define HOSTS_KDB_BUFFER_SIZE 16384
/*Test size for small buffer
#define HOSTS_KDB_BUFFER_SIZE 16 */
#define MAX_ORDER_SIZE 50
int elektraHostsGet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraHostsSet (Plugin * handle, KeySet * ks, Key * parentKey);
Plugin * ELEKTRA_PLUGIN_EXPORT;
#endif