#
# Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice (including the next
# paragraph) shall be included in all copies or substantial portions of the
# Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
# DEALINGS IN THE SOFTWARE.
#

SUNW_1.4 {
    global:
# Added in libXi 1.7.0
	XIBarrierReleasePointer;
	XIBarrierReleasePointers;

# Added in libXi 1.6.0
	XIAllowTouchEvents;
	XIGrabTouchBegin;
	XIUngrabTouchBegin;

# Added in libXi 1.3.0 / <X11/extensions/XInput2.h>:
        XIQueryPointer;
        XIWarpPointer;
        XIDefineCursor;
        XIUndefineCursor;
        XIChangeHierarchy;
        XISetClientPointer;
        XIGetClientPointer;
        XISelectEvents;
        XIGetSelectedEvents;
        XIQueryVersion;
        XIQueryDevice;
        XISetFocus;
        XIGetFocus;
        XIGrabDevice;
        XIUngrabDevice;
        XIAllowEvents;
        XIGrabButton;
        XIGrabKeycode;
        XIGrabEnter;
        XIGrabFocusIn;
        XIUngrabButton;
        XIUngrabKeycode;
        XIUngrabEnter;
        XIUngrabFocusIn;
        XIListProperties;
        XIChangeProperty;
        XIUngrabFocusIn;
        XIListProperties;
        XIChangeProperty;
        XIDeleteProperty;
        XIGetProperty;
        XIFreeDeviceInfo;
} SUNW_1.3;

# X Input Extension 1.5 (inputproto 1.5.0 / libXi 1.2.1) [PSARC 2009/303]
SUNW_1.3 {
    global:
	XChangeDeviceProperty;
	XDeleteDeviceProperty;
	XGetDeviceProperty;
	XListDeviceProperties;
} SUNW_1.2;

# Used by DevicePresence macro in public <X11/XInput.h> header (CR 6778267)
SUNW_1.2 {
    global:
	_XiGetDevicePresenceNotifyEvent;
} SUNW_1.1;

SUNW_1.1 {
    global:
	XAllowDeviceEvents;
	XChangeDeviceControl;
	XChangeDeviceDontPropagateList;
	XChangeDeviceKeyMapping;
	XChangeFeedbackControl;
	XChangeKeyboardDevice;
	XChangePointerDevice;
	XCloseDevice;
	XDeviceBell;
	XFreeDeviceControl;
	XFreeDeviceList;
	XFreeDeviceMotionEvents;
	XFreeDeviceState;
	XFreeFeedbackList;
	XGetDeviceButtonMapping;
	XGetDeviceControl;
	XGetDeviceDontPropagateList;
	XGetDeviceFocus;
	XGetDeviceKeyMapping;
	XGetDeviceModifierMapping;
	XGetDeviceMotionEvents;
	XGetExtensionVersion;
	XGetFeedbackControl;
	XGetSelectedExtensionEvents;
	XGrabDevice;
	XGrabDeviceButton;
	XGrabDeviceKey;
	XListInputDevices;
	XOpenDevice;
	XQueryDeviceState;
	XSelectExtensionEvent;
	XSendExtensionEvent;
	XSetDeviceButtonMapping;
	XSetDeviceFocus;
	XSetDeviceMode;
	XSetDeviceModifierMapping;
	XSetDeviceValuators;
	XUngrabDevice;
	XUngrabDeviceButton;
	XUngrabDeviceKey;
    local:
	*;
};

SUNWprivate {
    global:
	_xibadclass;
	_xibaddevice;
	_xibadevent;
	_xibadmode;
	_xidevicebusy;
};