EPICS Base  7.0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
registryFunction.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_registryFunction_H
12 #define INC_registryFunction_H
13 
14 #include "dbCoreAPI.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 typedef void (*REGISTRYFUNCTION)(void);
21 
22 typedef struct registryFunctionRef {
23  const char * name;
24  REGISTRYFUNCTION addr;
26 
27 
28 DBCORE_API int registryFunctionAdd(
29  const char *name, REGISTRYFUNCTION func);
30 DBCORE_API REGISTRYFUNCTION registryFunctionFind(
31  const char *name);
32 DBCORE_API int registryFunctionRefAdd(
33  registryFunctionRef ref[], int nfunctions);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 
40 #endif /* INC_registryFunction_H */