mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-25 11:46:44 +00:00
Many style/formatting edits. Bug fixes. Reverted some previous changes temporarily while reviewing new code. Merged Baker's "virtual device" in a simpler form. ODS2 will assign a sensible drive name when mounting /image (== /virtual). If a specific drive name is desired, mount /image drivename=filespec. Files can be quoted, or use set qualifier_style unix if slashes are a problem. Note that mount on the command line allows tab completion. Moved "statistics" command into show. Coded support for import/binary (fixed records, 512 bytes). Converted fgets to fgetline Added show devices for Unix (limited by standard APIs) Got rid of separate ODS2-Image build.
35 lines
930 B
C
35 lines
930 B
C
/* Fibdef.h V2.1 Definition of 'struct fibdef' */
|
|
|
|
/*
|
|
This is part of ODS2 written by Paul Nankervis,
|
|
email address: Paulnank@au1.ibm.com
|
|
|
|
ODS2 is distributed freely for all members of the
|
|
VMS community to use. However all derived works
|
|
must maintain comments in their source to acknowledge
|
|
the contibution of the original author.
|
|
*/
|
|
|
|
#ifndef _FIBDEF_H
|
|
#define _FIBDEF_H
|
|
|
|
#define FIB$M_WILD 0x100
|
|
|
|
struct fibdef {
|
|
unsigned fib$l_acctl;
|
|
unsigned short fib$w_fid_num;
|
|
unsigned short fib$w_fid_seq;
|
|
unsigned char fib$b_fid_rvn;
|
|
unsigned char fib$b_fid_nmx;
|
|
unsigned short fib$w_did_num;
|
|
unsigned short fib$w_did_seq;
|
|
unsigned char fib$b_did_rvn;
|
|
unsigned char fib$b_did_nmx;
|
|
unsigned fib$l_wcc;
|
|
unsigned fib$w_nmctl;
|
|
unsigned fib$l_exsz;
|
|
unsigned fib$w_exctl;
|
|
};
|
|
|
|
#endif /* #ifndef _FIBDEF_H */
|