2 * libqos driver framework
4 * Copyright (c) 2018 Emanuele Giuseppe Esposito <e.emanuelegiuseppe@gmail.com>
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 as published by the Free Software Foundation.
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.
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/>
19 #ifndef QOS_EXTERNAL_H
20 #define QOS_EXTERNAL_H
21 #include "libqos/qgraph.h"
23 void apply_to_node(const char *name
, bool is_machine
, bool is_abstract
);
24 void apply_to_qlist(QList
*list
, bool is_machine
);
25 QGuestAllocator
*get_machine_allocator(QOSGraphObject
*obj
);
26 void *allocate_objects(QTestState
*qts
, char **path
, QGuestAllocator
**p_alloc
);