/* * Process a record if its scan field is passive. * Will notify if processing is complete by callback. * (only if you are interested in completion) */ long dbScanPassive(dbCommon *pfrom, dbCommon *pto) { /* if not passive just return success */ if (pto->scan != 0) return 0; if (pfrom && pfrom->ppn) dbNotifyAdd(pfrom,pto); return dbProcess(pto); }
/* * Process a record if its scan field is passive. * Will notify if processing is complete by callback. * (only if you are interested in completion) */ long epicsShareAPI dbScanPassive(dbCommon *pfrom, dbCommon *pto) { long status; /* if not passive just return success */ if(pto->scan != 0) return(0); if(pfrom && pfrom->ppn) dbNotifyAdd(pfrom,pto); status = dbProcess(pto); return(status); }
/*KLUDGE: Following needed so that dbPutLink to PROC field works correctly*/ long epicsShareAPI dbScanLink(dbCommon *pfrom, dbCommon *pto) { long status; unsigned char pact; if(pfrom && pfrom->ppn) dbNotifyAdd(pfrom,pto); pact = pfrom->pact; pfrom->pact = TRUE; status = dbProcess(pto); pfrom->pact = pact; return(status); }