diff options
| author | KATO Takenori <kato@FreeBSD.org> | 2000-03-29 15:10:28 +0000 |
|---|---|---|
| committer | KATO Takenori <kato@FreeBSD.org> | 2000-03-29 15:10:28 +0000 |
| commit | 7e9e4211930d26925f1fed6351a6b3bcf60ebcc1 (patch) | |
| tree | d8f7322d674ce2ec1e15ceea4f566cff7cf79b0b /lib/libdisk/libdisk.h | |
| parent | de06b995e0382b30128e4db7181882b6967fab35 (diff) | |
Notes
Diffstat (limited to 'lib/libdisk/libdisk.h')
| -rw-r--r-- | lib/libdisk/libdisk.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libdisk/libdisk.h b/lib/libdisk/libdisk.h index bf9eff131d12..fc8a247cce6a 100644 --- a/lib/libdisk/libdisk.h +++ b/lib/libdisk/libdisk.h @@ -46,6 +46,9 @@ struct chunk { long offset; u_long size; u_long end; +#ifdef PC98 + char *sname; +#endif char *name; char *oname; /* Used during Fixup_Names() to avoid renaming more than @@ -135,8 +138,13 @@ Collapse_Chunk(struct disk *disk, struct chunk *chunk); */ int +#ifdef PC98 +Create_Chunk(struct disk *disk, u_long offset, u_long size, chunk_e type, + int subtype, u_long flags, const char *); +#else Create_Chunk(struct disk *disk, u_long offset, u_long size, chunk_e type, int subtype, u_long flags); +#endif /* Create a chunk with the specified paramters */ @@ -239,7 +247,11 @@ ChunkCanBeRoot(struct chunk *c); void Debug_Chunk(struct chunk *); void Free_Chunk(struct chunk *); struct chunk * Clone_Chunk(struct chunk *); +#ifdef PC98 +int Add_Chunk(struct disk *, long, u_long, const char *, chunk_e, int, u_long, const char *); +#else int Add_Chunk(struct disk *, long, u_long, const char *, chunk_e, int, u_long); +#endif void Bios_Limit_Chunk(struct chunk *, u_long); void * read_block(int, daddr_t); void write_block(int fd, daddr_t block, void *foo); |
