Babeltrace 2 C API  2.1.0
Open-source trace manipulation framework
version.h
1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright (C) 2010-2019 EfficiOS Inc. and Linux Foundation
5  */
6 
7 #ifndef BABELTRACE2_VERSION_H
8 #define BABELTRACE2_VERSION_H
9 
10 /* IWYU pragma: private, include <babeltrace2/babeltrace.h> */
11 
12 #ifndef __BT_IN_BABELTRACE_H
13 # error "Please include <babeltrace2/babeltrace.h> instead."
14 #endif
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
71 extern unsigned int bt_version_get_major(void) __BT_NOEXCEPT;
72 
80 extern unsigned int bt_version_get_minor(void) __BT_NOEXCEPT;
81 
89 extern unsigned int bt_version_get_patch(void) __BT_NOEXCEPT;
90 
101 extern const char *bt_version_get_development_stage(void) __BT_NOEXCEPT;
102 
115 extern const char *bt_version_get_vcs_revision_description(void) __BT_NOEXCEPT;
116 
130 extern const char *bt_version_get_name(void) __BT_NOEXCEPT;
131 
146 extern const char *bt_version_get_name_description(void) __BT_NOEXCEPT;
147 
159 extern const char *bt_version_get_extra_name(void) __BT_NOEXCEPT;
160 
176 extern const char *bt_version_get_extra_description(void) __BT_NOEXCEPT;
177 
194 extern const char *bt_version_get_extra_patch_names(void) __BT_NOEXCEPT;
195 
198 #ifdef __cplusplus
199 }
200 #endif
201 
202 #endif /* BABELTRACE2_VERSION_H */
const char * bt_version_get_name_description(void)
Returns the description of libbabeltrace2's release name.
const char * bt_version_get_vcs_revision_description(void)
Returns the description of the version control system (VCS) revision of libbabeltrace2's version...
const char * bt_version_get_extra_name(void)
Returns the extra name of libbabeltrace2's version.
unsigned int bt_version_get_major(void)
Returns the major version of libbabeltrace2.
unsigned int bt_version_get_minor(void)
Returns the minor version of libbabeltrace2.
unsigned int bt_version_get_patch(void)
Returns the patch version of libbabeltrace2.
const char * bt_version_get_extra_description(void)
Returns the extra description of libbabeltrace2's version.
const char * bt_version_get_name(void)
Returns libbabeltrace2's release name.
const char * bt_version_get_development_stage(void)
Returns the development stage of libbabeltrace2's version.
const char * bt_version_get_extra_patch_names(void)
Returns the extra patch names of libbabeltrace2's version.