~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to hw/xfree86/loader/loader.h

Tags: 2:1.10.1-2
* Build xserver-xorg-core-udeb on hurd-i386.  Thanks, Samuel Thibault!
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
#include <X11/Xfuncproto.h>
58
58
#include <X11/Xmd.h>
59
59
 
60
 
/* LoadModule proc flags; LD_FLAG_GLOBAL adds symbols to global
61
 
 * namespace, default is to keep symbols local to module. */
62
 
#define LD_FLAG_GLOBAL 1
63
 
 
64
 
typedef struct _loader *loaderPtr;
65
 
 
66
 
/* Each module loaded has a loaderRec */
67
 
typedef struct _loader {
68
 
    int handle;                 /* Unique id used to remove symbols from
69
 
                                 * this module when it is unloaded */
70
 
    int module;                 /* Unique id to identify compilation units */
71
 
    char *name;
72
 
    char *cname;
73
 
    void *private;              /* format specific data */
74
 
    loaderPtr next;
75
 
} loaderRec;
76
 
 
77
60
/* Compiled-in version information */
78
61
typedef struct {
79
62
    int xf86Version;
88
71
extern unsigned long LoaderOptions;
89
72
 
90
73
/* Internal Functions */
91
 
void LoaderDuplicateSymbol(const char *, const int);
92
 
char *_LoaderModuleToName(int);
93
 
int LoaderOpen(const char *, const char *, int, int *, int *, int *, int);
94
 
int LoaderHandleOpen(int);
95
 
 
96
 
/* object to name lookup routines */
97
 
char *_LoaderHandleToName(int handle);
98
 
char *_LoaderHandleToCanonicalName(int handle);
99
 
 
100
 
/* Loader backends. */
101
 
#include "dlloader.h"
 
74
void * LoaderOpen(const char *, int *, int *);
102
75
 
103
76
#endif /* _LOADER_H */