Files
epics-base/modules/database/test/ioc/db/dbLinkdset.c
Andrew Johnson 3c99391d93 Added SPDX License ID to all EPICS-original source files
In some cases the license-identification header was missing,
so I added that as well. Replaced the remaining headers that
specifically identified "Versions 3.13.7 and higher".

Makefiles and the build system were deliberately excluded.
2020-08-03 11:53:01 -05:00

47 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_noop(void *junk)
{ return 0; }
#define DEFDSET(LTYPE) \
static dset devxLTest ## LTYPE = {4, NULL, &link_test_init, &link_test_noop, &link_test_noop}; \
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)