forked from ElektraInitiative/libelektra
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwrite.h
More file actions
26 lines (22 loc) · 643 Bytes
/
Copy pathwrite.h
File metadata and controls
26 lines (22 loc) · 643 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
/*
* @file write.h
*
* @brief Contains functionality for writing a TOML file from an Elektra keyset
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*/
#ifndef ELEKTRA_PLUGIN_TOML_WRITE_H
#define ELEKTRA_PLUGIN_TOML_WRITE_H
#include <kdb.h>
#include <stdlib.h>
/*
* @brief Writes the given keyset to a TOML file.
*
* @param keys Keyset to be written
* @param parent File root key, must contain filename to be written.
*
* @retval 0 On success.
* @retval Non-Zero On Error, Error information written to parent key.
*/
int tomlWrite (KeySet * keys, Key * parent);
#endif // ELEKTRA_PLUGIN_TOML_WRITE_H