Browse CVS Repository
Contents of /enbanfukusyaya/EnbanFukusyaYa/DriveAccess/image.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.5 -
( show annotations)
( download)
( as text)
Mon Nov 1 14:34:11 2010 UTC
(13 years, 5 months ago)
by bananajinn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +4 -4 lines
File MIME type: text/x-chdr
*** empty log message ***
| 1 |
/** |
| 2 |
* @file image.h |
| 3 |
* @brief イメージファイル |
| 4 |
* @author BananaJinn |
| 5 |
* @version $Id: image.h,v 1.4 2006/03/21 14:06:22 bananajinn Exp $ |
| 6 |
* 円盤複写屋 |
| 7 |
* Copyright (C) 2004-2006 BananaJinn<banana@mxh.mesh.ne.jp>. |
| 8 |
*/ |
| 9 |
#ifndef __IMAGE_H__ |
| 10 |
#define __IMAGE_H__ |
| 11 |
|
| 12 |
#include <stdio.h> |
| 13 |
#include "aspi.h" |
| 14 |
|
| 15 |
typedef struct { |
| 16 |
FILE *fp; |
| 17 |
char *filename; |
| 18 |
int fileindex; |
| 19 |
DWORD bytecount; |
| 20 |
} IMAGEFILE; |
| 21 |
|
| 22 |
extern int InitializeImage(IMAGEFILE *image); |
| 23 |
extern void FreeImage(IMAGEFILE *image); |
| 24 |
extern int OpenImage(IMAGEFILE *image, const char *filename, BOOL reader); |
| 25 |
extern int ReadImageFile(IMAGEFILE *image, void *buf, DWORD size, BOOL split); |
| 26 |
extern int WriteImageFile(IMAGEFILE *image, void *buf, DWORD size, BOOL split); |
| 27 |
extern void RemoveImageFile(const char *basefilename); |
| 28 |
|
| 29 |
#endif /* !__IMAGE_H__ */ |
|