Proposal
Remove DTYP field from dbCommon and DBF_DEVICE field type.
The æcontrollingÆ INP/OUT field field of all non-soft record types becomes a new link type, DBF_DEVLINK (max 1 per record type).
All link address instances will take the form:
The link type defines the number, type and meanings of arg1, arg2 etc. These are parsed into a struct defined for the linktype
The linktype of a recordÆs DBF_DEVLINK field determines its device type, and hence the value for its DSET field.
Example link addresses:
xy240(0,3,) can(sector2,20,0x137,4,0x3ff)
A database designer using a DCT is presented with a form to fill in the arguments; above examples give the appearance in the .db file.