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
385 B
C
17 lines
385 B
C
/*
|
|
* Typedef for fprintf-alike function pointers.
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef QEMU_FPRINTF_FN_H
|
|
#define QEMU_FPRINTF_FN_H 1
|
|
|
|
#include "qemu/compiler.h"
|
|
#include <stdio.h>
|
|
|
|
typedef int (*fprintf_function)(FILE *f, const char *fmt, ...)
|
|
GCC_FMT_ATTR(2, 3);
|
|
|
|
#endif
|