backup: Wire up qemu full pull backup commands over QMP
[libvirt/ericb.git] / tests / testutilsqemuschema.h
blobde9da7cb975f57ff4a82b93eda1e42c00f881fdd
1 /*
2 * testutilsqemuschema.h: helper functions for QEMU QAPI schema testing
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see
16 * <http://www.gnu.org/licenses/>.
19 #pragma once
21 #include "virhash.h"
22 #include "virjson.h"
23 #include "virbuffer.h"
25 int
26 testQEMUSchemaValidate(virJSONValuePtr obj,
27 virJSONValuePtr root,
28 virHashTablePtr schema,
29 virBufferPtr debug);
31 virJSONValuePtr
32 testQEMUSchemaGetLatest(void);
34 virHashTablePtr
35 testQEMUSchemaLoad(void);