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. Berrangeberra...@redhat.com +static int virKeyFileParseValue(virKeyFileParserCtxtPtr ctxt) +{ +int ret = -1; +const char *keystart; +const char

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. Berrangeberra...@redhat.com +static int virKeyFileParseValue(virKeyFileParserCtxtPtr ctxt) +{ +int ret = -1; +

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. Berrangeberra...@redhat.com 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

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

2012-03-20 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com 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,