diff options
Diffstat (limited to 'lib/libdisk/libdisk.h')
-rw-r--r-- | lib/libdisk/libdisk.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index 7281f8e..737d366 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -103,6 +103,9 @@ struct chunk { #define CHUNK_AUTO_SIZE 0x0080 #define CHUNK_NEWFS 0x0100 +#define DELCHUNK_NORMAL 0x0000 +#define DELCHUNK_RECOVER 0x0001 + extern const char *chunk_n[]; @@ -142,6 +145,12 @@ Sanitize_Bios_Geom(struct disk *disk); */ int +Delete_Chunk2(struct disk *disk, struct chunk *, int flags); +/* Free a chunk of disk_space modified by the passed + * flags. + */ + +int Delete_Chunk(struct disk *disk, struct chunk *); /* Free a chunk of disk_space */ |