diff options
author | Karel Zak | 2013-11-26 15:28:03 +0100 |
---|---|---|
committer | Karel Zak | 2014-03-11 11:35:12 +0100 |
commit | 82ebc7dea76ab631125c558bf7442ca9b055eeb1 (patch) | |
tree | 0ecc0ae6a556de39e5b3941c0b183885e34c09e7 /libfdisk/src/fdiskP.h | |
parent | libfdisk: add struct fdisk_partition (diff) | |
download | kernel-qcow2-util-linux-82ebc7dea76ab631125c558bf7442ca9b055eeb1.tar.gz kernel-qcow2-util-linux-82ebc7dea76ab631125c558bf7442ca9b055eeb1.tar.xz kernel-qcow2-util-linux-82ebc7dea76ab631125c558bf7442ca9b055eeb1.zip |
libfdisk: improve conversion to string
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/src/fdiskP.h')
-rw-r--r-- | libfdisk/src/fdiskP.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libfdisk/src/fdiskP.h b/libfdisk/src/fdiskP.h index 16ce84377..152e88b5f 100644 --- a/libfdisk/src/fdiskP.h +++ b/libfdisk/src/fdiskP.h @@ -130,15 +130,26 @@ struct fdisk_partition { struct fdisk_context *cxt; size_t partno; + uint64_t start; uint64_t end; uint64_t size; + char *name; char *uuid; char *attrs; struct fdisk_parttype *type; + /* private fields */ + char start_post; + char end_post; + char size_post; + uint64_t fsize; + uint64_t bsize; + uint64_t cpg; + + unsigned int nested : 1, /* logical partition */ used : 1, /* partition used */ endrel : 1; /* end is specified as relative number */ |