Crinit -- Configurable Rootfs Init
|
Header definitions related to component versioning. More...
#include <stdint.h>
Go to the source code of this file.
Classes | |
struct | crinitVersion_t |
Macros | |
#define | CRINIT_GIT_HASH_MAX_LEN 40 |
Typedefs | |
typedef struct crinitVersion_t | crinitVersion_t |
Functions | |
const char * | crinitGetVersionString (void) |
Variables | |
const crinitVersion_t | crinitVersion |
Header definitions related to component versioning.
#define CRINIT_GIT_HASH_MAX_LEN 40 |
Maximum length of a git commit ID in characters.
typedef struct crinitVersion_t crinitVersion_t |
Structure to hold version information for this software component.
const char* crinitGetVersionString | ( | void | ) |
Returns a const char pointer to a formatted human-readable version string for this software component.
Generated via CMake in version.c.in. Format is MAJOR.MINOR.MICRO.GIT
if a git commit hash exists or MAJOR.MINOR.MICRO
if the git hash is an empty string.
|
extern |
Crinit software component version. Generated via CMake in version.c.in.