git ls-files modules/database/src/ioc|egrep '\.[hc]p*$' | xargs sed -i \ -e 's|epicsShareFunc|DBCORE_API|g' \ -e 's|epicsShareClass|DBCORE_API|g' \ -e 's|epicsShareExtern|DBCORE_API extern|g' \ -e 's|epicsShareDef\s*||g' \ -e 's|shareLib\.h|dbCoreAPI.h|g' \ -e 's|epicsShareAPI|epicsStdCall|g' \ -e '/#define\s*epicsExportSharedSymbols/d'
46 lines
1.1 KiB
C
46 lines
1.1 KiB
C
/*************************************************************************\
|
|
* Copyright (c) 2007 UChicago Argonne LLC, as Operator of Argonne
|
|
* National Laboratory.
|
|
* Copyright (c) 2002 The Regents of the University of California, as
|
|
* Operator of Los Alamos National Laboratory.
|
|
* SPDX-License-Identifier: EPICS
|
|
* EPICS BASE is distributed subject to a Software License Agreement found
|
|
* in file LICENSE that is included with this distribution.
|
|
\*************************************************************************/
|
|
/* iocshRegisterCommon.h */
|
|
/* Author: Marty Kraimer Date: 27APR2000 */
|
|
|
|
#ifndef INCiocshRegisterCommonH
|
|
#define INCiocshRegisterCommonH
|
|
|
|
#include "dbCoreAPI.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct dbBase;
|
|
|
|
/* register many useful commands */
|
|
DBCORE_API void iocshRegisterCommon(void);
|
|
|
|
#define HAS_registerAllRecordDeviceDrivers
|
|
|
|
DBCORE_API
|
|
long
|
|
registerAllRecordDeviceDrivers(struct dbBase *pdbbase);
|
|
|
|
DBCORE_API
|
|
void runRegistrarOnce(void (*reg_func)(void));
|
|
|
|
#ifdef EPICS_PRIVATE_API
|
|
DBCORE_API
|
|
void clearRegistrarOnce(void);
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /*INCiocshRegisterCommonH*/
|