Crinit -- Configurable Rootfs Init
version.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: MIT
6 #ifndef __VERSION_H__
7 #define __VERSION_H__
8 
9 #include <stdint.h>
10 
14 #define CRINIT_GIT_HASH_MAX_LEN 40
15 
19 typedef struct crinitVersion_t {
20  uint8_t major;
21  uint8_t minor;
22  uint8_t micro;
25 
29 extern const crinitVersion_t crinitVersion;
30 
39 const char *crinitGetVersionString(void);
40 
41 #endif /* __VERSION_H__ */
Definition: version.h:19
char git[CRINIT_GIT_HASH_MAX_LEN+1]
git commit Hash
Definition: version.h:23
uint8_t micro
Micro/patch version.
Definition: version.h:22
uint8_t minor
Minor version.
Definition: version.h:21
uint8_t major
Major version.
Definition: version.h:20
const char * crinitGetVersionString(void)
struct crinitVersion_t crinitVersion_t
const crinitVersion_t crinitVersion
#define CRINIT_GIT_HASH_MAX_LEN
Definition: version.h:14