forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvalidation.h
More file actions
28 lines (21 loc) · 715 Bytes
/
validation.h
File metadata and controls
28 lines (21 loc) · 715 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
/**
* @file
*
* @brief
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
#ifndef ELEKTRA_PLUGIN_VALIDATION_H
#define ELEKTRA_PLUGIN_VALIDATION_H
#include <regex.h>
#include <sys/types.h>
#include <kdberrors.h>
#include <kdbplugin.h>
int elektraValidationOpen (Plugin * handle, Key * errorKey);
int elektraValidationClose (Plugin * handle, Key * errorKey);
int elektraValidationGet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraValidationSet (Plugin * handle, KeySet * ks, Key * parentKey);
int elektraValidationError (Plugin * handle, KeySet * ks, Key * parentKey);
Key * ksLookupRE (KeySet * ks, const regex_t * regexp);
Plugin * ELEKTRA_PLUGIN_EXPORT;
#endif