EPICS Base  7.0.5.1
dbState.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2010 Brookhaven National Laboratory.
3 * Copyright (c) 2010 Helmholtz-Zentrum Berlin
4 * fuer Materialien und Energie GmbH.
5 * SPDX-License-Identifier: EPICS
6 * EPICS BASE is distributed subject to a Software License Agreement found
7 * in file LICENSE that is included with this distribution.
8 \*************************************************************************/
9 
10 /*
11  * Author: Ralph Lange <Ralph.Lange@bessy.de>
12  */
13 
14 #ifndef INCdbStateH
15 #define INCdbStateH
16 
17 #include "shareLib.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
36 typedef struct dbState *dbStateId;
37 
48 epicsShareFunc dbStateId dbStateCreate(const char *name);
49 
55 epicsShareFunc dbStateId dbStateFind(const char *name);
56 
63 epicsShareFunc void dbStateSet(dbStateId id);
64 
71 epicsShareFunc void dbStateClear(dbStateId id);
72 
78 epicsShareFunc int dbStateGet(dbStateId id);
79 
87 epicsShareFunc void dbStateShow(dbStateId id, unsigned int level);
88 
95 epicsShareFunc void dbStateShowAll(unsigned int level);
96 
97 
98 #ifdef __cplusplus
99 }
100 #endif
101 
102 #endif // INCdbStateH
epicsShareFunc int dbStateGet(dbStateId id)
Get db state.
epicsShareFunc dbStateId dbStateFind(const char *name)
Find db state.
epicsShareFunc void dbStateClear(dbStateId id)
Set db state to FALSE.
epicsShareFunc void dbStateShowAll(unsigned int level)
Print info about all db states.
Mark external symbols and entry points for shared libraries.
epicsShareFunc void dbStateSet(dbStateId id)
Set db state to TRUE.
epicsShareFunc dbStateId dbStateCreate(const char *name)
Create db state.
epicsShareFunc void dbStateShow(dbStateId id, unsigned int level)
Print info about db state.