1 #ifndef __FDI2RAW_H
2 #define __FDI2RAW_H
3 
4 #define uae_u8 uint8_t
5 #define uae_u16 uint16_t
6 #define uae_u32 uint32_t
7 
8 //#include "types.h"
9 #include <stdio.h>
10 typedef struct fdi FDI;
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 extern int fdi2raw_loadtrack (FDI*, uae_u16 *mfmbuf, uae_u16 *tracktiming, int track, int *tracklength, int *indexoffset, int *multirev, int mfm);
17 
18 extern int fdi2raw_loadrevolution (FDI*, uae_u16 *mfmbuf, uae_u16 *tracktiming, int track, int *tracklength, int mfm);
19 
20 extern FDI *fdi2raw_header(FILE *f);
21 extern void fdi2raw_header_free (FDI *);
22 extern int fdi2raw_get_last_track(FDI *);
23 extern int fdi2raw_get_num_sector (FDI *);
24 extern int fdi2raw_get_last_head(FDI *);
25 extern int fdi2raw_get_type (FDI *);
26 extern int fdi2raw_get_bit_rate (FDI *);
27 extern int fdi2raw_get_rotation (FDI *);
28 extern int fdi2raw_get_write_protect (FDI *);
29 
30 #ifdef __cplusplus
31 }
32 #endif
33 
34 #endif
35