|
Open Model Railroad Network (OpenMRN)
|
#include <Devtab.hxx>
Public Attributes | ||
| FileIO * | dev | |
| file operations | ||
| union { | ||
| void * priv | ||
| file reference specific data "pointer" More... | ||
| void * privPtr | ||
| file reference specific data "pointer" More... | ||
| unsigned privUint | ||
| file reference specific data "unsigned" More... | ||
| int privInt | ||
| file reference specific data "int" More... | ||
| }; | ||
| Data that the device driver wants to store about this fd. | ||
| off_t | offset | |
| current offset within file | ||
| int | flags | |
| open flags | ||
| uint8_t | inuse: 1 | |
| true if this is an open fd. | ||
| uint8_t | inshdn: 1 | |
| true if this fd is in shutdown. | ||
| uint8_t | device: 1 | |
| true if this is a device, false if file system | ||
| uint8_t | dir: 1 | |
| true if this is a directory, else false | ||
| uint8_t | dirty: 1 | |
| true if this file is dirty and needs flush | ||
File information.
Definition at line 51 of file Devtab.hxx.
| FileIO* File::dev |
file operations
Definition at line 53 of file Devtab.hxx.
| uint8_t File::device |
true if this is a device, false if file system
Definition at line 66 of file Devtab.hxx.
| uint8_t File::dir |
true if this is a directory, else false
Definition at line 67 of file Devtab.hxx.
| uint8_t File::dirty |
true if this file is dirty and needs flush
Definition at line 68 of file Devtab.hxx.
| int File::flags |
open flags
Definition at line 63 of file Devtab.hxx.
| uint8_t File::inshdn |
true if this fd is in shutdown.
Definition at line 65 of file Devtab.hxx.
| uint8_t File::inuse |
true if this is an open fd.
Definition at line 64 of file Devtab.hxx.
| off_t File::offset |
current offset within file
Definition at line 62 of file Devtab.hxx.
| void* File::priv |
file reference specific data "pointer"
Definition at line 57 of file Devtab.hxx.
| int File::privInt |
file reference specific data "int"
Definition at line 60 of file Devtab.hxx.
| void* File::privPtr |
file reference specific data "pointer"
Definition at line 58 of file Devtab.hxx.
| unsigned File::privUint |
file reference specific data "unsigned"
Definition at line 59 of file Devtab.hxx.