psputility_netconf.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_netconf.h - Definitions and Functions for Network Configuration 
00007  *                         section of the pspUtility library
00008  *
00009  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
00010  *
00011  * $Id: psputility_netconf.h 2272 2007-07-21 04:41:59Z oopo $
00012  */
00013 #ifndef __PSPUTILITY_NETCONF_H__
00014 #define __PSPUTILITY_NETCONF_H__
00015 
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019 
00020 #include <psptypes.h>
00021 
00022 enum pspUtilityNetconfActions {
00023         PSP_NETCONF_ACTION_CONNECTAP,
00024         PSP_NETCONF_ACTION_DISPLAYSTATUS,
00025         PSP_NETCONF_ACTION_CONNECT_ADHOC
00026 };
00027 
00028 enum pspUtilityNetconfStatus {
00029         PSP_NETCONF_STATUS_NONE,
00030         PSP_NETCONF_STATUS_INIT,
00031         PSP_NETCONF_STATUS_RUNNING,
00032         PSP_NETCONF_STATUS_FINISHED,
00033         PSP_NETCONF_STATUS_SHUTDOWN
00034 };
00035 
00036 typedef struct _pspUtilityNetconfData {
00037         u32 size;
00038         int language;
00039         int buttonSwap;
00040         int graphicsThread; // graphics thread priority
00041         int unknown; // some other thread priority?
00042         int fontThread; // font (?) thread priority (ScePafThread)
00043         int soundThread; // sound thread priority
00044         int result;
00045         int unknown2[4];
00046         int action; //one of pspUtilityNetconfActions
00047         u32 unknown3;
00048 } pspUtilityNetconfData;
00049 
00056 int sceUtilityNetconfInitStart (pspUtilityNetconfData *data);
00057 
00063 int sceUtilityNetconfShutdownStart (void);
00064 
00071 int sceUtilityNetconfUpdate (int unknown);
00072 
00078 int sceUtilityNetconfGetStatus (void);
00079 
00080 #ifdef __cplusplus
00081 }
00082 #endif
00083 
00084 #endif

Generated on Tue Jul 24 15:21:23 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2