Moved PV_LINK-specific code out of dbLink.c into link types

This required a change to the lset::getValue arguments, removing
the pstat and psevr pointers. Links can still return a non-zero
value from getValue and trigger a LINK:INVALID alarm, but for any
other alarm settings they must manipulate the record themselves.
This commit is contained in:
Andrew Johnson
2016-09-03 19:21:11 -05:00
parent 07b09eed1f
commit 8d1c416551
7 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -435,7 +435,7 @@ static long lnkConst_getNelements(const struct link *plink, long *nelements)
}
static long lnkConst_getValue(struct link *plink, short dbrType, void *pbuffer,
epicsEnum16 *pstat, epicsEnum16 *psevr, long *pnRequest)
long *pnRequest)
{
IFDEBUG(10)
printf("lnkConst_loadScalar(const@%p, %d, %p, ... (%ld))\n",