hal
Hardware Abstraction Layer
hal_metadata.h
Go to the documentation of this file.
1 
8 #ifndef _HAL_METADATA_H
9 #define _HAL_METADATA_H
10 
14 typedef struct {
15  unsigned major;
16  unsigned minor;
17  unsigned patch;
18  const char *version_str;
19  const char *git_hash;
20  const char *build_date;
21  unsigned dirty;
22  const char *dirty_str;
24 
33 
34 #endif /* _HAL_METADATA_H */
const hal_metadata_t * hal_get_metadata()
Retrieve the metadata associated with this HAL build.
Definition: hal_metadata.c:22
Struct contains all build and version metadata of HAL.
Definition: hal_metadata.h:14
unsigned major
Definition: hal_metadata.h:15
unsigned minor
Definition: hal_metadata.h:16
unsigned patch
Definition: hal_metadata.h:17
const char * version_str
Definition: hal_metadata.h:18
const char * git_hash
Definition: hal_metadata.h:19
unsigned dirty
Definition: hal_metadata.h:21
const char * build_date
Definition: hal_metadata.h:20
const char * dirty_str
Definition: hal_metadata.h:22