X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace2%2Fversion.h;h=7cd0213f9b62952d297d4a3a679fd241f6cc18df;hb=7704a0af9f2275321f8294df8c02f8a299b3134e;hp=1558385738d0c16603fb5b076cd0fee6cde76781;hpb=0dcb770f6937931cd08a8046fc17b03e54d43aa4;p=babeltrace.git diff --git a/include/babeltrace2/version.h b/include/babeltrace2/version.h index 15583857..7cd0213f 100644 --- a/include/babeltrace2/version.h +++ b/include/babeltrace2/version.h @@ -31,11 +31,79 @@ extern "C" { #endif -extern int bt_version_get_major(void); -extern int bt_version_get_minor(void); -extern int bt_version_get_patch(void); +/*! +@defgroup api-version Library version + +@brief + Library version getters. + +This module contains four functions to get the four parts of the +library's version: + +
-pre5
or -rc1
.
+
+@returns
+ @parblock
+ Extra information about the library's version.
+
+ Cannot be \c NULL.
+
+ Can be an empty string if there's no extra information.
+ @endparblock
+*/
extern const char *bt_version_get_extra(void);
+/*! @} */
+
#ifdef __cplusplus
}
#endif