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