summaryrefslogtreecommitdiffstats
path: root/src/shared/fdisk-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-11-29 12:06:35 +0100
committerLennart Poettering <lennart@poettering.net>2022-11-29 12:07:15 +0100
commit63b96eb9b3fde23d3d3dfbc44adc6bc3d36c2736 (patch)
tree5604fcdff4279e4b5d8397883507bf402aa12c9e /src/shared/fdisk-util.h
parentfdisk-util: add fdisk_partition_get_uuid_as_id128() helper (diff)
downloadsystemd-63b96eb9b3fde23d3d3dfbc44adc6bc3d36c2736.tar.xz
systemd-63b96eb9b3fde23d3d3dfbc44adc6bc3d36c2736.zip
fdisk-util: add fdisk_partition_get_type_as_id128() helper
Let's also add an easy accessor for the other per-partition UUID.
Diffstat (limited to 'src/shared/fdisk-util.h')
-rw-r--r--src/shared/fdisk-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/fdisk-util.h b/src/shared/fdisk-util.h
index 91c3ce46bd..7f34a042ec 100644
--- a/src/shared/fdisk-util.h
+++ b/src/shared/fdisk-util.h
@@ -17,5 +17,6 @@ DEFINE_TRIVIAL_CLEANUP_FUNC_FULL(struct fdisk_table*, fdisk_unref_table, NULL);
int fdisk_new_context_fd(int fd, bool read_only, struct fdisk_context **ret);
int fdisk_partition_get_uuid_as_id128(struct fdisk_partition *p, sd_id128_t *ret);
+int fdisk_partition_get_type_as_id128(struct fdisk_partition *p, sd_id128_t *ret);
#endif