pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
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
22
enum
pspUtilityNetconfActions
23
{
24
PSP_NETCONF_ACTION_CONNECTAP
,
25
PSP_NETCONF_ACTION_DISPLAYSTATUS
,
26
PSP_NETCONF_ACTION_CONNECT_ADHOC
27
#if _PSP_FW_VERSION >= 200
28
,PSP_NETCONF_ACTION_CONNECTAP_LASTUSED
29
#endif
30
};
31
32
struct
pspUtilityNetconfAdhoc
33
{
34
unsigned
char
name
[8];
35
unsigned
int
timeout
;
36
};
37
38
typedef
struct
_pspUtilityNetconfData
39
{
40
pspUtilityDialogCommon
base
;
41
int
action
;
42
struct
pspUtilityNetconfAdhoc
*
adhocparam
;
//* Adhoc connection params */
43
int
hotspot
;
44
int
hotspot_connected
;
45
int
wifisp
;
47
}
pspUtilityNetconfData
;
48
55
int
sceUtilityNetconfInitStart
(
pspUtilityNetconfData
*data);
56
62
int
sceUtilityNetconfShutdownStart
(
void
);
63
70
int
sceUtilityNetconfUpdate
(
int
unknown);
71
77
int
sceUtilityNetconfGetStatus
(
void
);
78
79
#ifdef __cplusplus
80
}
81
#endif
82
83
#endif
src
utility
psputility_netconf.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2