Files
pcas/src/ioc/dbStatic/special.h
T
Michael DavidsaverandAndrew Johnson 2a36a3906d Stage 1 reorganization
Directory moves.

  src/RTEMS/ => src/libCom/RTEMS/
  src/as/ => src/ioc/as/
  src/bpt/ => src/ioc/bpt/
  src/ca/ => src/ca/client/
  src/cap5/ => src/ca/client/perl/
  src/cas/ => src/ca/legacy/pcas/
  src/catools/ => src/ca/client/tools/
  src/db/ => src/ioc/db/
  src/dbStatic/ => src/ioc/dbStatic/
  src/dbtools/ => src/ioc/dbtemplate/
  src/dev/softDev/ => src/std/dev/
  src/dev/testDev/ => src/std/test/
  src/excas/ => src/ca/legacy/pcas/ex/
  src/gdd/ => src/ca/legacy/gdd/
  src/makeBaseApp/ => src/template/base/
  src/makeBaseExt/ => src/template/ext/
  src/misc/ => src/ioc/misc/
  src/rec/ => src/std/rec/
  src/registry/ => src/ioc/registry/
  src/rsrv/ => src/ioc/rsrv/
  src/softIoc/ => src/std/softIoc/
  src/toolsComm/ => src/libCom/tools/
2010-12-16 15:15:52 -05:00

70 lines
2.1 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.
\*************************************************************************/
/* special.h */
/* share/epicsH $Revision-Id$ */
/*
* Author: Marty Kraimer
* Date: 6-1-90
*/
#ifndef INCspecialh
#define INCspecialh 1
#ifdef __cplusplus
extern "C" {
#endif
/*NOTE Do NOT add aditional definitions with out modifying dbLexRoutines.c */
/* types 1-99 are global. Record specific must start with 100 */
#define SPC_NOMOD 1 /*Field must not be modified */
#define SPC_DBADDR 2 /*db_name_to_addr must call cvt_dbaddr */
#define SPC_SCAN 3 /*A scan related field is being changed */
#define SPC_ALARMACK 5 /*Special Alarm Acknowledgement*/
#define SPC_AS 6 /* Access Security*/
#define SPC_ATTRIBUTE 7 /* psuedo field, i.e. attribute field*/
/* useful when record support must be notified of a field changing value*/
#define SPC_MOD 100
/* used by all records that support a reset field */
#define SPC_RESET 101 /*The res field is being modified*/
/* Specific to conversion (Currently only ai */
#define SPC_LINCONV 102 /*A linear conversion field is being changed*/
/* Specific to calculation records */
#define SPC_CALC 103 /*The CALC field is being changed*/
#define SPC_NTYPES 9
typedef struct mapspcType{
char *strvalue;
int value;
}mapspcType;
#ifndef SPECIAL_GBLSOURCE
extern mapspcType pamapspcType[];
#else
mapspcType pamapspcType[SPC_NTYPES] = {
{"SPC_NOMOD",SPC_NOMOD},
{"SPC_DBADDR",SPC_DBADDR},
{"SPC_SCAN",SPC_SCAN},
{"SPC_ALARMACK",SPC_ALARMACK},
{"SPC_AS",SPC_AS},
{"SPC_MOD",SPC_MOD},
{"SPC_RESET",SPC_RESET},
{"SPC_LINCONV",SPC_LINCONV},
{"SPC_CALC",SPC_CALC}
};
#endif /*SPECIAL_GBLSOURCE*/
#ifdef __cplusplus
}
#endif
#endif /*INCspecialh*/