summaryrefslogtreecommitdiff
path: root/sbin/fdisk/gpt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/fdisk/gpt.h')
-rw-r--r--sbin/fdisk/gpt.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/fdisk/gpt.h b/sbin/fdisk/gpt.h
index 2d4607c3667..1caca02305b 100644
--- a/sbin/fdisk/gpt.h
+++ b/sbin/fdisk/gpt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpt.h,v 1.1 2015/10/05 01:39:08 krw Exp $ */
+/* $OpenBSD: gpt.h,v 1.2 2015/10/26 15:08:26 krw Exp $ */
/*
* Copyright (c) 2015 Markus Muller <mmu@grummel.net>
* Copyright (c) 2015 Kenneth R Westerback <krw@openbsd.org>
@@ -16,8 +16,15 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+int GPT_get_hdr(int, off_t);
+int GPT_get_partition_table(int, off_t);
+int GPT_get_gpt(void);
int GPT_init(void);
int GPT_write(int);
+void GPT_print(char *);
+void GPT_print_part(int, char *);
+void GPT_print_parthdr(void);
+
extern struct gpt_header gh;
extern struct gpt_partition gp[NGPTPARTITIONS];