28 lines
566 B
C
28 lines
566 B
C
#ifndef DBCOMMONPVT_H
|
|
#define DBCOMMONPVT_H
|
|
|
|
#include <compilerDependencies.h>
|
|
#include <dbDefs.h>
|
|
#include "dbCommon.h"
|
|
|
|
struct epicsThreadOSD;
|
|
|
|
/** Base internal additional information for every record
|
|
*/
|
|
typedef struct dbCommonPvt {
|
|
struct dbRecordNode *recnode;
|
|
|
|
/* Thread which is currently processing this record */
|
|
struct epicsThreadOSD* procThread;
|
|
|
|
struct dbCommon common;
|
|
} dbCommonPvt;
|
|
|
|
static EPICS_ALWAYS_INLINE
|
|
dbCommonPvt* dbRec2Pvt(struct dbCommon *prec)
|
|
{
|
|
return CONTAINER(prec, dbCommonPvt, common);
|
|
}
|
|
|
|
#endif // DBCOMMONPVT_H
|