ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/driver.h
(Generate patch)

Comparing ray/src/rt/driver.h (file contents):
Revision 1.7 by greg, Thu Mar 8 10:10:44 1990 UTC vs.
Revision 2.3 by gregl, Tue Nov 11 20:03:00 1997 UTC

# Line 20 | Line 20 | struct driver {                                /* driver functions */
20          int  xsiz, ysiz;                        /* device size */
21          int  inpready;                          /* input ready on device */
22   };
23 <
24 < extern int  stderr_v();                 /* error vectors */
25 < extern int  (*wrnvec)(), (*errvec)(), (*cmdvec)();
26 <
27 < extern struct driver  *comm_init();     /* stream interface */
23 >                                        /* stream interface */
24 > extern struct driver  *comm_init(), *slave_init();
25                                          /* magic numbers for verification */
26   #define COM_SENDM               0x6f37
27   #define COM_RECVM               0x51da
# Line 43 | Line 40 | extern struct device {                 /* interactive device */
40          struct driver  *(*init)();              /* initialize device */
41   }  devtable[];                          /* supported devices */
42  
43 + extern char  dev_default[];             /* default device name */
44 +
45   #define  MB1            ('\n')          /* mouse button 1 */
46   #define  MB2            ('\r')          /* mouse button 2 */
47   #define  MB3            (' ')           /* mouse button 3 */
# Line 58 | Line 57 | extern struct device {                 /* interactive device */
57   *      The name string identifies the driver,
58   *      and the id string identifies the client.
59   *      A device can be open by at most one client.
60 < *      Be verbose in error reports; call stderr_v().
61 < *      If device has its own error output, set errvec,
63 < *      cmdvec and wrnvec.
60 > *      Be verbose in error reports; call eputs().
61 > *      If device has its own error output, set erract.
62   *  }
63   *  (*dev->close)()
64   *  {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines