This should work on all byte addressable host systems using GCC/clang to build. The QEMU slirp code has been pried out of QEMU and stubs have been created to solve where the current slirp is entangled with the QEMU code. Ths slirp/simh directory contains all the necessary include and glue files to make this useful. Everything in the slirp directory is unmodified QEMU code.
17 lines
376 B
C
17 lines
376 B
C
/*
|
|
* QAPI util functions
|
|
*
|
|
* Copyright Fujitsu, Inc. 2014
|
|
*
|
|
* This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
|
|
* See the COPYING.LIB file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#ifndef QAPI_UTIL_H
|
|
#define QAPI_UTIL_H
|
|
|
|
int qapi_enum_parse(const char * const lookup[], const char *buf,
|
|
int max, int def, Error **errp);
|
|
|
|
#endif
|