Babeltrace 2 C API
2.0.0
Open-source trace manipulation framework
|
Library version getters.
This module contains functions to get information about the library's version:
Functions | |
unsigned int | bt_version_get_major (void) |
Returns the major version of libbabeltrace2. More... | |
unsigned int | bt_version_get_minor (void) |
Returns the minor version of libbabeltrace2. More... | |
unsigned int | bt_version_get_patch (void) |
Returns the patch version of libbabeltrace2. More... | |
const char * | bt_version_get_development_stage (void) |
Returns the development stage of libbabeltrace2's version. More... | |
const char * | bt_version_get_vcs_revision_description (void) |
Returns the version control system (VCS) revision's description of libbabeltrace2's version. More... | |
const char * | bt_version_get_name (void) |
Returns libbabeltrace2's release name. More... | |
const char * | bt_version_get_name_description (void) |
Returns libbabeltrace2's release name's description. More... | |
const char * | bt_version_get_extra_name (void) |
Returns the extra name of libbabeltrace2's version. More... | |
const char * | bt_version_get_extra_description (void) |
Returns the extra description of libbabeltrace2's version. More... | |
const char * | bt_version_get_extra_patch_names (void) |
Returns the extra patch names of libbabeltrace2's version. More... | |
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_development_stage | ( | void | ) |
Returns the development stage of libbabeltrace2's version.
The development stage can contain a version suffix such as -pre5
or -rc1
.
NULL
if none. const char* bt_version_get_vcs_revision_description | ( | void | ) |
Returns the version control system (VCS) revision's description of libbabeltrace2's version.
The VCS revision description is only available for a non-release build of the library.
NULL
if none. const char* bt_version_get_name | ( | void | ) |
Returns libbabeltrace2's release name.
If the release name is not available, which can be the case for a development build, this function returns NULL
.
NULL
if not available.const char* bt_version_get_name_description | ( | void | ) |
Returns libbabeltrace2's release name's description.
If the release name's description is not available, which can be the case for a development build, this function returns NULL
.
NULL
if not available.const char* bt_version_get_extra_name | ( | void | ) |
Returns the extra name of libbabeltrace2's version.
The extra name of the library's version can be set at build time for a custom build.
NULL
if not available. const char* bt_version_get_extra_description | ( | void | ) |
Returns the extra description of libbabeltrace2's version.
The extra description of the library's version can be set at build time for a custom build.
Library's version extra description, or NULL
if not available.
Can contain newlines.
const char* bt_version_get_extra_patch_names | ( | void | ) |
Returns the extra patch names of libbabeltrace2's version.
The extra patch names of the library's version can be set at build time for a custom build.
Library's version extra patch names, or NULL
if not available.
Each line of the returned string contains the name of a patch applied to Babeltrace's source tree for a custom build.