xfree86: export NewInputDeviceRequest/DeleteInputDeviceRequest

NIDR should be used to create a new SD from e.g. within a driver.
DIDR should be used to remove a device from the server.

Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
Peter Hutterer 2008-10-07 18:44:42 +10:30
parent 5e213fe102
commit 0b4b683f3e
2 changed files with 4 additions and 2 deletions

View File

@ -461,7 +461,7 @@ AddOtherInputDevices()
{
}
int
_X_EXPORT int
NewInputDeviceRequest (InputOption *options, DeviceIntPtr *pdev)
{
IDevRec *idev = NULL;
@ -604,7 +604,7 @@ unwind:
return rval;
}
void
_X_EXPORT void
DeleteInputDeviceRequest(DeviceIntPtr pDev)
{
LocalDevicePtr pInfo = (LocalDevicePtr) pDev->public.devicePrivate;

View File

@ -642,6 +642,8 @@ _X_HIDDEN void *xfree86LookupTab[] = {
SYMFUNC(xf86ActivateDevice)
SYMFUNC(xf86XInputSetScreen)
SYMFUNC(xf86ScaleAxis)
SYMFUNC(NewInputDeviceRequest)
SYMFUNC(DeleteInputDeviceRequest)
#ifdef DPMSExtension
SYMFUNC(DPMSGet)
SYMFUNC(DPMSSet)