Link support
These links don't know what record type they are part of. They are told only the addresses of the record and their own field, and where to get or put the value from/to.
Some link type definitions:
linktype(DBF_INLINK,pv,lnkPvLSET,"Process Variable Link"){
field definitions ... }
linktype(DBF_INLINK,ca,lnkCaLSET,"Channel Access Link"){
field definitions ... }
linktype(DBF_INLINK,db,lnkDbLSET,"Database Link"){
field definitions ... }
linktype(DBF_INLINK,sub,lnkSubLSET,"Subroutine Link"){
field definitions ... }
linktype(DBF_INLINK,ca4,lnkCa4LSET,"Channel Access V4 Link"){
field definitions ... }
Link fields are defined just as for device links, and filled in by parsing the link address string.