pspsdk-1.0+beta2
psputility_netconf.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_netconf.h - Definitions and Functions for Network Configuration
7  * section of the pspUtility library
8  *
9  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
10  *
11  * $Id: psputility_netconf.h 2493 2010-02-19 02:04:00Z jim $
12  */
13 #ifndef __PSPUTILITY_NETCONF_H__
14 #define __PSPUTILITY_NETCONF_H__
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 #include <psptypes.h>
21 
23 {
27 #if _PSP_FW_VERSION >= 200
28  ,PSP_NETCONF_ACTION_CONNECTAP_LASTUSED
29 #endif
30 };
31 
33 {
34  unsigned char name[8];
35  unsigned int timeout;
36 };
37 
38 typedef struct _pspUtilityNetconfData
39 {
41  int action;
42  struct pspUtilityNetconfAdhoc *adhocparam; //* Adhoc connection params */
43  int hotspot;
45  int wifisp;
48 
56 
63 
70 int sceUtilityNetconfUpdate (int unknown);
71 
78 
79 #ifdef __cplusplus
80 }
81 #endif
82 
83 #endif