| 1 |
greg |
1.1 |
#ifndef lint |
| 2 |
greg |
2.6 |
static const char RCSid[] = "$Id: devtable.c,v 2.5 2003/02/25 02:47:22 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 |
|
|
|
| 14 |
greg |
1.1 |
#include "driver.h" |
| 15 |
|
|
|
| 16 |
greg |
1.9 |
char dev_default[] = "x11"; |
| 17 |
greg |
1.6 |
|
| 18 |
greg |
1.9 |
extern struct driver *x11_init(); |
| 19 |
greg |
1.1 |
|
| 20 |
|
|
struct device devtable[] = { /* supported devices */ |
| 21 |
greg |
2.4 |
{"slave", "Slave driver", slave_init}, |
| 22 |
greg |
1.9 |
{"x11", "X11 color or greyscale display", x11_init}, |
| 23 |
greg |
2.3 |
{"x11d", "X11 display using stdin/stdout", x11_init}, |
| 24 |
greg |
1.1 |
{0} /* terminator */ |
| 25 |
|
|
}; |