SMREmulator 1.0
ShingledMagneticRecordingEmulator
|
00001 00010 #ifndef __EMUDISKIMG_H_ 00011 #define __EMUDISKIMG_H_ 00012 00013 #include <stdint.h> 00014 00015 00016 00017 /* -- Macro Definitions -- */ 00018 00022 #define OFF_HEADER sizeof(edi_ident_t) 00023 00024 00025 00026 /* -- Type Definitions -- */ 00027 00034 typedef struct { 00035 uint32_t magic_no; 00036 uint32_t version; 00037 } edi_ident_t; 00038 00039 00040 00041 /* -- Function Prototypes -- */ 00042 int edi_create(const char*, uint32_t, ...); 00043 int edi_dump(int); 00044 00045 00046 00047 #endif /* __EMUDISKIMG_H_ */