summaryrefslogtreecommitdiffstats
path: root/sbin/gpt/map.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-10-27 03:23:05 +0000
committermarcel <marcel@FreeBSD.org>2002-10-27 03:23:05 +0000
commit533c9e097154395bf0644b81f7c3f14953d56176 (patch)
treebb533945621b7c18ab431e6fe7b390ef9a32170c /sbin/gpt/map.h
parent9316f3838a06082b0d11dc4de03d67ee1e123738 (diff)
downloadFreeBSD-src-533c9e097154395bf0644b81f7c3f14953d56176.zip
FreeBSD-src-533c9e097154395bf0644b81f7c3f14953d56176.tar.gz
o Add functionality to add a GPT partition,
o Use DCE compliant UUID functions and provide local implementations if they don't exist, o Move dumping of the map to show.c and print the partition type, o Some cleanups and rearrangements. The default GPT partition type is UFS. When no starting block or size are specified, the tool will create a partition in the first free space it find (or that fits, depending on the size).
Diffstat (limited to 'sbin/gpt/map.h')
-rw-r--r--sbin/gpt/map.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/gpt/map.h b/sbin/gpt/map.h
index ac726e1..4bdc94a 100644
--- a/sbin/gpt/map.h
+++ b/sbin/gpt/map.h
@@ -46,14 +46,16 @@ typedef struct map {
void *map_data;
} map_t;
+extern int lbawidth;
+
map_t *map_add(off_t, off_t, int, void*);
+map_t *map_alloc(off_t, off_t);
map_t *map_find(int);
map_t *map_first(void);
map_t *map_last(void);
-off_t map_unused(off_t, off_t);
+off_t map_free(off_t, off_t);
-void map_dump(void);
void map_init(off_t);
#endif /* _MAP_H_ */
OpenPOWER on IntegriCloud