48 lines
1.0 KiB
C
48 lines
1.0 KiB
C
/*************************************************************************\
|
|
* SPDX-License-Identifier: EPICS
|
|
* EPICS BASE is distributed subject to a Software License Agreement found
|
|
* in file LICENSE that is included with this distribution.
|
|
\*************************************************************************/
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <devSup.h>
|
|
|
|
#include <epicsExport.h>
|
|
|
|
static
|
|
long link_test_extend(struct dbCommon *junk)
|
|
{ return 0; }
|
|
|
|
static dsxt xrecextend = {&link_test_extend, &link_test_extend};
|
|
|
|
static
|
|
long link_test_init(int pass)
|
|
{
|
|
if (pass == 0)
|
|
devExtend(&xrecextend);
|
|
return 0;
|
|
}
|
|
|
|
static
|
|
long link_test_init_rec(struct dbCommon *prec)
|
|
{ return 0; }
|
|
|
|
|
|
|
|
#define DEFDSET(LTYPE) \
|
|
static dset devxLTest ## LTYPE = {4, NULL, \
|
|
&link_test_init, &link_test_init_rec, NULL}; \
|
|
epicsExportAddress(dset, devxLTest ## LTYPE);
|
|
|
|
DEFDSET(JSON_LINK)
|
|
DEFDSET(VME_IO)
|
|
DEFDSET(CAMAC_IO)
|
|
DEFDSET(AB_IO)
|
|
DEFDSET(GPIB_IO)
|
|
DEFDSET(BITBUS_IO)
|
|
DEFDSET(INST_IO)
|
|
DEFDSET(BBGPIB_IO)
|
|
DEFDSET(RF_IO)
|
|
DEFDSET(VXI_IO)
|