direct-io.hg

view tools/xenfb/xenfb.h @ 15456:eb2b7ce05f97

hvm vlapic: Fix one_shot argument passed to create_periodic_time().
Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
author kfraser@localhost.localdomain
date Tue Jul 03 11:47:08 2007 +0100 (2007-07-03)
parents 0536dbde1562
children
line source
1 #ifndef _XENFB_H_
2 #define _XENFB_H_
4 #include <stdbool.h>
5 #include <sys/types.h>
7 struct xenfb
8 {
9 void *pixels;
11 int row_stride;
12 int depth;
13 int width;
14 int height;
15 int abs_pointer_wanted;
17 void *user_data;
19 void (*update)(struct xenfb *xenfb, int x, int y, int width, int height);
20 };
22 struct xenfb *xenfb_new(void);
23 void xenfb_delete(struct xenfb *xenfb);
24 void xenfb_teardown(struct xenfb *xenfb);
26 int xenfb_attach_dom(struct xenfb *xenfb, int domid);
28 int xenfb_select_fds(struct xenfb *xenfb, fd_set *readfds);
29 int xenfb_poll(struct xenfb *xenfb, fd_set *readfds);
31 int xenfb_send_key(struct xenfb *xenfb, bool down, int keycode);
32 int xenfb_send_motion(struct xenfb *xenfb, int rel_x, int rel_y);
33 int xenfb_send_position(struct xenfb *xenfb, int abs_x, int abs_y);
35 #endif