NAME¶
confetti - configuration file parser generator
SYNOPSIS¶
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
DESCRIPTION¶
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