| 1 | // |
| 2 | // CDINTF.H: OS agnostic CDROM access funcions |
| 3 | // |
| 4 | // by James Hammons |
| 5 | // |
| 6 | |
| 7 | #ifndef __CDINTF_H__ |
| 8 | #define __CDINTF_H__ |
| 9 | |
| 10 | #include <stdint.h> |
| 11 | |
| 12 | bool CDIntfInit(void); |
| 13 | void CDIntfDone(void); |
| 14 | bool CDIntfReadBlock(uint32_t, uint8_t *); |
| 15 | uint32_t CDIntfGetNumSessions(void); |
| 16 | void CDIntfSelectDrive(uint32_t); |
| 17 | uint32_t CDIntfGetCurrentDrive(void); |
| 18 | const uint8_t * CDIntfGetDriveName(uint32_t); |
| 19 | uint8_t CDIntfGetSessionInfo(uint32_t, uint32_t); |
| 20 | uint8_t CDIntfGetTrackInfo(uint32_t, uint32_t); |
| 21 | |
| 22 | #endif // __CDINTF_H__ |