1 /*
2  * Copyright (c) 2013 Google, Inc.
3  *
4  * Use of this source code is governed by a MIT-style
5  * license that can be found in the LICENSE file or at
6  * https://opensource.org/licenses/MIT
7  */
8 #pragma once
9 
10 #include <lk/compiler.h>
11 
12 __BEGIN_CDECLS
13 
14 #define VERSION_STRUCT_VERSION 0x1
15 
16 typedef struct {
17     unsigned int struct_version;
18     const char *arch;
19     const char *platform;
20     const char *target;
21     const char *project;
22     const char *buildid;
23 } lk_version_t;
24 
25 extern const lk_version_t lk_version;
26 
27 void print_version(void);
28 
29 __END_CDECLS
30 
31