carta
confetti(1)

confetti1

Configuration file parser generator

Usage

confetti -i example.cfgtmpl -n my_product -f my_product.cfg

confetti -i example.cfgtmpl -n my_product -h my_product_cfg.h

confetti -i example.cfgtmpl -H prscfg.h

Overview

The utility generates C-code by config template. The code parses Your application config file and creates C-structures that can be used by Your program.

Options

-i INPUTFILE

Defines input file name.

-c COUTFILE

Defines output C-file name.

-h HOUTFILE

Defines output H-file name.

-n NAME

Defines suffix for C-functions/structures.

-f CFGOUTFILE

Defines output config file

From confetti 20120731-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.