This is Unofficial EPICS BASE Doxygen Site
devLoSoft.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 /* devLoSoft.c */
11 /*
12  * Author: Janet Anderson
13  * Date: 09-23-91
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 "longoutRecord.h"
26 #include "epicsExport.h"
27 
28 /* Create the dset for devLoSoft */
29 static long init_record(dbCommon *pcommon);
30 static long write_longout(longoutRecord *prec);
31 
32 longoutdset devLoSoft = {
33  {5, NULL, NULL, init_record, NULL},
34  write_longout
35 };
37 
38 static long init_record(dbCommon *pcommon)
39 {
40  return 0;
41 } /* end init_record() */
42 
43 static long write_longout(longoutRecord *prec)
44 {
45  dbPutLink(&prec->out,DBR_LONG, &prec->val,1);
46  return 0;
47 }
#define init_record
#define NULL
Definition: catime.c:38
Miscellaneous macro definitions.
Device support routines.
Definition: devSup.h:140
epicsExportAddress(dset, devLoSoft)
#define DBR_LONG
Definition: db_access.h:75
longoutdset devLoSoft
Definition: devLoSoft.c:32
int prec
Definition: reader.c:29
Exporting IOC objects.