SMREmulator 1.0
ShingledMagneticRecordingEmulator
|
00001 00012 #ifndef __EMULATOR_H_ 00013 #define __EMULATOR_H_ 00014 00015 #include "emutypes.h" 00016 #include "emuerror.h" 00017 00018 00019 00020 /* -- Macro Definitions -- */ 00021 00025 #define MAX_EDIS 8 // Maximum no. of EDIs that can be opened simultaneously 00026 00027 00028 00029 /* -- Function Prototypes -- */ 00030 00031 int edi_init(); 00032 int edi_open(const char *); 00033 int edi_close(int); 00034 00035 int edi_modesense(int, inq_t, void*); 00036 int edi_managebands(int, svc_act_t, band_t*, rba_t*, int); 00037 int edi_read(int, band_t, rba_t, char*, rba_t); 00038 int edi_write(int, band_t, rba_t, char*, rba_t); 00039 00040 00041 00042 #endif /* __EMULATOR_H_ */