add header

This commit is contained in:
Michael Davidsaver
2013-03-30 13:23:55 -04:00
parent 327159a6e1
commit 131dddac05
5 changed files with 25 additions and 6 deletions

View File

@@ -16,6 +16,8 @@
#include <alarm.h>
#include <cantProceed.h>
#include "pydevsup.h"
typedef struct {
dbCommon *precord;
@@ -235,6 +237,11 @@ typedef struct {
static dset5 pydevsupCom = {{5, NULL, (DEVSUPFUN)&init, (DEVSUPFUN)&init_record, NULL}, (DEVSUPFUN)&process_record};
static dset5 pydevsupCom2 = {{5, NULL, (DEVSUPFUN)&init, (DEVSUPFUN)&init_record2, NULL}, (DEVSUPFUN)&process_record};
int isPyRecord(dbCommon *prec)
{
return prec->dset==(dset*)&pydevsupCom || prec->dset==(dset*)&pydevsupCom2;
}
#include <epicsExport.h>
epicsExportAddress(dset, pydevsupCom);