Changes for dynamic link modificartion
This commit is contained in:
@@ -76,12 +76,8 @@ struct mbboDirectRecord *pmbbo;
|
||||
|
||||
long status = 0;
|
||||
|
||||
status = recGblInitFastOutLink(&(pmbbo->out), (void *) pmbbo, DBR_USHORT, "VAL");
|
||||
|
||||
/* dont convert */
|
||||
if (status == 0)
|
||||
status = 2;
|
||||
|
||||
status = 2;
|
||||
return status;
|
||||
|
||||
} /* end init_record() */
|
||||
@@ -91,9 +87,7 @@ static long write_mbbo(pmbbo)
|
||||
{
|
||||
long status;
|
||||
|
||||
status = recGblPutFastLink(&(pmbbo->out), (void *)pmbbo, &(pmbbo->val));
|
||||
|
||||
status = dbPutLink(&pmbbo->out,DBR_USHORT,&pmbbo->val,1);
|
||||
if (RTN_SUCCESS(status)) pmbbo->udf=FALSE;
|
||||
|
||||
return(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user