1 /* This is the xf86 module code for the DEC_XTRAP extension. */
3 #ifdef HAVE_DIX_CONFIG_H
4 #include <dix-config.h>
7 #include "xf86Module.h"
9 #include <X11/extensions/xtrapdi.h>
11 extern void DEC_XTRAPInit(INITARGS
);
13 static MODULESETUPPROTO(xtrapSetup
);
15 static ExtensionModule xtrapExt
=
24 static XF86ModuleVersionInfo xtrapVersRec
=
32 ABI_CLASS_EXTENSION
, /* needs the server extension ABI */
33 ABI_EXTENSION_VERSION
,
38 _X_EXPORT XF86ModuleData xtrapModuleData
= { &xtrapVersRec
, xtrapSetup
, NULL
};
41 xtrapSetup(pointer module
, pointer opts
, int *errmaj
, int *errmin
) {
42 LoadExtension(&xtrapExt
, FALSE
);
43 /* Need a non-NULL return value to indicate success */