PSPSDK 2024-12-16
Loading...
Searching...
No Matches
psputility_gamesharing.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
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
15extern "C" {
16#endif
17
18typedef enum
19{
21 PSP_UTILITY_GAMESHARING_MODE_MULTIPLE = 2 /* Up to 4 simultaneous sends */
22
24
25typedef 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
31
36{
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
52
60
65
74
81
82#ifdef __cplusplus
83}
84#endif
85
86#endif
float x
Definition psptypes.h:0
int sceUtilityGameSharingGetStatus(void)
Get the current status of game sharing.
pspUtilityGameSharingDataType
Definition psputility_gamesharing.h:26
@ PSP_UTILITY_GAMESHARING_DATA_TYPE_FILE
Definition psputility_gamesharing.h:27
@ PSP_UTILITY_GAMESHARING_DATA_TYPE_MEMORY
Definition psputility_gamesharing.h:28
int sceUtilityGameSharingInitStart(pspUtilityGameSharingParams *params)
Init the game sharing.
pspUtilityGameSharingMode
Definition psputility_gamesharing.h:19
@ PSP_UTILITY_GAMESHARING_MODE_SINGLE
Definition psputility_gamesharing.h:20
@ PSP_UTILITY_GAMESHARING_MODE_MULTIPLE
Definition psputility_gamesharing.h:21
void sceUtilityGameSharingUpdate(int n)
Refresh the GUI for game sharing.
struct _pspUtilityGameSharingParams pspUtilityGameSharingParams
Structure to hold the parameters for Game Sharing.
void sceUtilityGameSharingShutdownStart(void)
Shutdown game sharing.
Structure to hold the parameters for Game Sharing.
Definition psputility_gamesharing.h:36
int unknown5
Definition psputility_gamesharing.h:43
int unknown3
Definition psputility_gamesharing.h:41
char name[8]
Definition psputility_gamesharing.h:40
pspUtilityDialogCommon base
Definition psputility_gamesharing.h:37
int unknown2
Definition psputility_gamesharing.h:39
unsigned int datasize
Definition psputility_gamesharing.h:49
char * filepath
Definition psputility_gamesharing.h:45
pspUtilityGameSharingDataType datatype
Definition psputility_gamesharing.h:47
pspUtilityGameSharingMode mode
Definition psputility_gamesharing.h:46
int result
Definition psputility_gamesharing.h:44
int unknown4
Definition psputility_gamesharing.h:42
void * data
Definition psputility_gamesharing.h:48
int unknown1
Definition psputility_gamesharing.h:38
Definition psputility.h:15