File:  [Qemu by Fabrice Bellard] / qemu / qjson.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:33:26 2018 UTC (3 years, 6 months ago) by root
Branches: qemu, MAIN
CVS tags: qemu1001, qemu1000, qemu0151, qemu0150, qemu0141, qemu0140, HEAD
qemu 0.14.0

    1: /*
    2:  * QObject JSON integration
    3:  *
    4:  * Copyright IBM, Corp. 2009
    5:  *
    6:  * Authors:
    7:  *  Anthony Liguori   <aliguori@us.ibm.com>
    8:  *
    9:  * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
   10:  * See the COPYING.LIB file in the top-level directory.
   11:  *
   12:  */
   13: 
   14: #ifndef QJSON_H
   15: #define QJSON_H
   16: 
   17: #include <stdarg.h>
   18: #include "qobject.h"
   19: #include "qstring.h"
   20: 
   21: QObject *qobject_from_json(const char *string) GCC_FMT_ATTR(1, 0);
   22: QObject *qobject_from_jsonf(const char *string, ...) GCC_FMT_ATTR(1, 2);
   23: QObject *qobject_from_jsonv(const char *string, va_list *ap) GCC_FMT_ATTR(1, 0);
   24: 
   25: QString *qobject_to_json(const QObject *obj);
   26: QString *qobject_to_json_pretty(const QObject *obj);
   27: 
   28: #endif /* QJSON_H */

unix.superglobalmegacorp.com