crypto: hash: add afalg-backend hash support
[qemu/ar7.git] / include / qapi / util.h
blob7436ed815c3ba31c8b7b171b3ec6bbcac673ed26
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 int parse_qapi_name(const char *name, bool complete);
19 #endif