This is Unofficial EPICS BASE Doxygen Site
devSoSoft.c
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2002 The University of Chicago, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * EPICS BASE Versions 3.13.7
7 * and higher are distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 /*
11  * Author: Janet Anderson
12  * Date: 21APR1991
13  */
14 
15 #include <stdlib.h>
16 #include <stdio.h>
17 #include <string.h>
18 
19 #include "alarm.h"
20 #include "dbDefs.h"
21 #include "dbAccess.h"
22 #include "recGbl.h"
23 #include "recSup.h"
24 #include "devSup.h"
25 #include "stringoutRecord.h"
26 #include "epicsExport.h"
27 
28 /* Create the dset for devSoSoft */
29 static long write_stringout(stringoutRecord *prec);
30 
31 stringoutdset devSoSoft = {
32  {5, NULL, NULL, NULL, NULL},
33  write_stringout
34 };
36 
37 static long write_stringout(stringoutRecord *prec)
38 {
39  long status;
40 
41  status = dbPutLink(&prec->out, DBR_STRING, prec->val, 1);
42  return status;
43 }
#define DBR_STRING
Definition: db_access.h:69
stringoutdset devSoSoft
Definition: devSoSoft.c:31
pvd::Status status
#define NULL
Definition: catime.c:38
Miscellaneous macro definitions.
Device support routines.
Definition: devSup.h:140
epicsExportAddress(dset, devSoSoft)
int prec
Definition: reader.c:29
Exporting IOC objects.