conf2struct
Seeing the sslh
configuration management code slowly grow out of
control, I decided it was time to abstract up: conf2struct
takes a description of a configuration file, and produces
all the .h
and .c
required to read the configuration
file to structures named after the file.
This new project is getting its own page.
I’m thinking I’ll then extend it to include command-line override. And thinking about it, I find it strange that there seems to be no existing project to abstract the problem of reading a configuration file with command-line overrides. Well, there is now!