psputility_modules.h

Go to the documentation of this file.
00001 /*
00002  * PSP Software Development Kit - http://www.pspdev.org
00003  * -----------------------------------------------------------------------
00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
00005  *
00006  * psputility_modules.h - Load modules from user mode
00007  *
00008  * Copyright (c) 2008 David Perry <tias_dp@hotmail.com>
00009  *
00010  */
00011 #ifndef __PSPUTILITY_MODULES_H__
00012 #define __PSPUTILITY_MODULES_H__
00013 
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif
00017 
00018 #include <psptypes.h>
00019 
00020 /* Net Modules */
00021 #define PSP_MODULE_NET_COMMON           0x0100
00022 #define PSP_MODULE_NET_ADHOC            0x0101
00023 #define PSP_MODULE_NET_INET                     0x0102
00024 #define PSP_MODULE_NET_PARSEURI         0x0103
00025 #define PSP_MODULE_NET_PARSEHTTP        0x0104
00026 #define PSP_MODULE_NET_HTTP                     0x0105
00027 #define PSP_MODULE_NET_SSL                      0x0106
00028 
00029 /* USB Modules */
00030 #define PSP_MODULE_USB_PSPCM            0x0200
00031 #define PSP_MODULE_USB_MIC                      0x0201
00032 #define PSP_MODULE_USB_CAM                      0x0202
00033 #define PSP_MODULE_USB_GPS                      0x0203
00034 
00035 /* Audio/video Modules */
00036 #define PSP_MODULE_AV_AVCODEC           0x0300
00037 #define PSP_MODULE_AV_SASCORE           0x0301
00038 #define PSP_MODULE_AV_ATRAC3PLUS        0x0302
00039 #define PSP_MODULE_AV_MPEGBASE          0x0303
00040 #define PSP_MODULE_AV_MP3                       0x0304
00041 #define PSP_MODULE_AV_VAUDIO            0x0305
00042 #define PSP_MODULE_AV_AAC                       0x0306
00043 #define PSP_MODULE_AV_G729                      0x0307
00044 
00045 /* NP */
00046 #define PSP_MODULE_NP_COMMON            0x0400
00047 #define PSP_MODULE_NP_SERVICE           0x0401
00048 #define PSP_MODULE_NP_MATCHING2         0x0402
00049 
00050 #define PSP_MODULE_NP_DRM                       0x0500
00051 
00052 /* IrDA */
00053 #define PSP_MODULE_IRDA                         0x0600
00054 
00055 
00063 int sceUtilityLoadModule(int module);
00064 
00072 int sceUtilityUnloadModule(int module);
00073 
00074 #ifdef __cplusplus
00075 }
00076 #endif
00077 
00078 #endif