Re: [dev] Config files

From: Suraj Kurapati <sunaku_AT_gmail.com>
Date: Wed, 9 Feb 2011 16:28:56 -0800

Connor Lane Smith wrote:
> Nick wrote:
>> So, what's a good, simple format to store config files?
>
> you could just make the config file valid shell:
>
>> key1=value1
>> key2=value2
>
> Trivial to parse in C

Why bother parsing? Make those environment variables and use getenv(3).
Received on Thu Feb 10 2011 - 01:28:56 CET

This archive was generated by hypermail 2.2.0 : Thu Feb 10 2011 - 01:36:02 CET