more changes to get epicsShare to work on win32
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
/* Create the dset for devAiTestAsyn */
|
||||
static long init_record();
|
||||
static long read_ai();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -54,7 +54,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
read_ai,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevAiTestAsyn = (dset *)&devAiTestAsyn;
|
||||
|
||||
|
||||
static long init_record(pai)
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
/* Create the dset for devAoTestAsyn */
|
||||
static long init_record();
|
||||
static long write_ao();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -55,7 +55,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
write_ao,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevAoTestAsyn = (dset *)&devAoTestAsyn;
|
||||
|
||||
static long init_record(pao)
|
||||
struct aoRecord *pao;
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
/* Create the dset for devBiTestAsyn */
|
||||
static long init_record();
|
||||
static long read_bi();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -54,7 +54,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
read_bi,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevBiTestAsyn = (dset *)&devBiTestAsyn;
|
||||
|
||||
static long init_record(pbi)
|
||||
struct biRecord *pbi;
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
/* Create the dset for devBoTestAsyn */
|
||||
static long init_record();
|
||||
static long write_bo();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -55,7 +55,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
write_bo,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevBoTestAsyn = (dset *)&devBoTestAsyn;
|
||||
|
||||
static long init_record(pbo)
|
||||
struct boRecord *pbo;
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
static long init_record();
|
||||
static long get_ioint_info();
|
||||
static long read_event();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -49,6 +49,7 @@ epicsShareDef struct {
|
||||
get_ioint_info,
|
||||
read_event
|
||||
};
|
||||
epicsShareDef dset *pdevEventTestIoEvent = (dset *)&devEventTestIoEvent;
|
||||
|
||||
typedef struct myCallback {
|
||||
CALLBACK callback;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
/* Create the dset for devHistogramTestAsyn */
|
||||
static long init_record();
|
||||
static long read_histogram();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -50,7 +50,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
read_histogram,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevHistogramTestAsyn = (dset *)&devHistogramTestAsyn;
|
||||
|
||||
static long init_record(phistogram)
|
||||
struct histogramRecord *phistogram;
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
/* Create the dset for devMbbiTestAsyn */
|
||||
static long init_record();
|
||||
static long read_mbbi();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -54,7 +54,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
read_mbbi,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevMbbiTestAsyn = (dset *)&devMbbiTestAsyn;
|
||||
|
||||
static long init_record(pmbbi)
|
||||
struct mbbiRecord *pmbbi;
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
/* Create the dset for devMbboTestAsyn */
|
||||
static long init_record();
|
||||
static long write_mbbo();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -55,7 +55,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
write_mbbo,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevMbboTestAsyn = (dset *)&devMbboTestAsyn;
|
||||
|
||||
static long init_record(pmbbo)
|
||||
struct mbboRecord *pmbbo;
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
/* Create the dset for devSiTestAsyn */
|
||||
static long init_record();
|
||||
static long read_stringin();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -53,7 +53,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
read_stringin,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevSiTestAsyn = (dset *)&devSiTestAsyn;
|
||||
|
||||
static long init_record(pstringin)
|
||||
struct stringinRecord *pstringin;
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
/* Create the dset for devSoTestAsyn */
|
||||
static long init_record();
|
||||
static long write_stringout();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -54,7 +54,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
write_stringout,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevSoTestAsyn = (dset *)&devSoTestAsyn;
|
||||
|
||||
static long init_record(pstringout)
|
||||
struct stringoutRecord *pstringout;
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
/* Create the dset for devWfTestAsyn */
|
||||
static long init_record();
|
||||
static long read_wf();
|
||||
epicsShareDef struct {
|
||||
static struct {
|
||||
long number;
|
||||
DEVSUPFUN report;
|
||||
DEVSUPFUN init;
|
||||
@@ -54,7 +54,9 @@ epicsShareDef struct {
|
||||
init_record,
|
||||
NULL,
|
||||
read_wf,
|
||||
NULL};
|
||||
NULL
|
||||
};
|
||||
epicsShareDef dset *pdevWfTestAsyn = (dset *)&devWfTestAsyn;
|
||||
|
||||
static long init_record(pwf)
|
||||
struct waveformRecord *pwf;
|
||||
|
||||
Reference in New Issue
Block a user