24 |
|
extern int stderr_v(); /* error vectors */ |
25 |
|
extern int (*wrnvec)(), (*errvec)(), (*cmdvec)(); |
26 |
|
|
27 |
< |
extern struct driver *comm_init(); /* stream interface */ |
27 |
> |
/* stream interface */ |
28 |
> |
extern struct driver *comm_init(), *slave_init(); |
29 |
|
/* magic numbers for verification */ |
30 |
|
#define COM_SENDM 0x6f37 |
31 |
|
#define COM_RECVM 0x51da |
43 |
|
char *descrip; /* description */ |
44 |
|
struct driver *(*init)(); /* initialize device */ |
45 |
|
} devtable[]; /* supported devices */ |
46 |
+ |
|
47 |
+ |
extern char dev_default[]; /* default device name */ |
48 |
|
|
49 |
|
#define MB1 ('\n') /* mouse button 1 */ |
50 |
|
#define MB2 ('\r') /* mouse button 2 */ |