Re: [libvirt] [PATCH 08/14] Add a virKeyfilePtr object for parsing '.ini' files

2012-03-23 Thread Osier Yang
On 03/23/2012 08:16 PM, Daniel P. Berrange wrote: On Thu, Mar 22, 2012 at 05:34:54PM +0800, Osier Yang wrote: On 2012年03月21日 01:33, Daniel P. Berrange wrote: From: "Daniel P. Berrange" +static int virKeyFileParseValue(virKeyFileParserCtxtPtr ctxt) +{ +int ret = -1; +const char *keystart

Re: [libvirt] [PATCH 08/14] Add a virKeyfilePtr object for parsing '.ini' files

2012-03-23 Thread Daniel P. Berrange
On Thu, Mar 22, 2012 at 05:34:54PM +0800, Osier Yang wrote: > On 2012年03月21日 01:33, Daniel P. Berrange wrote: > >From: "Daniel P. Berrange" > >+static int virKeyFileParseValue(virKeyFileParserCtxtPtr ctxt) > >+{ > >+int ret = -1; > >+const char *keystart; > >+const char *valuestart; > >

Re: [libvirt] [PATCH 08/14] Add a virKeyfilePtr object for parsing '.ini' files

2012-03-22 Thread Osier Yang
On 2012年03月21日 01:33, Daniel P. Berrange wrote: From: "Daniel P. Berrange" The '.ini' file format is a useful alternative to the existing config file style, when you need to have config files which are hashes of hashes. The 'virKeyFilePtr' object provides a way to parse these file types. * src/

[libvirt] [PATCH 08/14] Add a virKeyfilePtr object for parsing '.ini' files

2012-03-20 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The '.ini' file format is a useful alternative to the existing config file style, when you need to have config files which are hashes of hashes. The 'virKeyFilePtr' object provides a way to parse these file types. * src/Makefile.am, src/util/virkeyfile.c, src/util/vi