On 130314 10:53:59, Daniel P. Berrange wrote:
> On Thu, Mar 14, 2013 at 12:55:15PM +0400, Dmitry Guryanov wrote:
> > Add function virJSONValueFromStream, which reads data from
> > a stream and passes it to json parser. When end of the object
> > is reached, it returns this object.
> > To avoid read
On Thu, Mar 14, 2013 at 12:55:15PM +0400, Dmitry Guryanov wrote:
> Add function virJSONValueFromStream, which reads data from
> a stream and passes it to json parser. When end of the object
> is reached, it returns this object.
> To avoid reading from the stream by single bytes it reads to
> a buff
Add function virJSONValueFromStream, which reads data from
a stream and passes it to json parser. When end of the object
is reached, it returns this object.
To avoid reading from the stream by single bytes it reads to
a buffer (in a structure virJSONStreamParserState), which should
be passed to a c