Last change
on this file since eee74cd was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
1.2 KB
|
Line | |
---|
1 | /*
|
---|
2 | ============================================================================
|
---|
3 | io.h -- Buchla 700 I/O library definitions
|
---|
4 | Version 12 -- 1987-09-25 -- D.N. Lynx Crowe
|
---|
5 | ============================================================================
|
---|
6 | */
|
---|
7 |
|
---|
8 | #include "fspars.h" /* file system parameters */
|
---|
9 |
|
---|
10 | struct channel { /* channel table entry */
|
---|
11 |
|
---|
12 | char c_read; /* read routine index */
|
---|
13 | char c_write; /* write routine index */
|
---|
14 | char c_ioctl; /* ioctl routine index */
|
---|
15 | char c_seek; /* seek routine index */
|
---|
16 | int (*c_close)(); /* close function pointer */
|
---|
17 | io_arg c_arg; /* argument to channel driver */
|
---|
18 | };
|
---|
19 |
|
---|
20 | struct device { /* device control structure */
|
---|
21 |
|
---|
22 | char d_read; /* read routine code */
|
---|
23 | char d_write; /* write routine code */
|
---|
24 | char d_ioctl; /* ioctl routine code */
|
---|
25 | char d_seek; /* seek routine code */
|
---|
26 | int (*d_open)(); /* special open function */
|
---|
27 | };
|
---|
28 |
|
---|
29 | struct devtabl { /* device table entry */
|
---|
30 |
|
---|
31 | char *d_name; /* device name */
|
---|
32 | struct device *d_dev; /* pointer to device structure */
|
---|
33 | io_arg d_arg; /* argument to device driver */
|
---|
34 | };
|
---|
35 |
|
---|
36 | #ifndef _FS_DEF_
|
---|
37 |
|
---|
38 | extern struct channel chantab[MAXCHAN]; /* defined in fsinit.c */
|
---|
39 | extern char Wrkbuf[BPSEC]; /* defined in fsinit.c */
|
---|
40 |
|
---|
41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.