configure: require __thread support
[qemu/ar7.git] / include / qapi / util.h
blobde9238bf953bbfb2fc35a97391089693f95abc33
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 *lookup[], const char *buf,
15 int max, int def, Error **errp);
17 #endif