EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
registryRecordType.h
1 /*************************************************************************\
2 * Copyright (c) 2007 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 * SPDX-License-Identifier: EPICS
7 * EPICS BASE is distributed subject to a Software License Agreement found
8 * in file LICENSE that is included with this distribution.
9 \*************************************************************************/
10 
11 #ifndef INC_registryRecordType_H
12 #define INC_registryRecordType_H
13 
14 #include "recSup.h"
15 #include "dbCoreAPI.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 struct dbRecordType;
22 struct dbBase;
23 
24 typedef int (*computeSizeOffset)(struct dbRecordType *pdbRecordType);
25 
26 typedef struct recordTypeLocation {
27  struct typed_rset *prset;
28  computeSizeOffset sizeOffset;
30 
31 DBCORE_API int registryRecordTypeAdd(
32  const char *name, const recordTypeLocation *prtl);
33 DBCORE_API recordTypeLocation * registryRecordTypeFind(
34  const char *name);
35 
36 int registerRecordDeviceDriver(struct dbBase *pdbbase);
37 
38 #ifdef __cplusplus
39 }
40 #endif
41 
42 
43 #endif /* INC_registryRecordType_H */
Definition: dbBase.h:171