summaryrefslogtreecommitdiff
path: root/extras/volume_id/lib/libvolume_id-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'extras/volume_id/lib/libvolume_id-private.h')
-rw-r--r--extras/volume_id/lib/libvolume_id-private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/extras/volume_id/lib/libvolume_id-private.h b/extras/volume_id/lib/libvolume_id-private.h
index 8a5c327aea..046a1e39ed 100644
--- a/extras/volume_id/lib/libvolume_id-private.h
+++ b/extras/volume_id/lib/libvolume_id-private.h
@@ -107,6 +107,9 @@ struct volume_id {
uint8_t uuid_raw[VOLUME_ID_UUID_SIZE];
size_t uuid_raw_len;
char uuid[VOLUME_ID_UUID_SIZE+1];
+ uint8_t uuid_sub_raw[VOLUME_ID_UUID_SIZE];
+ size_t uuid_sub_raw_len;
+ char uuid_sub[VOLUME_ID_UUID_SIZE+1];
enum volume_id_usage usage_id;
char *usage;
char *type;
@@ -129,6 +132,7 @@ extern void volume_id_set_label_raw(struct volume_id *id, const uint8_t *buf, si
extern void volume_id_set_label_string(struct volume_id *id, const uint8_t *buf, size_t count);
extern void volume_id_set_label_unicode16(struct volume_id *id, const uint8_t *buf, enum endian endianess, size_t count);
extern void volume_id_set_uuid(struct volume_id *id, const uint8_t *buf, size_t len, enum uuid_format format);
+extern void volume_id_set_uuid_sub(struct volume_id *id, const uint8_t *buf, size_t len, enum uuid_format format);
extern uint8_t *volume_id_get_buffer(struct volume_id *id, uint64_t off, size_t len);
extern void volume_id_free_buffer(struct volume_id *id);