Changes for dynamic link modificartion

This commit is contained in:
Marty Kraimer
1996-04-22 14:37:42 +00:00
parent 28797e7a1a
commit 8bd797aa5b
26 changed files with 75 additions and 250 deletions

View File

@@ -50,9 +50,6 @@
#include <devSup.h>
#include <module_types.h>
#include <biRecord.h>
/* Added for Channel Access Links */
long dbCaAddInlink();
long dbCaGetLink();
/* Create the dset for devBiSoftRaw */
static long init_record();
@@ -83,14 +80,11 @@ static long init_record(pbi)
switch (pbi->inp.type) {
case (CONSTANT) :
recGblInitConstantLink(&pbi->inp,DBF_ULONG,&pbi->rval);
pbi->udf = FALSE;
break;
case (DB_LINK) :
case (PV_LINK) :
status = recGblInitFastInLink(&(pbi->inp), (void *) pbi, DBR_ULONG, "RVAL");
if (status)
return(status);
case (CA_LINK) :
break;
default :
recGblRecordError(S_db_badField,(void *)pbi,
@@ -105,7 +99,7 @@ static long read_bi(pbi)
{
long status;
status = recGblGetFastLink(&(pbi->inp), (void *)pbi, &(pbi->rval));
status = dbGetLink(&pbi->inp, DBR_ULONG, &pbi->rval,0,0);
return(0);
}