xemu/include
Stefan Hajnoczi c60bf3391b readline: decouple readline from the monitor
Make the readline.c functionality reusable.  Instead of calling
monitor_printf() and monitor_flush() directly, invoke function pointers
provided by the user.

This way readline.c does not know about Monitor and other users will be
able to make use of readline.c.

Note that there is already an "opaque" argument to the ReadLineFunc
callback.  Consistently call it "readline_opaque" from now on to
distinguish from the ReadLinePrintfFunc/ReadLineFlushFunc "opaque"
argument.

I also dropped the printf macro trickery since it's now highly unlikely
that anyone modifying readline.c would call printf(3) directly.  We no
longer need this protection.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2014-01-22 12:07:17 +01:00
..
block block: Add commit_active_start() 2013-12-20 16:26:16 +01:00
disas Add moxie disassembler 2013-03-23 14:25:41 +00:00
exec memory: syncronize kvm bitmap using bitmaps operations 2014-01-13 14:04:55 +01:00
fpu softfloat: Add support for ties-away rounding 2014-01-08 19:07:22 +00:00
hw Merge remote branch 'luiz/queue/qmp' into qmpq 2014-01-14 12:10:08 +10:00
migration migration: Move QEMU_VM_* defines to migration/migration.h 2014-01-13 12:39:48 +01:00
monitor readline: decouple readline from the monitor 2014-01-22 12:07:17 +01:00
net net: disallow to specify multicast MAC address 2013-11-08 17:32:34 +01:00
qapi qerror: Remove assert_no_error() 2014-01-06 15:02:30 -05:00
qemu Merge remote branch 'luiz/queue/qmp' into qmpq 2014-01-14 12:10:08 +10:00
qom qom: Do not register interface "types" in the type table and fix names 2013-12-24 17:27:17 +01:00
sysemu device_tree: qemu_fdt_setprop: Rename val_array arg 2013-12-20 01:58:12 +01:00
ui include: add missing config-host.h include 2013-12-16 10:12:20 +01:00
config.h janitor: move remaining public headers to include/ 2012-12-19 08:32:46 +01:00
elf.h tcg-s390: Use qemu_getauxval in query_facilities 2013-11-30 07:45:30 +13:00
glib-compat.h glib: add a compatibility interface for g_timeout_add_seconds 2013-03-25 13:10:40 -05:00
qemu-common.h qmp: add interface blockdev-snapshot-delete-internal-sync 2013-09-12 10:12:47 +02:00
qemu-io.h qemu-io: Interface cleanup 2013-06-06 11:27:05 +02:00
trace.h build: some simplifications for "trace/Makefile.objs" 2013-01-12 18:42:51 +01:00