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.2 by greg, Wed Apr 19 22:01:38 1989 UTC vs.
Revision 1.3 by greg, Wed Oct 25 15:37:12 1989 UTC

# Line 23 | Line 23 | extern int  stderr_v();                        /* error vectors */
23   extern int  (*wrnvec)(), (*errvec)(), (*cmdvec)();
24  
25   extern struct driver  *comm_init();     /* stream interface */
26 +                                        /* magic numbers for verification */
27 + #define COM_SENDM               0x6f37
28 + #define COM_RECVM               0x51da
29                                          /* stream commands */
30   #define COM_CLEAR               0
31   #define COM_PAINTR              1
# Line 48 | Line 51 | extern struct device  devtable[];      /* supported devices
51  
52   /*
53   *  struct driver *
54 < *  dname_init(name)
55 < *  char  *name;
54 > *  dname_init(name, id)
55 > *  char  *name, *id;
56   *  {
57   *      Initialize device and return pointer to driver
58   *      functions.  Returns NULL if an error occurred.
59 < *      The name string is used to identify the client.
59 > *      The name string identifies the driver,
60 > *      and the id string identifies the client.
61   *      A device can be open by at most one client.
62   *      Be verbose in error reports; call stderr_v().
63   *      If device has its own error output, set errvec,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines