qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 01/11] QMP: Introduce specification file
Date: Tue, 23 Jun 2009 17:50:24 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Vincent Hanquez wrote:
On Tue, Jun 23, 2009 at 02:00:41PM -0500, Anthony Liguori wrote:
Avi Kivity wrote:
It looks brittle to me. What if you want to add an array? Some structure that contains a nested structure?
Can you give me concrete examples?

The typical way this would be handled in an RPC library in C is to introduce complex types. For instance, you could have a MonitorList and a corresponding MON_LIST type. FWIW, is there a jsonrpc library for C that's actually maintained?


this one is mentioned on the website and has been changed recently (may 2009):

http://fara.cs.uni-potsdam.de/~jsg/json_parser/

That's not a jsonrpc library, that's just a json parser.

--
Regards,

Anthony Liguori





reply via email to

[Prev in Thread] Current Thread [Next in Thread]