First import
[xorg_rtime.git] / xorg-server-1.4 / hw / xfree86 / dixmods / recordmod.c
blob63d340e758d8dedd47498ddb23ffaafa7a8a3e0b
1 #ifdef HAVE_XORG_CONFIG_H
2 #include <xorg-config.h>
3 #endif
5 #include "xf86Module.h"
7 extern Bool noTestExtensions;
9 static MODULESETUPPROTO(recordSetup);
11 extern void RecordExtensionInit(INITARGS);
13 static ExtensionModule recordExt = {
14 RecordExtensionInit,
15 "RECORD",
16 &noTestExtensions,
17 NULL,
18 NULL
21 static XF86ModuleVersionInfo VersRec = {
22 "record",
23 MODULEVENDORSTRING,
24 MODINFOSTRING1,
25 MODINFOSTRING2,
26 XORG_VERSION_CURRENT,
27 1, 13, 0,
28 ABI_CLASS_EXTENSION,
29 ABI_EXTENSION_VERSION,
30 MOD_CLASS_EXTENSION,
31 {0,0,0,0}
34 _X_EXPORT XF86ModuleData recordModuleData = { &VersRec, recordSetup, NULL };
36 static pointer
37 recordSetup(pointer module, pointer opts, int *errmaj, int *errmin)
39 LoadExtension(&recordExt, FALSE);
41 /* Need a non-NULL return value to indicate success */
42 return (pointer)1;