VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.3.0.0/cards.h@ 56743

Last change on this file since 56743 was 25078, checked in by vboxsync, 15 years ago

Additions/x11/x11include: exported and set eol-style on new headers

  • Property svn:eol-style set to native
File size: 898 bytes
Line 
1
2
3
4
5
6/* $XConsortium: cards.h /main/3 1996/02/21 18:12:53 kaleb $ */
7
8#ifndef CARD_DATABASE_FILE
9#define CARD_DATABASE_FILE "Cards"
10#endif
11
12#define MAX_CARDS 1000
13
14typedef struct {
15 char *name; /* Name of the card. */
16 char *chipset; /* Chipset (decriptive). */
17 char *server; /* Server identifier. */
18 char *driver; /* Driver identifier. */
19 char *ramdac; /* Ramdac identifier. */
20 char *clockchip; /* Clockchip identifier. */
21 char *dacspeed; /* DAC speed rating. */
22 int flags;
23 char *lines; /* Additional Device section lines. */
24} Card;
25
26/* Flags: */
27#define NOCLOCKPROBE 0x1 /* Never probe clocks of the card. */
28#define UNSUPPORTED 0x2 /* Card is not supported (only VGA). */
29
30extern int lastcard;
31
32extern Card card[MAX_CARDS];
33
34extern int lookupcard ( char *name );
35extern int parse_database ( void );
36extern void sort_database ( void );
37extern void keypress ( void );
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette