summaryrefslogtreecommitdiffstats
path: root/fdisks/fdisk.h
diff options
context:
space:
mode:
authorKarel Zak2013-12-18 10:38:43 +0100
committerKarel Zak2014-03-11 11:35:13 +0100
commit9f670072f42d7e0e8403385defc69e93b636cb93 (patch)
tree05a7ba02cbbe607874f09fde3af3f9e53475bc05 /fdisks/fdisk.h
parentlibfdisk: use fdisk_table to generate output (diff)
downloadkernel-qcow2-util-linux-9f670072f42d7e0e8403385defc69e93b636cb93.tar.gz
kernel-qcow2-util-linux-9f670072f42d7e0e8403385defc69e93b636cb93.tar.xz
kernel-qcow2-util-linux-9f670072f42d7e0e8403385defc69e93b636cb93.zip
libfdisk: remove tt stuff from API
The include/tt.h has to be used only internally by the library (for example to convert fdisk_table to string). The fdisk_ask API should not be more used for complex tasks like print partition table. The application has to use fdisk_get_table() and fdisk_table_to_string() or something else. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisks/fdisk.h')
-rw-r--r--fdisks/fdisk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fdisks/fdisk.h b/fdisks/fdisk.h
index 15df8e41d..8d8144a7c 100644
--- a/fdisks/fdisk.h
+++ b/fdisks/fdisk.h
@@ -27,6 +27,7 @@ extern void dump_disklabel(struct fdisk_context *cxt);
extern void list_partition_types(struct fdisk_context *cxt);
extern void list_disk_geometry(struct fdisk_context *cxt);
+extern void list_disklabel(struct fdisk_context *cxt);
extern void change_partition_type(struct fdisk_context *cxt);
extern struct fdisk_parttype *ask_partition_type(struct fdisk_context *cxt);