>On Fri, 2005-04-22 at 09:58 +0200, Ake Hedman wrote:
>
>
>>Hi I have searched the net all morning for code to work with
>>configuration files under Linux, preferable XML format, but without
>>luck. Have anyone seen some open source code that could read write
>>from/to a configuration file in a similar way as the how the registry
>>routines work on WIN32 work. Any pointers or experience would be
>>appreciated.
>>
>>
>
>I'm not exactly sure what your asking, however, one thing you may not be
>aware of is that in Linux there is no standardization of configuration
>data. There is no single file that everything uses (which may sound bad
>at first, but then consider what happens if your registry goes boom, no
>more windows, in Linux a conifg file "boom" would only affect that
>program). Generally each program has it's own configuration file, and
>the format of it's configuration file may very well be unique to that
>program. There are some "understandings" on what config files should
>look like (i.e. only text, certain characters at beginning of line
>indicate comments, etc.), but there is by far no universal format.
>
>Now, if you're simply looking for a "mapping" sort of routine that takes
>windows style registry accesses and translates them into modifications
>to a config file, that's a different story. TTYL
>
>
>-----------------------------
>Herbert's PIC Stuff:
>
http://repatch.dyndns.org:8383/pic_stuff/
>
>
>