fixups for DBCORE_API
This commit is contained in:
@@ -61,6 +61,7 @@
|
||||
#include "recGbl.h"
|
||||
#include "recSup.h"
|
||||
#include "special.h"
|
||||
#include "epicsExport.h"
|
||||
|
||||
struct dbBase *pdbbase = 0;
|
||||
volatile int interruptAccept=FALSE;
|
||||
|
||||
@@ -12,18 +12,10 @@
|
||||
#ifndef INCdbAccessDefsh
|
||||
#define INCdbAccessDefsh
|
||||
|
||||
#ifdef epicsExportSharedSymbols
|
||||
# define INCLdb_accessh_epicsExportSharedSymbols
|
||||
# undef epicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
#include "epicsTypes.h"
|
||||
#include "epicsTime.h"
|
||||
|
||||
#ifdef INCLdb_accessh_epicsExportSharedSymbols
|
||||
# define epicsExportSharedSymbols
|
||||
# include "dbCoreAPI.h"
|
||||
#endif
|
||||
#include "dbCoreAPI.h"
|
||||
|
||||
#include "dbBase.h"
|
||||
#include "dbAddr.h"
|
||||
|
||||
@@ -19,11 +19,6 @@
|
||||
#ifndef dbCACh
|
||||
#define dbCACh
|
||||
|
||||
#ifdef epicsExportSharedSymbols
|
||||
# define dbCACh_restore_epicsExportSharedSymbols
|
||||
# undef epicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
#include "stdlib.h"
|
||||
|
||||
#include <memory> // std::auto_ptr
|
||||
@@ -34,10 +29,7 @@
|
||||
#include "cacIO.h"
|
||||
#include "compilerDependencies.h"
|
||||
|
||||
#ifdef dbCACh_restore_epicsExportSharedSymbols
|
||||
# define epicsExportSharedSymbols
|
||||
# include "dbCoreAPI.h"
|
||||
#endif
|
||||
#include "dbCoreAPI.h"
|
||||
|
||||
#include "db_access.h"
|
||||
#include "dbNotify.h"
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include "epicsStdio.h"
|
||||
|
||||
#include "dbStaticLib.h"
|
||||
#undef epicsExportSharedSymbols
|
||||
/*definitions needed because of old vs new database access*/
|
||||
#undef DBR_SHORT
|
||||
#undef DBR_PUT_ACKT
|
||||
|
||||
@@ -20,17 +20,8 @@
|
||||
#ifndef dbChannelIOh
|
||||
#define dbChannelIOh
|
||||
|
||||
#ifdef epicsExportSharedSymbols
|
||||
# define dbChannelIOh_restore_epicsExportSharedSymbols
|
||||
# undef epicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
#include "compilerDependencies.h"
|
||||
|
||||
#ifdef dbChannelIOh_restore_epicsExportSharedSymbols
|
||||
# define epicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
class dbChannelIO : public cacChannel, public dbContextPrivateListOfIO {
|
||||
public:
|
||||
dbChannelIO (
|
||||
|
||||
@@ -20,17 +20,8 @@
|
||||
#ifndef INCLdbEventh
|
||||
#define INCLdbEventh
|
||||
|
||||
#ifdef epicsExportSharedSymbols
|
||||
# undef epicsExportSharedSymbols
|
||||
# define INCLdbEventhExporting
|
||||
#endif
|
||||
|
||||
#include "epicsThread.h"
|
||||
|
||||
#ifdef INCLdbEventhExporting
|
||||
# define epicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
#include "dbCoreAPI.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -17,17 +17,9 @@
|
||||
#ifndef dbPutNotifyBlockerh
|
||||
#define dbPutNotifyBlockerh
|
||||
|
||||
#ifdef epicsExportSharedSymbols
|
||||
#define dbPutNotifyBlockerh_restore_epicsExportSharedSymbols
|
||||
#undef epicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
#include "tsFreeList.h"
|
||||
#include "compilerDependencies.h"
|
||||
|
||||
#ifdef dbPutNotifyBlockerh_restore_epicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
class dbPutNotifyBlocker : public dbBaseIO {
|
||||
public:
|
||||
dbPutNotifyBlocker ( epicsMutex & );
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "dbAccess.h"
|
||||
#include "devSup.h"
|
||||
#include "special.h"
|
||||
#include "epicsExport.h"
|
||||
|
||||
int dbConvertStrict = 0;
|
||||
epicsExportAddress(int, dbConvertStrict);
|
||||
|
||||
@@ -16,11 +16,6 @@
|
||||
#ifndef INCLserverh
|
||||
#define INCLserverh
|
||||
|
||||
#ifdef epicsExportSharedSymbols
|
||||
# define rsrvRestore_epicsExportSharedSymbols
|
||||
# undef epicsExportSharedSymbols
|
||||
#endif /* ifdef epicsExportSharedSymbols */
|
||||
|
||||
#include "epicsThread.h"
|
||||
#include "epicsMutex.h"
|
||||
#include "epicsEvent.h"
|
||||
@@ -35,9 +30,6 @@
|
||||
#include "epicsAssert.h"
|
||||
#include "osiSock.h"
|
||||
|
||||
#ifdef rsrvRestore_epicsExportSharedSymbols
|
||||
#endif
|
||||
|
||||
/* a modified ca header with capacity for large arrays */
|
||||
typedef struct caHdrLargeArray {
|
||||
ca_uint32_t m_postsize; /* size of message extension */
|
||||
|
||||
@@ -77,6 +77,7 @@ print $out (<< "END");
|
||||
#include "iocshRegisterCommon.h"
|
||||
#include "registryCommon.h"
|
||||
#include "recSup.h"
|
||||
#include "shareLib.h"
|
||||
|
||||
END
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "dbAccess.h"
|
||||
#include "epicsStdio.h"
|
||||
#include "dbEvent.h"
|
||||
#include "shareLib.h"
|
||||
|
||||
/* Declarations from cadef.h and db_access.h which we can't include here */
|
||||
typedef void * chid;
|
||||
|
||||
@@ -37,6 +37,8 @@
|
||||
|
||||
#include "testMain.h"
|
||||
|
||||
#include "shareLib.h"
|
||||
|
||||
epicsShareFunc void testRestore(void);
|
||||
|
||||
#include "epicsExport.h"
|
||||
|
||||
Reference in New Issue
Block a user