ps2sdk  1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
libcdvd.h
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright 2001-2004, ps2dev - http://www.ps2dev.org
7 # Licenced under Academic Free License version 2.0
8 # Review ps2sdk README & LICENSE files for further details.
9 */
10 
16 #ifndef __LIBCDVD_H__
17 #define __LIBCDVD_H__
18 
19 #include <libcdvd-common.h>
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 //EE-only libcdvd function prototypes.
26 
35 int sceCdReadIOPMem(u32 lbn, u32 sectors, void *buf, sceCdRMode *mode);
36 
43 
53 int sceCdApplySCmd(u8 cmdNum, const void* inBuff, u16 inBuffSize, void *outBuff, u16 outBuffSize);
54 
64 int sceCdApplyNCmd(u8 cmdNum, const void* inBuff, u16 inBuffSize, void* outBuff, u16 outBuffSize);
65 
74 int sceCdOpenConfig(int block, int mode, int NumBlocks, u32 *status);
75 
82 int sceCdSpinCtrlEE(u32 speed);
83 
84 #ifdef __cplusplus
85 }
86 #endif
87 
88 #endif /* __LIBCDVD_H__ */
int sceCdApplyNCmd(u8 cmdNum, const void *inBuff, u16 inBuffSize, void *outBuff, u16 outBuffSize)
int sceCdApplySCmd(u8 cmdNum, const void *inBuff, u16 inBuffSize, void *outBuff, u16 outBuffSize)
int sceCdReadIOPMem(u32 lbn, u32 sectors, void *buf, sceCdRMode *mode)
int sceCdSpinCtrlEE(u32 speed)
int sceCdNCmdDiskReady(void)
int sceCdOpenConfig(int block, int mode, int NumBlocks, u32 *status)
s32 mode
Definition: rpc_client.c:15
unsigned int u32
Definition: tamtypes.h:30
unsigned short u16
Definition: tamtypes.h:24
unsigned char u8
Definition: tamtypes.h:23