sd-id128: expose ID128_UUID_FORMAT_STR

It is generally useful, and can be made public in the same manner that
SD_ID128_FORMAT_STR is.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-04-05 13:47:54 +02:00
parent 949082ac21
commit 38df8d3f52
5 changed files with 11 additions and 4 deletions
-3
View File
@@ -10,9 +10,6 @@
char *id128_to_uuid_string(sd_id128_t id, char s[37]);
/* Like SD_ID128_FORMAT_STR, but formats as UUID, not in plain format */
#define ID128_UUID_FORMAT_STR "%02x%02x%02x%02x-%02x%02x-%02x%02x-%02x%02x-%02x%02x%02x%02x%02x%02x"
bool id128_is_valid(const char *s) _pure_;
typedef enum Id128Format {