This is Unofficial EPICS BASE Doxygen Site
devLsoSoft.c
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * EPICS BASE is distributed subject to a Software License Agreement found
5 * in file LICENSE that is included with this distribution.
6 \*************************************************************************/
7 
8 /* Long String Output soft device support
9  *
10  * Author: Andrew Johnson
11  * Date: 2012-11-29
12  */
13 
14 #include "dbAccess.h"
15 #include "lsoRecord.h"
16 #include "epicsExport.h"
17 
18 static long write_string(lsoRecord *prec)
19 {
20  return dbPutLinkLS(&prec->out, prec->val, prec->len);
21 }
22 
23 lsodset devLsoSoft = {
24  { 5, NULL, NULL, NULL, NULL }, write_string
25 };
epicsExportAddress(dset, devLsoSoft)
#define NULL
Definition: catime.c:38
lsodset devLsoSoft
Definition: devLsoSoft.c:23
Definition: devSup.h:140
int prec
Definition: reader.c:29
Exporting IOC objects.