xref: /openbmc/qemu/tests/qtest/libqos/qos_external.h (revision ad1a706f)
1 /*
2  * libqos driver framework
3  *
4  * Copyright (c) 2018 Emanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License version 2.1 as published by the Free Software Foundation.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, see <http://www.gnu.org/licenses/>
17  */
18 
19 #ifndef QOS_EXTERNAL_H
20 #define QOS_EXTERNAL_H
21 
22 #include "qgraph.h"
23 
24 #include "malloc.h"
25 #include "qapi/qapi-types-machine.h"
26 #include "qapi/qapi-types-qom.h"
27 
28 void machines_apply_to_node(MachineInfoList *mach_info);
29 void types_apply_to_node(ObjectTypeInfoList *type_info);
30 void *allocate_objects(QTestState *qts, char **path, QGuestAllocator **p_alloc);
31 
32 #endif
33