Re: [Qemu-devel] [PATCH 04/11] Add json->qobject parser

2009-10-23 Thread Luiz Capitulino
On Sat, 17 Oct 2009 08:36:04 -0500 Anthony Liguori wrote: > +QObject *qobject_from_json(const char *string, size_t *length); > +QObject *qobject_from_jsonf(const char *string, size_t *length, ...) > +__attribute__((__format__ (__printf__, 1, 3))); We need a wrapper for command handlers usag

[Qemu-devel] [PATCH 04/11] Add json->qobject parser

2009-10-17 Thread Anthony Liguori
This implements a json parser that generates qobjects. The intention is that this all can be eventually moved to a shared library to form the basis of the QMP client API. Unfortunately, qobject is currently GPL licensed so hopefully Luiz will switch it to LGPL. The parser is a pretty straight fo