~ubuntu-branches/ubuntu/intrepid/xserver-xgl/intrepid

« back to all changes in this revision

Viewing changes to hw/xfree86/dixmods/dbemodule.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2006-02-13 14:21:43 UTC
  • Revision ID: james.westby@ubuntu.com-20060213142143-mad6z9xzem7hzxz9
Tags: upstream-7.0.0
ImportĀ upstreamĀ versionĀ 7.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/Xserver/dbe/dbemodule.c,v 1.6 1999/01/26 05:53:50 dawes Exp $ */
 
2
 
 
3
#ifdef HAVE_XORG_CONFIG_H
 
4
#include <xorg-config.h>
 
5
#endif
 
6
 
 
7
#include "xf86Module.h"
 
8
#include "globals.h"
 
9
 
 
10
static MODULESETUPPROTO(dbeSetup);
 
11
 
 
12
extern void DbeExtensionInit(INITARGS);
 
13
 
 
14
ExtensionModule dbeExt = {
 
15
    DbeExtensionInit,
 
16
    "DOUBLE-BUFFER",
 
17
    &noDbeExtension,
 
18
    NULL,
 
19
    NULL
 
20
};
 
21
 
 
22
static XF86ModuleVersionInfo VersRec =
 
23
{
 
24
        "dbe",
 
25
        MODULEVENDORSTRING,
 
26
        MODINFOSTRING1,
 
27
        MODINFOSTRING2,
 
28
        XORG_VERSION_CURRENT,
 
29
        1, 0, 0,
 
30
        ABI_CLASS_EXTENSION,
 
31
        ABI_EXTENSION_VERSION,
 
32
        MOD_CLASS_EXTENSION,
 
33
        {0,0,0,0}
 
34
};
 
35
 
 
36
/*
 
37
 * Data for the loader
 
38
 */
 
39
XF86ModuleData dbeModuleData = { &VersRec, dbeSetup, NULL };
 
40
 
 
41
static pointer
 
42
dbeSetup(pointer module, pointer opts, int *errmaj, int *errmin)
 
43
{
 
44
    LoadExtension(&dbeExt, FALSE);
 
45
 
 
46
    /* Need a non-NULL return value to indicate success */
 
47
    return (pointer)1;
 
48
}