Back to index

radiance  4R0+20100331
devtable.c
Go to the documentation of this file.
00001 #ifndef lint
00002 static const char    RCSid[] = "$Id: devtable.c,v 2.7 2004/03/30 16:13:01 schorsch Exp $";
00003 #endif
00004 /*
00005  *  devtable.c - device table for rview.
00006  */
00007 
00008 #include "copyright.h"
00009 
00010 #include  <stdio.h>
00011 
00012 #include  "color.h"
00013 #include  "driver.h"
00014 
00015 char  dev_default[] = "x11";
00016 
00017 extern dr_initf_t x11_init; /* XXX this should be in a seperate header file */
00018 
00019 struct device  devtable[] = {                    /* supported devices */
00020        {"slave", "Slave driver", slave_init},
00021        {"x11", "X11 color or greyscale display", x11_init},
00022        {"x11d", "X11 display using stdin/stdout", x11_init},
00023        {0}                                /* terminator */
00024 };