linux registry (no, not that again!)

Jeremy Katz katzj at redhat.com
Wed Jul 28 17:50:03 UTC 2004


On Wed, 2004-07-28 at 17:48 +0100, Jonathan Andrews wrote:
> You have just argued that you agree with that I said ? My original post
> was poor English, I apologise - but I think you have miss understood. Im
> pushing for plain text - but with an API for manipulating text. My key
> point is that the API should be common to all Linux, not left for people
> to write the same code over and over again ....
> 
> 1)	reading VARIABLE=value pairs and  
> 2)	writing VARIABLE=value pairs.

There are several copies of what is basically a small library to do this
scattered across various Red Hat developed packages.  Take a look at
shvar.c in such packages as initscripts and authconfig (there are more
copies I think, but those are the ones that I quickly locate with a find
on my cvs checkouts :-)

Jeremy





More information about the devel mailing list