libeconf 0.5.1
libeconf_ext.h File Reference

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.

Classes

struct  econf_ext_value
 

Typedefs

typedef struct econf_ext_value econf_ext_value
 

Functions

econf_err econf_getExtValue (econf_file *kf, const char *group, const char *key, econf_ext_value **result)
 Evaluating more information for given group/key. More...
 
void econf_freeExtValue (econf_ext_value *to_free)
 Free an complete econf_ext_value struct. More...
 

Detailed Description

Public extended API for the econf library.

Definition in file libeconf_ext.h.

Typedef Documentation

◆ econf_ext_value

Definition at line 50 of file libeconf_ext.h.

Function Documentation

◆ econf_getExtValue()

econf_err econf_getExtValue ( econf_file kf,
const char *  group,
const char *  key,
econf_ext_value **  result 
)

Evaluating more information for given group/key.

Parameters
kfgiven/parsed data
groupDesired group or NULL if there is no group defined.
keyKey for which the value is requested.
resultA newly allocated struct or NULL in error case.
Returns
econf_err ECONF_SUCCESS or error code

◆ econf_freeExtValue()

void econf_freeExtValue ( econf_ext_value to_free)

Free an complete econf_ext_value struct.

Parameters
to_freestruct which has to be freed
Returns
void