|
| | | | D O S _ F D R _ F I L E
| | | | | SOURCE: qdev_structures.txt 1.10 (15/08/2014) English struct dos_fdr_file
{
struct MinNode ff_node;
struct MinList ff_rlist;
struct MinList ff_wlist;
struct MinList ff_alist;
LONG ff_awaits;
LONG ff_xmode;
LONG ff_fmtbool;
LONG ff_stripansi;
LONG ff_fdaddr;
LONG ff_fdclose;
LONG ff_fdbuf;
UBYTE *ff_fdvptr;
ULONG ff_fdvsize;
ULONG ff_failcnt;
ULONG ff_tcaddr;
ULONG ff_tcsig;
UBYTE ff_fname[QDEV_DOS_PRV_FNAMELEN];
};
ff_node - Standard, minimal node to be able to create list - file list.
ff_rlist - List of all clients who wait to read something but there is no
writer at the moment.
ff_wlist - List of all clients who wait to write something but there is no
reader at the moment.
ff_alist - List of all clients who wait for key stroke and who will time
out eventually.
ff_awaits
- A variable that gets increased each time clients must be put to
sleep.
ff_xmode - This is RAW or CON mode indicator as set by the corresponding
DOS function.
ff_fmtbool
- Shall the fc_chfmtout be put in front of new line for this file
boolean. This is not user switch!
ff_stripansi
- Tri-state switch responsible for ANSI filtering. From type of
file point of view its context varies! For normal files it does
trigger ANSI filtering on write, but for virtual files only on
read request! This member can also trigger VCR if -2.
ff_fdaddr
- Real file FileHandle, also called file descriptor.
ff_fdclose
- Should ff_fdaddr be closed on channel and or descriptor relay
termination boolean.
ff_fdbuf - Should ff_fdaddr be buffered or not boolean. This can be set
only when no ops where requested on the FileHandle.
ff_fdvptr
- Virtual file data buffer pointer. Allocated automatically dont
touch!
ff_fdvsize
- Virtual file data buffer size. The rollover area.
ff_failcnt
- How many relay packets failed to pass thru ff_fdaddr counter.
ff_tcaddr
- Address of a task or process who owns the ff_fdaddr. The addr.
will be validated before any op.
ff_tcsig - Signal to be send to ff_tcaddr if channel or relay get killed.
This is mutual exclusive to ff_fdclose. If this is 0 then no
signal will be generated.
ff_fname - Shortened name of this relay file. Normal NULL terminated text.
| |
| | | | |
|