Move (and rename) UUID helpers to libdevmapper source.

This commit is contained in:
Milan Broz
2025-05-03 18:50:33 +02:00
parent d967c9aaf0
commit 3ec14c8668
6 changed files with 103 additions and 102 deletions

View File

@@ -225,6 +225,10 @@ const char *dm_get_dir(void);
int dm_get_iname(const char *name, char **iname, bool with_path);
char *dm_get_active_iname(struct crypt_device *cd, const char *name);
int dm_uuid_cmp(const char *dm_uuid, const char *hdr_uuid);
int dm_uuid_type_cmp(const char *dm_uuid, const char *type);
int dm_uuid_integrity_cmp(const char *dm_uuid, const char *dmi_uuid);
int lookup_dm_dev_by_uuid(struct crypt_device *cd, const char *uuid, const char *type);
/* These are DM helpers used only by utils_devpath file */