forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.h
49 lines (39 loc) · 1.42 KB
/
types.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
40
41
42
43
44
45
46
47
48
49
/**
* @file
*
* @brief
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_TYPE_TYPES_H
#define ELEKTRA_TYPE_TYPES_H
#include <stdbool.h>
#include <kdb.h>
#include <kdbplugin.h>
#include <kdbtypes.h>
bool elektraTypeCheckAny (const Key * key);
bool elektraTypeCheckEmpty (const Key * key);
bool elektraTypeCheckChar (const Key * key);
bool elektraTypeCheckWChar (const Key * key);
bool elektraTypeCheckString (const Key * key);
bool elektraTypeCheckWString (const Key * key);
bool elektraTypeNormalizeBoolean (Plugin * handle, Key * key);
bool elektraTypeCheckBoolean (const Key * key);
bool elektraTypeRestoreBoolean (Plugin * handle, Key * key);
bool elektraTypeCheckFloat (const Key * key);
bool elektraTypeCheckDouble (const Key * key);
#ifdef ELEKTRA_HAVE_KDB_LONG_DOUBLE
bool elektraTypeCheckLongDouble (const Key * key);
#endif
bool elektraTypeCheckShort (const Key * key);
bool elektraTypeCheckLong (const Key * key);
bool elektraTypeCheckLongLong (const Key * key);
bool elektraTypeCheckUnsignedShort (const Key * key);
bool elektraTypeCheckUnsignedLong (const Key * key);
bool elektraTypeCheckUnsignedLongLong (const Key * key);
bool elektraTypeNormalizeEnum (Plugin * handle, Key * key);
bool elektraTypeCheckEnum (const Key * key);
bool elektraTypeRestoreEnum (Plugin * handle, Key * key);
void elektraTypeSetErrorEnum (Plugin * handle, Key * errorKey, const Key * key);
#endif