summaryrefslogtreecommitdiffstats
path: root/src/shared/gpt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/gpt.h')
-rw-r--r--src/shared/gpt.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shared/gpt.h b/src/shared/gpt.h
index a07bd63017..dcceb076d6 100644
--- a/src/shared/gpt.h
+++ b/src/shared/gpt.h
@@ -73,3 +73,10 @@ const char *gpt_partition_type_uuid_to_string_harder(
sd_id128_t id,
char buffer[static ID128_UUID_STRING_MAX]);
int gpt_partition_type_uuid_from_string(const char *s, sd_id128_t *ret);
+
+typedef struct GptPartitionType {
+ sd_id128_t uuid;
+ const char *name;
+} GptPartitionType;
+
+extern const GptPartitionType gpt_partition_type_table[];