Safe Communication Framework 0.1.0 build feea4f9
ERTMS/ETCS safe communication (Subset-037 EuroRadio, Subset-098 RBC/RBC), CENELEC EN 50128 SIL 4 oriented
Loading...
Searching...
No Matches
version.h File Reference

Compile-time version of the Safe Communication Framework. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SAFECOMM_VERSION_MAJOR   0
#define SAFECOMM_VERSION_MINOR   1
#define SAFECOMM_VERSION_PATCH   0
#define SAFECOMM_VERSION_STRING   "0.1.0"

Functions

const char * safecomm_version (void)
 Runtime version string.

Detailed Description

Compile-time version of the Safe Communication Framework.

REQ-SC-CORE-002: the library exposes its version as both preprocessor macros and a runtime accessor so a consumer can assert ABI expectations.

Definition in file version.h.

Macro Definition Documentation

◆ SAFECOMM_VERSION_MAJOR

#define SAFECOMM_VERSION_MAJOR   0

Definition at line 15 of file version.h.

◆ SAFECOMM_VERSION_MINOR

#define SAFECOMM_VERSION_MINOR   1

Definition at line 16 of file version.h.

◆ SAFECOMM_VERSION_PATCH

#define SAFECOMM_VERSION_PATCH   0

Definition at line 17 of file version.h.

◆ SAFECOMM_VERSION_STRING

#define SAFECOMM_VERSION_STRING   "0.1.0"

Definition at line 18 of file version.h.

Function Documentation

◆ safecomm_version()

const char * safecomm_version ( void )

Runtime version string.

Returns
a static, never-NULL "MAJOR.MINOR.PATCH" string.

Definition at line 8 of file version.c.