summaryrefslogtreecommitdiffstats
path: root/libfdisk/src/libfdisk.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'libfdisk/src/libfdisk.h.in')
-rw-r--r--libfdisk/src/libfdisk.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libfdisk/src/libfdisk.h.in b/libfdisk/src/libfdisk.h.in
index 1c97149..9c20f44 100644
--- a/libfdisk/src/libfdisk.h.in
+++ b/libfdisk/src/libfdisk.h.in
@@ -540,6 +540,9 @@ extern int fdisk_reorder_partitions(struct fdisk_context *cxt);
extern int fdisk_partition_has_wipe(struct fdisk_context *cxt, struct fdisk_partition *pa);
+extern int fdisk_partition_get_max_size(struct fdisk_context *cxt, size_t n,
+ fdisk_sector_t *maxsz);
+
/* table.c */
extern struct fdisk_table *fdisk_new_table(void);