vitasdk
Documentation of the vitasdk

Detailed Description

Exports for User.


Using this library in your project

Include the header file in your project:


Link the library to the executable:

ScePspnetAdhoc_stub



Functions

 VITASDK_BUILD_ASSERT_EQ (0x10, SceNetAdhocctlAdhocId)
 
 VITASDK_BUILD_ASSERT_EQ (8, SceNetAdhocctlGroupName)
 
 VITASDK_BUILD_ASSERT_EQ (0x80, SceNetAdhocctlNickname)
 
 VITASDK_BUILD_ASSERT_EQ (0x98, SceNetAdhocctlPeerInfo)
 
 VITASDK_BUILD_ASSERT_EQ (8, SceNetAdhocctlBSSId)
 
 VITASDK_BUILD_ASSERT_EQ (0x94, SceNetAdhocctlParameter)
 
int sceNetAdhocctlInit (const struct SceNetAdhocctlAdhocId *adhocId)
 
int sceNetAdhocctlTerm (void)
 
int sceNetAdhocctlGetAdhocId (struct SceNetAdhocctlAdhocId *adhocId)
 
int sceNetAdhocctlGetPeerList (int *buflen, void *buf)
 
int sceNetAdhocctlGetPeerInfo (const struct SceNetEtherAddr *addr, int size, struct SceNetAdhocctlPeerInfo *peerInfo)
 
int sceNetAdhocctlGetAddrByName (const struct SceNetAdhocctlNickname *nickname, int *buflen, void *buf)
 
int sceNetAdhocctlGetNameByAddr (const struct SceNetEtherAddr *addr, struct SceNetAdhocctlNickname *nickname)
 
int sceNetAdhocctlGetParameter (struct SceNetAdhocctlParameter *parameter)
 
int sceNetAdhocctlGetEtherAddr (struct SceNetEtherAddr *addr)
 

Macros

#define SCE_NET_ADHOCCTL_ADHOCID_LEN   9
 
#define SCE_NET_ADHOCCTL_GROUPNAME_LEN   8
 
#define SCE_NET_ADHOCCTL_NICKNAME_LEN   128
 
#define SCE_NET_ADHOCCTL_BSSID_LEN   6
 

Data Structure Documentation

◆ SceNetAdhocctlAdhocId

struct SceNetAdhocctlAdhocId
Data Fields
int type
SceChar8 data[SCE_NET_ADHOCCTL_ADHOCID_LEN]
SceUChar8 padding[3]

◆ SceNetAdhocctlGroupName

struct SceNetAdhocctlGroupName

◆ SceNetAdhocctlNickname

struct SceNetAdhocctlNickname

◆ SceNetAdhocctlPeerInfo

struct SceNetAdhocctlPeerInfo
Data Fields
struct SceNetAdhocctlPeerInfo * next
struct SceNetAdhocctlNickname nickname
struct SceNetEtherAddr macAddr
SceUChar8 padding[6]
SceUInt64 lastRecv

◆ SceNetAdhocctlBSSId

struct SceNetAdhocctlBSSId
Data Fields
SceUChar8 data[SCE_NET_ADHOCCTL_BSSID_LEN]
SceUChar8 padding[2]

◆ SceNetAdhocctlParameter

struct SceNetAdhocctlParameter
Data Fields
int channel
struct SceNetAdhocctlGroupName groupName
struct SceNetAdhocctlNickname nickname
struct SceNetAdhocctlBSSId bssid

Macro Definition Documentation

◆ SCE_NET_ADHOCCTL_ADHOCID_LEN

#define SCE_NET_ADHOCCTL_ADHOCID_LEN   9

◆ SCE_NET_ADHOCCTL_GROUPNAME_LEN

#define SCE_NET_ADHOCCTL_GROUPNAME_LEN   8

◆ SCE_NET_ADHOCCTL_NICKNAME_LEN

#define SCE_NET_ADHOCCTL_NICKNAME_LEN   128

◆ SCE_NET_ADHOCCTL_BSSID_LEN

#define SCE_NET_ADHOCCTL_BSSID_LEN   6

Enumeration Type Documentation

◆ ScePspnetAdhocctlErrorCode

Enumerator
SCE_ERROR_NET_ADHOCCTL_INVALID_ARG 
SCE_ERROR_NET_ADHOCCTL_ALREADY_INITIALIZED 
SCE_ERROR_NET_ADHOCCTL_NOT_INITIALIZED 

◆ ScePspnetAdhocctlAdhocType

Enumerator
SCE_NET_ADHOCCTL_ADHOCTYPE_PRODUCT_ID 
SCE_NET_ADHOCCTL_ADHOCTYPE_RESERVED 
SCE_NET_ADHOCCTL_ADHOCTYPE_SYSTEM 

Function Documentation

◆ VITASDK_BUILD_ASSERT_EQ() [1/6]

VITASDK_BUILD_ASSERT_EQ ( 0x10  ,
SceNetAdhocctlAdhocId   
)

◆ VITASDK_BUILD_ASSERT_EQ() [2/6]

VITASDK_BUILD_ASSERT_EQ ( ,
SceNetAdhocctlGroupName   
)

◆ VITASDK_BUILD_ASSERT_EQ() [3/6]

VITASDK_BUILD_ASSERT_EQ ( 0x80  ,
SceNetAdhocctlNickname   
)

◆ VITASDK_BUILD_ASSERT_EQ() [4/6]

VITASDK_BUILD_ASSERT_EQ ( 0x98  ,
SceNetAdhocctlPeerInfo   
)

◆ VITASDK_BUILD_ASSERT_EQ() [5/6]

VITASDK_BUILD_ASSERT_EQ ( ,
SceNetAdhocctlBSSId   
)

◆ VITASDK_BUILD_ASSERT_EQ() [6/6]

VITASDK_BUILD_ASSERT_EQ ( 0x94  ,
SceNetAdhocctlParameter   
)

◆ sceNetAdhocctlInit()

int sceNetAdhocctlInit ( const struct SceNetAdhocctlAdhocId adhocId)

◆ sceNetAdhocctlTerm()

int sceNetAdhocctlTerm ( void  )

◆ sceNetAdhocctlGetAdhocId()

int sceNetAdhocctlGetAdhocId ( struct SceNetAdhocctlAdhocId adhocId)

◆ sceNetAdhocctlGetPeerList()

int sceNetAdhocctlGetPeerList ( int *  buflen,
void *  buf 
)

◆ sceNetAdhocctlGetPeerInfo()

int sceNetAdhocctlGetPeerInfo ( const struct SceNetEtherAddr addr,
int  size,
struct SceNetAdhocctlPeerInfo peerInfo 
)

◆ sceNetAdhocctlGetAddrByName()

int sceNetAdhocctlGetAddrByName ( const struct SceNetAdhocctlNickname nickname,
int *  buflen,
void *  buf 
)

◆ sceNetAdhocctlGetNameByAddr()

int sceNetAdhocctlGetNameByAddr ( const struct SceNetEtherAddr addr,
struct SceNetAdhocctlNickname nickname 
)

◆ sceNetAdhocctlGetParameter()

int sceNetAdhocctlGetParameter ( struct SceNetAdhocctlParameter parameter)

◆ sceNetAdhocctlGetEtherAddr()

int sceNetAdhocctlGetEtherAddr ( struct SceNetEtherAddr addr)