66 lines
2.3 KiB
C
66 lines
2.3 KiB
C
/*************************************************************************\
|
|
* Copyright (c) 2002 The University of Chicago, as Operator of Argonne
|
|
* National Laboratory.
|
|
* Copyright (c) 2002 The Regents of the University of California, as
|
|
* Operator of Los Alamos National Laboratory.
|
|
* EPICS BASE Versions 3.13.7
|
|
* and higher are distributed subject to a Software License Agreement found
|
|
* in file LICENSE that is included with this distribution.
|
|
\*************************************************************************/
|
|
/* recGbl.h */
|
|
/* Record Global
|
|
* Author: Marty Kraimer
|
|
* Date: 13Jun95
|
|
*/
|
|
#ifndef INCrecGblh
|
|
#define INCrecGblh 1
|
|
|
|
#include "shareLib.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*************************************************************************/
|
|
|
|
#define recGblSetSevr(PREC,NSTA,NSEV) \
|
|
(\
|
|
((PREC)->nsev<(NSEV))\
|
|
? ((PREC)->nsta=(NSTA),(PREC)->nsev=(NSEV),TRUE)\
|
|
: FALSE\
|
|
)
|
|
|
|
|
|
/* Global Record Support Routines*/
|
|
struct link;
|
|
struct dbAddr;
|
|
struct dbr_alDouble;
|
|
struct dbr_ctrlDouble;
|
|
struct dbr_grDouble;
|
|
epicsShareFunc void epicsShareAPI recGblDbaddrError(
|
|
long status, struct dbAddr *paddr, char *pcaller_name);
|
|
epicsShareFunc void epicsShareAPI recGblRecordError(
|
|
long status, void *precord, char *pcaller_name);
|
|
epicsShareFunc void epicsShareAPI recGblRecSupError(
|
|
long status, struct dbAddr *paddr, char *pcaller_name, char *psupport_name);
|
|
epicsShareFunc void epicsShareAPI recGblGetGraphicDouble(
|
|
struct dbAddr *paddr, struct dbr_grDouble *pgd);
|
|
epicsShareFunc void epicsShareAPI recGblGetControlDouble(
|
|
struct dbAddr *paddr, struct dbr_ctrlDouble *pcd);
|
|
epicsShareFunc void epicsShareAPI recGblGetAlarmDouble(
|
|
struct dbAddr *paddr, struct dbr_alDouble *pad);
|
|
epicsShareFunc void epicsShareAPI recGblGetPrec(
|
|
struct dbAddr *paddr, long *pprecision);
|
|
epicsShareFunc int epicsShareAPI recGblInitConstantLink(
|
|
struct link *plink,short dbftype,void *pdest);
|
|
epicsShareFunc unsigned short epicsShareAPI recGblResetAlarms(void *precord);
|
|
epicsShareFunc void epicsShareAPI recGblFwdLink(void *precord);
|
|
epicsShareFunc void epicsShareAPI recGblGetTimeStamp(void *precord);
|
|
epicsShareFunc void epicsShareAPI recGblTSELwasModified(struct link *plink);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /*INCrecGblh*/
|