#include #include #include #include #include #include #include #include #include # #include #include #include "amqSupport.h" //to get the enum of record types (EAi,EWaveform etc) static long init_wf(waveformRecord *prec); static long read_wf(waveformRecord *prec); struct { long num; DEVSUPFUN report; DEVSUPFUN init; DEVSUPFUN init_record; DEVSUPFUN get_ioint_info; DEVSUPFUN read_wf; } devWaveformMQ = { 5, /* space for 6 functions */ NULL, NULL, init_wf, NULL, read_wf }; epicsExportAddress(dset,devWaveformMQ); static long init_wf(waveformRecord *prec){ addPV((void *)prec,EWaveform,prec->inp.text); //save the info for the message handler return 0; } static long read_wf(waveformRecord *prec){ return 0; }