1a241306cSmrg/*
2a241306cSmrg * Copyright 2006 by VMware, Inc.
3a241306cSmrg *
4a241306cSmrg * Permission is hereby granted, free of charge, to any person obtaining a
5a241306cSmrg * copy of this software and associated documentation files (the "Software"),
6a241306cSmrg * to deal in the Software without restriction, including without limitation
7a241306cSmrg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8a241306cSmrg * and/or sell copies of the Software, and to permit persons to whom the
9a241306cSmrg * Software is furnished to do so, subject to the following conditions:
10a241306cSmrg *
11a241306cSmrg * The above copyright notice and this permission notice shall be included in
12a241306cSmrg * all copies or substantial portions of the Software.
13a241306cSmrg *
14a241306cSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15a241306cSmrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16a241306cSmrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17a241306cSmrg * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18a241306cSmrg * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19a241306cSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20a241306cSmrg * OTHER DEALINGS IN THE SOFTWARE.
21a241306cSmrg *
22a241306cSmrg * Except as contained in this notice, the name of the copyright holder(s)
23a241306cSmrg * and author(s) shall not be used in advertising or otherwise to promote
24a241306cSmrg * the sale, use or other dealings in this Software without prior written
25a241306cSmrg * authorization from the copyright holder(s) and author(s).
26a241306cSmrg */
27a241306cSmrg
28a241306cSmrg/*
29a241306cSmrg * libvmwarectrl.c --
30a241306cSmrg *
31a241306cSmrg *      The VMWARE_CTRL client library.
32a241306cSmrg */
33a241306cSmrg
34a241306cSmrg
35a241306cSmrg#ifndef _LIB_VMWARE_CTRL_H_
36a241306cSmrg#define _LIB_VMWARE_CTRL_H_
37a241306cSmrg
38a241306cSmrg#include <X11/X.h>
39a241306cSmrg#include <X11/Xmd.h>
40a241306cSmrg#include <X11/extensions/panoramiXproto.h>
41a241306cSmrg
42a241306cSmrgBool VMwareCtrl_QueryExtension(Display *dpy, int *event_basep, int *error_basep);
43a241306cSmrgBool VMwareCtrl_QueryVersion(Display *dpy, int *majorVersion, int *minorVersion);
44a241306cSmrgBool VMwareCtrl_SetRes(Display *dpy, int screen, int x, int y);
45a241306cSmrgBool VMwareCtrl_SetTopology(Display *dpy, int screen, xXineramaScreenInfo[], int number);
46a241306cSmrg
47a241306cSmrg#endif /* _LIB_VMWARE_CTRL_H_ */
48