This is Unofficial EPICS BASE Doxygen Site
pvdVersion.cpp
Go to the documentation of this file.
1 /*
2  * Copyright information and license terms for this software can be
3  * found in the file LICENSE that is included with the distribution
4  */
5 
6 #include <stdlib.h>
7 
8 #define epicsExportSharedSymbols
9 #include <pv/pvdVersion.h>
10 
11 namespace epics{namespace pvData{
12 
14 {
15  ptr->major = EPICS_PVD_MAJOR_VERSION;
16  ptr->minor = EPICS_PVD_MINOR_VERSION;
17  ptr->maint = EPICS_PVD_MAINTENANCE_VERSION;
18  ptr->devel = EPICS_PVD_DEVELOPMENT_FLAG;
19 }
20 
21 }} // namespace epics::pvData
22 
23 // perhaps helpful in a loadable module
24 
25 extern "C" {
27 
29 {
30  if(len>=sizeof(*ptr)) {
32  }
33 }
34 }
TODO only here because of the Lockable.
Definition: ntaggregate.cpp:16
#define epicsShareExtern
Definition: shareLib.h:204
void getVersion(epics::pvData::PVDataVersion *ptr)
Definition: pvdVersion.cpp:13
epicsShareExtern void getPVDataVersion(epics::pvData::PVDataVersion *ptr, size_t len)
Definition: pvdVersion.cpp:28