block: Move throttling fields from BDS to BB
[qemu.git] / include / qapi / util.h
blob7ad26c0aca2ca03ef7024188e901820f4b7997df
1 /*
2 * QAPI util functions
4 * Copyright Fujitsu, Inc. 2014
6 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
7 * See the COPYING.LIB file in the top-level directory.
9 */
11 #ifndef QAPI_UTIL_H
12 #define QAPI_UTIL_H
14 int qapi_enum_parse(const char * const lookup[], const char *buf,
15 int max, int def, Error **errp);
17 #endif