Babeltrace 2 C API 2.1.0
Open-source trace manipulation framework
|
Library version getters.
This API offers functions to get information about the version of the library:
Functions | |
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. | |
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_name (void) |
Returns libbabeltrace2's release name. | |
const char * | bt_version_get_name_description (void) |
Returns the description of libbabeltrace2's release name. | |
const char * | bt_version_get_extra_name (void) |
Returns the extra name of libbabeltrace2's version. | |
const char * | bt_version_get_extra_description (void) |
Returns the extra description of libbabeltrace2's version. | |
const char * | bt_version_get_extra_patch_names (void) |
Returns the extra patch names of libbabeltrace2's version. | |
|
extern |
Returns the major version of libbabeltrace2.
|
extern |
Returns the minor version of libbabeltrace2.
|
extern |
Returns the patch version of libbabeltrace2.
|
extern |
Returns the development stage of libbabeltrace2's version.
The development stage can contain a version suffix such as -pre5
or -rc1
.
NULL
if none.
|
extern |
Returns the description of the version control system (VCS) revision of libbabeltrace2's version.
The VCS revision description is only available for a non-release build of the library.
NULL
if none.
|
extern |
Returns libbabeltrace2's release name.
If the release name isn't available, which can be the case for a development build, then this function returns NULL
.
NULL
if not available.
|
extern |
Returns the description of libbabeltrace2's release name.
If the description of the release name isn't available, which can be the case for a development build, then this function returns NULL
.
NULL
if not available.
|
extern |
Returns the extra name of libbabeltrace2's version.
The extra name of the version of the library can be set at build time for a custom build.
NULL
if not available.
|
extern |
Returns the extra description of libbabeltrace2's version.
The extra description of the version of the library can be set at build time for a custom build.
Extra description of the version of the library, or NULL
if not available.
Can contain newlines.
|
extern |
Returns the extra patch names of libbabeltrace2's version.
The extra patch names of the version of the library can be set at build time for a custom build.
Extra patch names of the version of the library, 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.