vitasdk
Documentation of the vitasdk
netcheck_dialog.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>
#include <psp2/common_dialog.h>
#include <psp2/pspnet_adhocctl.h>
#include <psp2/kernel/clib.h>
#include <psp2/net/net.h>

Go to the source code of this file.

Data Structures

struct  SceNpCommunicationId
 
struct  SceNetCheckDialogPS3ConnectParam
 
struct  SceNetCheckDialogAgeRestriction
 
struct  SceNetCheckDialogParam
 
struct  SceNetCheckDialogResult
 
struct  SceNetCheckDialogPS3ConnectInfo
 

Macros

#define SCE_NETCHECK_DIALOG_LEAST_HTTP_POOL_SIZE   (36 * 1024)
 
#define SCE_NETCHECK_DIALOG_LEAST_SSL_POOL_SIZE   (96 * 1024)
 
#define SCE_NETCHECK_DIALOG_INITIAL_AGE_RESTRICTION   (-1)
 
#define SCE_NETCHECK_DIALOG_COUNTRY_CODE_LEN   (2)
 
#define SCE_NETCHECK_DIALOG_AGE_RESTRICTION_COUNT_MAX   (200)
 

Enumerations

enum  SceNetCheckDialoErrorCode {
  SCE_NETCHECK_DIALOG_ERROR_PARAM = 0x80100C01 , SCE_NETCHECK_DIALOG_ERROR_INVALID_MODE = 0x80100C02 , SCE_NETCHECK_DIALOG_ERROR_LACK_OF_LIBHTTP_POOL_SIZE = 0x80100C03 , SCE_NETCHECK_DIALOG_ERROR_LACK_OF_LIBSSL_POOL_SIZE = 0x80100C04 ,
  SCE_NETCHECK_DIALOG_ERROR_LATEST_PATCH_PKG_EXIST = 0x80100C05 , SCE_NETCHECK_DIALOG_ERROR_SIGN_OUT = 0x80100C06 , SCE_NETCHECK_DIALOG_ERROR_INVALID_PSPADHOC_PARAM = 0x80100C07 , SCE_NETCHECK_DIALOG_ERROR_INVALID_TIMEOUT_PARAM = 0x80100C08 ,
  SCE_NETCHECK_DIALOG_ERROR_PSN_AGE_RESTRICTION = 0x80100C09
}
 
enum  SceNetCheckDialogMode {
  SCE_NETCHECK_DIALOG_MODE_INVALID = 0 , SCE_NETCHECK_DIALOG_MODE_ADHOC_CONN = 1 , SCE_NETCHECK_DIALOG_MODE_PSN = 2 , SCE_NETCHECK_DIALOG_MODE_PSN_ONLINE = 3 ,
  SCE_NETCHECK_DIALOG_MODE_PS3_CONNECT = 4 , SCE_NETCHECK_DIALOG_MODE_PSP_ADHOC_CONN = 5 , SCE_NETCHECK_DIALOG_MODE_PSP_ADHOC_CREATE = 6 , SCE_NETCHECK_DIALOG_MODE_PSP_ADHOC_JOIN = 7
}
 
enum  SceNetCheckDialogPS3ConnectAction { SCE_NETCHECK_DIALOG_PS3_CONNECT_ACTION_ENTER = 0 , SCE_NETCHECK_DIALOG_PS3_CONNECT_ACTION_LEAVE = 1 }
 

Functions

 VITASDK_BUILD_ASSERT_EQ (0xC, SceNpCommunicationId)
 
 VITASDK_BUILD_ASSERT_EQ (0x70, SceNetCheckDialogPS3ConnectParam)
 
 VITASDK_BUILD_ASSERT_EQ (4, SceNetCheckDialogAgeRestriction)
 
 VITASDK_BUILD_ASSERT_EQ (0xE0, SceNetCheckDialogParam)
 
 VITASDK_BUILD_ASSERT_EQ (0x84, SceNetCheckDialogResult)
 
 VITASDK_BUILD_ASSERT_EQ (0x90, SceNetCheckDialogPS3ConnectInfo)
 
SceInt32 sceNetCheckDialogInit (SceNetCheckDialogParam *param)
 
SceCommonDialogStatus sceNetCheckDialogGetStatus (void)
 
SceInt32 sceNetCheckDialogAbort (void)
 
SceInt32 sceNetCheckDialogGetResult (SceNetCheckDialogResult *result)
 
SceInt32 sceNetCheckDialogGetPS3ConnectInfo (SceNetCheckDialogPS3ConnectInfo *info)
 
SceInt32 sceNetCheckDialogTerm (void)