RTEMS  5.0.0
version.h
Go to the documentation of this file.
1 
7 /*
8  * Copyright (C) 2017.
9  * Chris Johns <chrisj@rtems.org>
10  *
11  * The license and distribution terms for this file may be
12  * found in the file LICENSE in this distribution or at
13  * http://www.rtems.org/license/LICENSE.
14  */
15 
16 #ifndef _RTEMS_VERSION_H
17 #define _RTEMS_VERSION_H
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
38 const char *rtems_version( void );
39 
45 int rtems_version_major( void );
46 
52 int rtems_version_minor( void );
53 
59 int rtems_version_revision( void );
60 
68 const char *rtems_version_control_key( void );
69 
75 const char *rtems_board_support_package( void );
76 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif
84 /* end of include file */
int rtems_version_major(void)
Returns the version&#39;s major number.
Definition: version.c:41
int rtems_version_minor(void)
Returns the version&#39;s minor number.
Definition: version.c:46
int rtems_version_revision(void)
Returns the version&#39;s revision number.
Definition: version.c:51
const char * rtems_version_control_key(void)
Returns the version control key for the current version of code that has been built. The key is specific to the version control system being used and allows the built version to be identified.
Definition: version.c:56
const char * rtems_version(void)
Returns the version string.
Definition: version.c:32
const char * rtems_board_support_package(void)
Returns the board support package name.
Definition: rtems-version.c:32