28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: diskimage.h,v 1.28 2005/05/25 06:40:19 debug Exp $ |
* $Id: diskimage.h,v 1.29 2005/09/27 23:55:46 debug Exp $ |
32 |
* |
* |
33 |
* Generic disk image functions. (See diskimage.c for more info.) |
* Generic disk image functions. (See diskimage.c for more info.) |
34 |
*/ |
*/ |
116 |
struct scsi_transfer *); |
struct scsi_transfer *); |
117 |
int diskimage_access(struct machine *machine, int id, int type, int writeflag, |
int diskimage_access(struct machine *machine, int id, int type, int writeflag, |
118 |
off_t offset, unsigned char *buf, size_t len); |
off_t offset, unsigned char *buf, size_t len); |
119 |
int diskimage_exist(struct machine *machine, int scsi_id, int type); |
int diskimage_exist(struct machine *machine, int id, int type); |
120 |
int diskimage_bootdev(struct machine *machine, int *typep); |
int diskimage_bootdev(struct machine *machine, int *typep); |
121 |
int diskimage_add(struct machine *machine, char *fname); |
int diskimage_add(struct machine *machine, char *fname); |
122 |
|
int diskimage_getname(struct machine *machine, int id, int type, |
123 |
|
char *buf, size_t bufsize); |
124 |
int diskimage_is_a_cdrom(struct machine *machine, int id, int type); |
int diskimage_is_a_cdrom(struct machine *machine, int id, int type); |
125 |
int diskimage_is_a_tape(struct machine *machine, int id, int type); |
int diskimage_is_a_tape(struct machine *machine, int id, int type); |
126 |
void diskimage_dump_info(struct machine *machine); |
void diskimage_dump_info(struct machine *machine); |