Public extended API for the econf library.
More...
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include "libeconf.h"
Go to the source code of this file.
Public extended API for the econf library.
Definition in file libeconf_ext.h.
◆ econf_ext_value
| typedef struct econf_ext_value econf_ext_value |
◆ econf_getExtValue()
Evaluating more information for given group/key.
- Parameters
-
| kf | given/parsed data |
| group | Desired group or NULL if there is no group defined. |
| key | Key for which the value is requested. |
| result | A newly allocated struct or NULL in error case. |
- Returns
- econf_err ECONF_SUCCESS or error code
◆ econf_setExtValue()
Setting more information (e.g.
comments) for given group/key. Values have to be set via econf_set<Type>Value.
- Parameters
-
| kf | given/parsed data |
| group | Desired group or NULL if there is no group defined. |
| key | Key for which the values have to be set. |
| value | All values which have to be set. |
- Returns
- econf_err ECONF_SUCCESS or error code
◆ econf_freeExtValue()
Free an complete econf_ext_value struct.
- Parameters
-
| to_free | struct which has to be freed |
- Returns
- void