build-sys: remove prefix from filenames
[vd_agent.git] / src / vdagentd / uinput.h
blobcf1d8ebd560b3b533b007dd3d1913d63b35946c9
1 /* vdagentd-uinput.c vdagentd uinput handling header
3 Copyright 2010-2012 Red Hat, Inc.
5 Red Hat Authors:
6 Hans de Goede <hdegoede@redhat.com>
7 Gerd Hoffmann <kraxel@redhat.com>
9 This program is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef __VDAGENTD_UINPUT_H
23 #define __VDAGENTD_UINPUT_H
25 #include <stdio.h>
26 #include "vdagentd-proto.h"
28 struct vdagentd_uinput;
30 struct vdagentd_uinput *vdagentd_uinput_create(const char *devname,
31 int width, int height,
32 struct vdagentd_guest_xorg_resolution *screen_info, int screen_count,
33 int debug, int fake);
34 void vdagentd_uinput_destroy(struct vdagentd_uinput **uinputp);
36 void vdagentd_uinput_do_mouse(struct vdagentd_uinput **uinputp,
37 VDAgentMouseState *mouse);
38 void vdagentd_uinput_update_size(struct vdagentd_uinput **uinputp,
39 int width, int height,
40 struct vdagentd_guest_xorg_resolution *screen_info,
41 int screen_count);
43 #endif