Rev | Line | |
---|
[9] | 1 | #ifndef MTOOLS_PLAINIO_H
|
---|
| 2 | #define MTOOLS_PLAINIO_H
|
---|
| 3 |
|
---|
| 4 | #include "stream.h"
|
---|
| 5 | #include "msdos.h"
|
---|
| 6 | #ifdef __EMX__
|
---|
| 7 | #include <io.h>
|
---|
| 8 | #endif
|
---|
| 9 |
|
---|
| 10 | /* plain io */
|
---|
| 11 | #define NO_PRIV 1
|
---|
| 12 | #define NO_OFFSET 2
|
---|
| 13 |
|
---|
| 14 | Stream_t *SimpleFileOpen(struct device *dev, struct device *orig_dev,
|
---|
| 15 | const char *name, int mode, char *errmsg, int mode2,
|
---|
| 16 | int locked, mt_size_t *maxSize);
|
---|
| 17 | int check_parameters(struct device *ref, struct device *testee);
|
---|
| 18 |
|
---|
| 19 | int get_fd(Stream_t *Stream);
|
---|
| 20 | void *get_extra_data(Stream_t *Stream);
|
---|
| 21 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.