diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-18 17:39:47 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-18 17:39:47 -0700 |
commit | e18b7b21c2fe0788e6cf1a1a055a25c2e5bc2dd8 (patch) | |
tree | ce03b1f9eb82ccd79bec81c1a0bb035b38df70f5 /qemu.h | |
parent | ec19f1e4f0f46544b0901f642cc4cbe1e42010d4 (diff) | |
download | hardware_libhardware_legacy-e18b7b21c2fe0788e6cf1a1a055a25c2e5bc2dd8.zip hardware_libhardware_legacy-e18b7b21c2fe0788e6cf1a1a055a25c2e5bc2dd8.tar.gz hardware_libhardware_legacy-e18b7b21c2fe0788e6cf1a1a055a25c2e5bc2dd8.tar.bz2 |
auto import from //branches/cupcake_rel/...@140373
Diffstat (limited to 'qemu.h')
-rw-r--r-- | qemu.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -35,7 +35,9 @@ typedef struct { char is_inited; char is_available; char is_qemud; + char is_qemud_old; char is_tty; + int fd; char device[32]; } QemuChannel; @@ -65,15 +67,15 @@ extern int qemu_command_format( char* buffer, const char* format, ... ); -/* directly sends a command through the 'control' channel. +/* directly sends a command through the 'hw-control' channel. * this will open the channel, send the formatted command, then * close the channel automatically. * returns 0 on success, or -1 on error. */ extern int qemu_control_command( const char* fmt, ... ); -/* sends a question to the control channel, then receive an answer in - * a user-allocated buffer. returns the lenght of the answer, or -1 +/* sends a question to the hw-control channel, then receive an answer in + * a user-allocated buffer. returns the length of the answer, or -1 * in case of error. * * 'question' *must* have been formatted through qemu_command_format |