- Record updates:
. histogramRecord . eventRecord . aaiRecord . aaoRecord - Device support updates: . devHistogramSoft (histogramRecord) . devEventSoft (eventRecord) . devAaiSoft (aaiRecord) . devAaoSoft (aaoRecord) - Fixes in already-migrated records . lsiRecord: replaced 'struct lsidset' with typedef(ed) 'lsidset' . int64inRecord (similar as above) . int64outRecord (similar as above) . calcRecord: minor fix in init_record() prototype declaration - Note: the comments about return values in dset structs were outright copied from .c to .pod/.dbd files without confirmation if they are indeed correct!
This commit is contained in:
@@ -25,28 +25,19 @@
|
||||
#include "epicsExport.h"
|
||||
|
||||
/* Create the dset for devEventSoft */
|
||||
static long init_record(eventRecord *prec);
|
||||
static long init_record(dbCommon *pcommon);
|
||||
static long read_event(eventRecord *prec);
|
||||
|
||||
struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
DEVSUPFUN init_record;
|
||||
DEVSUPFUN get_ioint_info;
|
||||
DEVSUPFUN read_event;
|
||||
} devEventSoft = {
|
||||
5,
|
||||
NULL,
|
||||
NULL,
|
||||
init_record,
|
||||
NULL,
|
||||
eventdset devEventSoft = {
|
||||
{5, NULL, NULL, init_record, NULL},
|
||||
read_event
|
||||
};
|
||||
epicsExportAddress(dset, devEventSoft);
|
||||
|
||||
static long init_record(eventRecord *prec)
|
||||
static long init_record(dbCommon *pcommon)
|
||||
{
|
||||
eventRecord *prec = (eventRecord *)pcommon;
|
||||
|
||||
if (recGblInitConstantLink(&prec->inp, DBF_STRING, prec->val))
|
||||
prec->udf = FALSE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user