pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
psputility_gamesharing.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_gamesharing.h - Game Sharing utility library
7
*
8
* Copyright (c) 2008 InsertWittyName <tias_dp@hotmail.com>
9
*
10
*/
11
#ifndef __PSPUTILITY_GAMESHARING_H__
12
#define __PSPUTILITY_GAMESHARING_H__
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
typedef
enum
19
{
20
PSP_UTILITY_GAMESHARING_MODE_SINGLE
= 1,
/* Single send */
21
PSP_UTILITY_GAMESHARING_MODE_MULTIPLE
= 2
/* Up to 4 simultaneous sends */
22
23
}
pspUtilityGameSharingMode
;
24
25
typedef
enum
26
{
27
PSP_UTILITY_GAMESHARING_DATA_TYPE_FILE
= 1,
/* EBOOT is a file */
28
PSP_UTILITY_GAMESHARING_DATA_TYPE_MEMORY
= 2,
/* EBOOT is in memory */
29
30
}
pspUtilityGameSharingDataType
;
31
35
typedef
struct
_pspUtilityGameSharingParams
36
{
37
pspUtilityDialogCommon
base
;
38
int
unknown1
;
/* Set to 0 */
39
int
unknown2
;
/* Set to 0 */
40
char
name
[8];
41
int
unknown3
;
/* Set to 0 */
42
int
unknown4
;
/* Set to 0 */
43
int
unknown5
;
/* Set to 0 */
44
int
result
;
/* Return value */
45
char
*
filepath
;
/* File path if PSP_UTILITY_GAMESHARING_DATA_TYPE_FILE specified */
46
pspUtilityGameSharingMode
mode
;
/* Send mode. One of ::pspUtilityGameSharingMode */
47
pspUtilityGameSharingDataType
datatype
;
/* Data type. One of ::pspUtilityGameSharingDataType */
48
void
*
data
;
/* Pointer to the EBOOT data in memory */
49
unsigned
int
datasize
;
/* Size of the EBOOT data in memory */
50
51
}
pspUtilityGameSharingParams
;
52
59
int
sceUtilityGameSharingInitStart
(
pspUtilityGameSharingParams
*params);
60
64
void
sceUtilityGameSharingShutdownStart
(
void
);
65
73
int
sceUtilityGameSharingGetStatus
(
void
);
74
80
void
sceUtilityGameSharingUpdate
(
int
n);
81
82
#ifdef __cplusplus
83
}
84
#endif
85
86
#endif
src
utility
psputility_gamesharing.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2