-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ioc: combine registrars and detect QSRV1
- Loading branch information
1 parent
44e7af5
commit 1975a36
Showing
10 changed files
with
128 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* Copyright - See the COPYRIGHT that is included with this distribution. | ||
* pvxs is distributed subject to a Software License Agreement found | ||
* in file LICENSE that is included with this distribution. | ||
*/ | ||
#ifndef QSRVPVT_H | ||
#define QSRVPVT_H | ||
|
||
#include <pvxs/version.h> | ||
#include <pvxs/iochooks.h> | ||
|
||
namespace pvxs { | ||
namespace ioc { | ||
|
||
#if EPICS_VERSION_INT >= VERSION_INT(3, 15, 0 ,0) | ||
void single_enable(); | ||
#else | ||
static inline | ||
void single_enable() {} | ||
#endif | ||
|
||
#if EPICS_VERSION_INT >= VERSION_INT(7, 0, 0 ,0) | ||
void group_enable(); | ||
void pvalink_enable(); | ||
#else | ||
static inline | ||
void group_enable() {} | ||
static inline | ||
void pvalink_enable() {} | ||
#endif | ||
|
||
#if EPICS_VERSION_INT >= VERSION_INT(7, 0, 4, 0) | ||
# define USE_DEINIT_HOOKS | ||
#endif | ||
|
||
}} // namespace pvxs::ioc | ||
|
||
#endif // QSRVPVT_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters