copa.h(0)
limb manual
copa.h(0)
NAME
copa.h - helper for configuration parsing
SYNOPSIS
#include <limb/copa.h>
DESCRIPTION
The header defines helper functions to parse configuration file.
Structures
The following structures are defined :
struct copa
An opaque structure to be passed to the functions below.
Functions
The following functions/macros are defined :
To initialize a configuration parser.
To known whether we're at a section or not (i.e. an option).
To get a pointer to the current name.
To advance parsing to the next element.
To get the length of the current name.
To get a pointer to the current value.
To get the length of the current value.