From: Amey Moghe <amey1288@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Regarding do_key_event function in vnc.c file.
Date: Tue, 25 Aug 2009 16:56:17 +0530 [thread overview]
Message-ID: <1600c7720908250426y35aa8b9dv36716af7e7d50c76@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 773 bytes --]
Hello all,
I was reading about how qemu uses vnc server to access the screen
of guest OS.While reading I came across function "key_event" called for key
processing in client-server interaction phase in file vnc.c. In "key_event"
function "do_key_event" function calls the function "kbd_put_keycode" whose
definition is as follows :
void kbd_put_keycode(int keycode)
{
if (qemu_put_kbd_event) {
qemu_put_kbd_event(qemu_put_kbd_event_opaque, keycode);
}
}
In above fuction I didnt get the function definition for call
"qemu_put_kbd_event(qemu_put_kbd_event_opaque, keycode); " which is called
by function pointer and I also didnt get the significance of generic pointer
"qemu_put_kbd_event_opaque" . So please help in this regard.
Thanks,
Amey
[-- Attachment #2: Type: text/html, Size: 885 bytes --]
reply other threads:[~2009-08-25 11:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1600c7720908250426y35aa8b9dv36716af7e7d50c76@mail.gmail.com \
--to=amey1288@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).