This is Unofficial EPICS BASE Doxygen Site
devI64outSoft.c
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2016 UChicago Argonne LLC, 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 is distributed subject to a Software License Agreement found
7 * in file LICENSE that is included with this distribution.
8 \*************************************************************************/
9 
10 /*
11  * Original Author: Janet Anderson
12  * Date: 09-23-91
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 "int64outRecord.h"
26 #include "epicsExport.h"
27 
28 static long init_record(dbCommon *common)
29 {
30  return 0;
31 }
32 
33 static long write_int64out(int64outRecord *prec)
34 {
35  dbPutLink(&prec->out, DBR_INT64, &prec->val,1);
36  return 0;
37 }
38 
39 /* Create the dset for devI64outSoft */
40 int64outdset devI64outSoft = {
41  { 5, NULL, NULL, init_record, NULL }, write_int64out
42 };
44 
#define init_record
#define DBR_INT64
Definition: dbFldTypes.h:83
#define NULL
Definition: catime.c:38
Miscellaneous macro definitions.
int64outdset devI64outSoft
Definition: devI64outSoft.c:40
Device support routines.
Definition: devSup.h:140
epicsExportAddress(dset, devI64outSoft)
int prec
Definition: reader.c:29
Exporting IOC objects.