pspsdk-1.0+beta2
psputility_modules.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
3  * -----------------------------------------------------------------------
4  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5  *
6  * psputility_modules.h - Load modules from user mode
7  *
8  * Copyright (c) 2008 David Perry <tias_dp@hotmail.com>
9  *
10  */
11 #ifndef __PSPUTILITY_MODULES_H__
12 #define __PSPUTILITY_MODULES_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include <psptypes.h>
19 
20 /* Net Modules */
21 #define PSP_MODULE_NET_COMMON 0x0100
22 #define PSP_MODULE_NET_ADHOC 0x0101
23 #define PSP_MODULE_NET_INET 0x0102
24 #define PSP_MODULE_NET_PARSEURI 0x0103
25 #define PSP_MODULE_NET_PARSEHTTP 0x0104
26 #define PSP_MODULE_NET_HTTP 0x0105
27 #define PSP_MODULE_NET_SSL 0x0106
28 
29 /* USB Modules */
30 #define PSP_MODULE_USB_PSPCM 0x0200
31 #define PSP_MODULE_USB_MIC 0x0201
32 #define PSP_MODULE_USB_CAM 0x0202
33 #define PSP_MODULE_USB_GPS 0x0203
34 
35 /* Audio/video Modules */
36 #define PSP_MODULE_AV_AVCODEC 0x0300
37 #define PSP_MODULE_AV_SASCORE 0x0301
38 #define PSP_MODULE_AV_ATRAC3PLUS 0x0302
39 #define PSP_MODULE_AV_MPEGBASE 0x0303
40 #define PSP_MODULE_AV_MP3 0x0304
41 #define PSP_MODULE_AV_VAUDIO 0x0305
42 #define PSP_MODULE_AV_AAC 0x0306
43 #define PSP_MODULE_AV_G729 0x0307
44 
45 /* NP */
46 #define PSP_MODULE_NP_COMMON 0x0400
47 #define PSP_MODULE_NP_SERVICE 0x0401
48 #define PSP_MODULE_NP_MATCHING2 0x0402
49 
50 #define PSP_MODULE_NP_DRM 0x0500
51 
52 /* IrDA */
53 #define PSP_MODULE_IRDA 0x0600
54 
55 
63 int sceUtilityLoadModule(int module);
64 
72 int sceUtilityUnloadModule(int module);
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif