X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fuuid.hpp;h=586c2ad67c06fcdaac63c39759dee0e95ae8a7d6;hb=9a30ba1da4e6d59eb30c6535a9dd04cd599e6fae;hp=0cd3966becc6f91dd38b63721fe4306794624e68;hpb=328c2fe7297c941aa9cbcfa4ce944fca1bd7300f;p=lttng-tools.git diff --git a/src/common/uuid.hpp b/src/common/uuid.hpp index 0cd3966be..586c2ad67 100644 --- a/src/common/uuid.hpp +++ b/src/common/uuid.hpp @@ -13,6 +13,7 @@ #include #include #include +#include /* * Includes final \0. @@ -49,6 +50,12 @@ int lttng_uuid_from_str(const char *str_in, lttng_uuid& uuid_out); */ void lttng_uuid_to_str(const lttng_uuid& uuid, char *uuid_str); +namespace lttng { +namespace utils { +std::string uuid_to_str(const lttng_uuid& uuid); +} /* namespace utils */ +} /* namespace lttng */ + bool lttng_uuid_is_equal(const lttng_uuid& a, const lttng_uuid& b); bool lttng_uuid_is_nil(const lttng_uuid& uuid);