diff options
Diffstat (limited to 'libfdisk/src/fdiskP.h')
-rw-r--r-- | libfdisk/src/fdiskP.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libfdisk/src/fdiskP.h b/libfdisk/src/fdiskP.h index 104c67cb7..39e76da30 100644 --- a/libfdisk/src/fdiskP.h +++ b/libfdisk/src/fdiskP.h @@ -159,14 +159,15 @@ struct fdisk_label_operations { * Generic label */ struct fdisk_label { - /* persistent information */ - const char *name; + const char *name; /* label name */ enum fdisk_labeltype id; /* FDISK_DISKLABEL_* */ - struct fdisk_parttype *parttypes; + struct fdisk_parttype *parttypes; /* supported partitions types */ size_t nparttypes; /* number of items in parttypes[] */ - const struct fdisk_label_operations *op; + size_t nparts_max; /* maximal number of partitions */ + size_t nparts_cur; /* number of currently used partitions */ + const struct fdisk_label_operations *op; }; /* label allocators */ |