OpenAMP Library  353
Library Version Interfaces

Functions

int openamp_version_major (void)
 Library major version number. More...
 
int openamp_version_minor (void)
 Library minor version number. More...
 
int openamp_version_patch (void)
 Library patch level. More...
 
const char * openamp_version (void)
 Library version string. More...
 

Detailed Description

Function Documentation

◆ openamp_version()

const char* openamp_version ( void  )

Library version string.

Return the version string of the library linked into the application. This could differ from the value of LIB_VERSION, which is the version string of the library that the application was compiled against.

Returns
Library version string.
See also
PROJECT_VERSION

◆ openamp_version_major()

int openamp_version_major ( void  )

Library major version number.

Return the major version number of the library linked into the application. This is required to match the value of LIB_VERSION_MAJOR, which is the major version of the library that the application was compiled against.

Returns
Library major version number.
See also
PROJECT_VERSION_MAJOR

◆ openamp_version_minor()

int openamp_version_minor ( void  )

Library minor version number.

Return the minor version number of the library linked into the application. This could differ from the value of LIB_VERSION_MINOR, which is the minor version of the library that the application was compiled against.

Returns
Library minor version number.
See also
PROJECT_VERSION_MINOR

◆ openamp_version_patch()

int openamp_version_patch ( void  )

Library patch level.

Return the patch level of the library linked into the application. This could differ from the value of LIB_VERSION_PATCH, which is the patch level of the library that the application was compiled against.

Returns
Library patch level.
See also
PROJECT_VERSION_PATCH