allow C++
This commit is contained in:
@@ -32,6 +32,9 @@
|
||||
|
||||
#include "shareLib.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
epicsShareFunc int epicsShareAPI db_event_list (
|
||||
const char *name, unsigned level);
|
||||
@@ -73,5 +76,9 @@ epicsShareFunc void epicsShareAPI db_event_disable (dbEventSubscription es);
|
||||
#define DB_EVENT_OK 0
|
||||
#define DB_EVENT_ERROR (-1)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*INCLdbEventh*/
|
||||
|
||||
|
||||
@@ -20,6 +20,10 @@ of this distribution.
|
||||
|
||||
#include "shareLib.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
epicsShareFunc void epicsShareAPI dbScanLock(struct dbCommon *precord);
|
||||
epicsShareFunc void epicsShareAPI dbScanUnlock(struct dbCommon *precord);
|
||||
epicsShareFunc unsigned long epicsShareAPI dbLockGetLockId(
|
||||
@@ -39,4 +43,8 @@ epicsShareFunc long epicsShareAPI dblsr(char *recordname,int level);
|
||||
/* If recordname NULL then all records*/
|
||||
/* level = (0,1,2) (lock set state, + recordname, +DB links) */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*INCdbLockh*/
|
||||
|
||||
@@ -22,6 +22,7 @@ of this distribution.
|
||||
//
|
||||
struct dbCommon;
|
||||
struct putNotify;
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct pnRestartNode {
|
||||
@@ -72,4 +73,8 @@ epicsShareFunc long epicsShareAPI dbPutNotifyInitiate (
|
||||
|
||||
epicsShareFunc void epicsShareAPI dbPutNotifyDestroy (dbPutNotifyID idIn);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /*INCdbNotifyh*/
|
||||
|
||||
Reference in New Issue
Block a user