Benoît Canet 24fd848950 qapi: skip redundant includes
The purpose of this change is to help create a json file containing
common definitions; each bit of generated C code must be emitted
only one time.

A second history global to all QAPISchema instances has been added
to detect when a file is included more than one time and skip these
includes.
It does not act as a stack and the changes made to it by the
__init__ function are propagated back to the caller so it's really
a global state.

Signed-off-by: Benoit Canet <benoit@irqsave.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2014-05-16 10:35:59 -04:00
..
2013-10-28 17:34:42 +01:00
2014-05-16 10:35:59 -04:00
2014-05-05 20:58:33 +02:00
2012-03-12 15:14:07 +01:00
2014-02-14 16:22:33 +01:00
2014-02-14 16:22:33 +01:00
2014-05-05 20:58:33 +02:00
2014-03-31 22:36:17 +02:00
2014-05-05 20:58:33 +02:00
2014-05-05 20:58:33 +02:00
2014-02-14 21:07:13 +01:00
2014-05-16 10:35:59 -04:00
2014-02-14 20:50:19 +01:00
2014-03-31 22:35:03 +02:00
2014-02-14 16:22:33 +01:00
2014-03-13 01:21:45 +01:00
2014-02-14 16:22:33 +01:00
2013-02-01 08:32:20 +01:00
2014-02-14 21:02:27 +01:00
2014-05-05 20:58:33 +02:00
2014-03-31 22:35:50 +02:00
2014-03-13 01:21:56 +01:00
2014-02-14 21:01:03 +01:00
2014-03-13 01:21:56 +01:00
2014-02-14 16:22:33 +01:00