psputility_netparam.h File Reference

#include <psptypes.h>

Go to the source code of this file.

Data Structures

union  netData
 Datatype for sceUtilityGetNetParam since it can return a u32 or a string we use a union to avoid ugly casting. More...

Defines

#define PSP_NETPARAM_NAME   0
#define PSP_NETPARAM_SSID   1
#define PSP_NETPARAM_SECURE   2
#define PSP_NETPARAM_WEPKEY   3
#define PSP_NETPARAM_IS_STATIC_IP   4
#define PSP_NETPARAM_IP   5
#define PSP_NETPARAM_NETMASK   6
#define PSP_NETPARAM_ROUTE   7
#define PSP_NETPARAM_MANUAL_DNS   8
#define PSP_NETPARAM_PRIMARYDNS   9
#define PSP_NETPARAM_SECONDARYDNS   10
#define PSP_NETPARAM_PROXY_USER   11
#define PSP_NETPARAM_PROXY_PASS   12
#define PSP_NETPARAM_USE_PROXY   13
#define PSP_NETPARAM_PROXY_SERVER   14
#define PSP_NETPARAM_PROXY_PORT   15
#define PSP_NETPARAM_UNKNOWN1   16
#define PSP_NETPARAM_UNKNOWN2   17
#define PSP_NETPARAM_ERROR_BAD_NETCONF   0x80110601
#define PSP_NETPARAM_ERROR_BAD_PARAM   0x80110604

Functions

int sceUtilityCheckNetParam (int id)
 Check existance of a Net Configuration.
int sceUtilityGetNetParam (int conf, int param, netData *data)
 Get Net Configuration Parameter.
int sceUtilityCreateNetParam (int conf)
 Create a new Network Configuration.
int sceUtilitySetNetParam (int param, const void *val)
 Sets a network parameter.
int sceUtilityCopyNetParam (int src, int dest)
 Copies a Network Configuration to another.
int sceUtilityDeleteNetParam (int conf)
 Deletes a Network Configuration.


Define Documentation

#define PSP_NETPARAM_ERROR_BAD_NETCONF   0x80110601

#define PSP_NETPARAM_ERROR_BAD_PARAM   0x80110604

#define PSP_NETPARAM_IP   5

#define PSP_NETPARAM_IS_STATIC_IP   4

#define PSP_NETPARAM_MANUAL_DNS   8

#define PSP_NETPARAM_NAME   0

#define PSP_NETPARAM_NETMASK   6

#define PSP_NETPARAM_PRIMARYDNS   9

#define PSP_NETPARAM_PROXY_PASS   12

#define PSP_NETPARAM_PROXY_PORT   15

#define PSP_NETPARAM_PROXY_SERVER   14

#define PSP_NETPARAM_PROXY_USER   11

#define PSP_NETPARAM_ROUTE   7

#define PSP_NETPARAM_SECONDARYDNS   10

#define PSP_NETPARAM_SECURE   2

#define PSP_NETPARAM_SSID   1

#define PSP_NETPARAM_UNKNOWN1   16

#define PSP_NETPARAM_UNKNOWN2   17

#define PSP_NETPARAM_USE_PROXY   13

#define PSP_NETPARAM_WEPKEY   3


Function Documentation

int sceUtilityCheckNetParam ( int  id  ) 

Check existance of a Net Configuration.

Parameters:
id - id of net Configuration (1 to n)
Returns:
0 on success,

int sceUtilityCopyNetParam ( int  src,
int  dest 
)

Copies a Network Configuration to another.

Parameters:
src - Source Net Configuration number (0 to n)
src - Destination Net Configuration number (0 to n)
Returns:
0 on success

int sceUtilityCreateNetParam ( int  conf  ) 

Create a new Network Configuration.

Note:
This creates a new configuration at conf and clears 0
Parameters:
conf - Net Configuration number (1 to n)
Returns:
0 on success

int sceUtilityDeleteNetParam ( int  conf  ) 

Deletes a Network Configuration.

Parameters:
conf - Net Configuration number (1 to n)
Returns:
0 on success

int sceUtilityGetNetParam ( int  conf,
int  param,
netData data 
)

Get Net Configuration Parameter.

Parameters:
conf - Net Configuration number (1 to n) (0 returns valid but seems to be a copy of the last config requested)
param - which parameter to get
data - parameter data
Returns:
0 on success,

int sceUtilitySetNetParam ( int  param,
const void *  val 
)

Sets a network parameter.

Note:
This sets only to configuration 0
Parameters:
param - Which parameter to set
val - Pointer to the the data to set
Returns:
0 on success


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