EPICS Base 7.0.8.0
Loading...
Searching...
No Matches
iocshRegisterCommon.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/* iocshRegisterCommon.h */
11/* Author: Marty Kraimer Date: 27APR2000 */
12
13#ifndef INCiocshRegisterCommonH
14#define INCiocshRegisterCommonH
15
16#include "dbCoreAPI.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22struct dbBase;
23
24/* register many useful commands */
25DBCORE_API void iocshRegisterCommon(void);
26
27#define HAS_registerAllRecordDeviceDrivers
28
29DBCORE_API
30long
31registerAllRecordDeviceDrivers(struct dbBase *pdbbase);
32
33DBCORE_API
34void runRegistrarOnce(void (*reg_func)(void));
35
36#ifdef EPICS_PRIVATE_API
37DBCORE_API
38void clearRegistrarOnce(void);
39#endif
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /*INCiocshRegisterCommonH*/
Provides an RAII style lock/unlock of a mutex.
Definition epicsGuard.h:53