allow C++

This commit is contained in:
Jeff Hill
2000-04-28 00:41:38 +00:00
parent 06f8507803
commit 9f94eee742
3 changed files with 20 additions and 0 deletions
+7
View File
@@ -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*/
+8
View File
@@ -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*/
+5
View File
@@ -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*/