1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 3 #pragma once 4 5 #include <stdbool.h> 6 7 #include "sd-id128.h" 8 9 typedef enum Id128PrettyPrintMode { 10 ID128_PRINT_ID128, 11 ID128_PRINT_UUID, 12 ID128_PRINT_PRETTY, 13 _ID128_PRETTY_PRINT_MODE_MAX, 14 _ID128_PRETTY_PRINT_MODE_INVALID = -EINVAL, 15 } Id128PrettyPrintMode; 16 17 int id128_pretty_print_sample(const char *name, sd_id128_t id); 18 int id128_pretty_print(sd_id128_t id, Id128PrettyPrintMode mode); 19 int id128_print_new(Id128PrettyPrintMode mode); 20