1 |
greg |
1.1 |
#ifndef lint |
2 |
schorsch |
2.7 |
static const char RCSid[] = "$Id: devtable.c,v 2.6 2003/06/30 19:04:29 greg Exp $"; |
3 |
greg |
1.1 |
#endif |
4 |
|
|
/* |
5 |
|
|
* devtable.c - device table for rview. |
6 |
greg |
2.4 |
*/ |
7 |
|
|
|
8 |
greg |
2.5 |
#include "copyright.h" |
9 |
greg |
2.6 |
|
10 |
|
|
#include <stdio.h> |
11 |
greg |
1.1 |
|
12 |
greg |
2.4 |
#include "color.h" |
13 |
greg |
1.1 |
#include "driver.h" |
14 |
|
|
|
15 |
greg |
1.9 |
char dev_default[] = "x11"; |
16 |
greg |
1.6 |
|
17 |
schorsch |
2.7 |
extern dr_initf_t x11_init; /* XXX this should be in a seperate header file */ |
18 |
greg |
1.1 |
|
19 |
|
|
struct device devtable[] = { /* supported devices */ |
20 |
greg |
2.4 |
{"slave", "Slave driver", slave_init}, |
21 |
greg |
1.9 |
{"x11", "X11 color or greyscale display", x11_init}, |
22 |
greg |
2.3 |
{"x11d", "X11 display using stdin/stdout", x11_init}, |
23 |
greg |
1.1 |
{0} /* terminator */ |
24 |
|
|
}; |