Proton/lsteamclient/cppISteamNetworking_SteamNetworking004.h

212 lines
7.0 KiB
C
Raw Normal View History

/* This file is auto-generated, do not edit. */
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
struct cppISteamNetworking_SteamNetworking004_SendP2PPacket_params
{
void *linux_side;
bool _ret;
CSteamID steamIDRemote;
const void *pubData;
uint32_t cubData;
uint32_t eP2PSendType;
int32_t nVirtualPort;
};
extern void cppISteamNetworking_SteamNetworking004_SendP2PPacket( struct cppISteamNetworking_SteamNetworking004_SendP2PPacket_params *params );
struct cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params
{
void *linux_side;
bool _ret;
uint32_t *pcubMsgSize;
int32_t nVirtualPort;
};
extern void cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking004_IsP2PPacketAvailable_params *params );
struct cppISteamNetworking_SteamNetworking004_ReadP2PPacket_params
{
void *linux_side;
bool _ret;
void *pubDest;
uint32_t cubDest;
uint32_t *pcubMsgSize;
CSteamID *psteamIDRemote;
int32_t nVirtualPort;
};
extern void cppISteamNetworking_SteamNetworking004_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking004_ReadP2PPacket_params *params );
struct cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params
{
void *linux_side;
bool _ret;
CSteamID steamIDRemote;
};
extern void cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking004_AcceptP2PSessionWithUser_params *params );
struct cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params
{
void *linux_side;
bool _ret;
CSteamID steamIDRemote;
};
extern void cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking004_CloseP2PSessionWithUser_params *params );
struct cppISteamNetworking_SteamNetworking004_GetP2PSessionState_params
{
void *linux_side;
bool _ret;
CSteamID steamIDRemote;
P2PSessionState_t *pConnectionState;
};
extern void cppISteamNetworking_SteamNetworking004_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking004_GetP2PSessionState_params *params );
struct cppISteamNetworking_SteamNetworking004_CreateListenSocket_params
{
void *linux_side;
uint32_t _ret;
int32_t nVirtualP2PPort;
uint32_t nIP;
uint16_t nPort;
bool bAllowUseOfPacketRelay;
};
extern void cppISteamNetworking_SteamNetworking004_CreateListenSocket( struct cppISteamNetworking_SteamNetworking004_CreateListenSocket_params *params );
struct cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params
{
void *linux_side;
uint32_t _ret;
CSteamID steamIDTarget;
int32_t nVirtualPort;
int32_t nTimeoutSec;
bool bAllowUseOfPacketRelay;
};
extern void cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking004_CreateP2PConnectionSocket_params *params );
struct cppISteamNetworking_SteamNetworking004_CreateConnectionSocket_params
{
void *linux_side;
uint32_t _ret;
uint32_t nIP;
uint16_t nPort;
int32_t nTimeoutSec;
};
extern void cppISteamNetworking_SteamNetworking004_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking004_CreateConnectionSocket_params *params );
struct cppISteamNetworking_SteamNetworking004_DestroySocket_params
{
void *linux_side;
bool _ret;
uint32_t hSocket;
bool bNotifyRemoteEnd;
};
extern void cppISteamNetworking_SteamNetworking004_DestroySocket( struct cppISteamNetworking_SteamNetworking004_DestroySocket_params *params );
struct cppISteamNetworking_SteamNetworking004_DestroyListenSocket_params
{
void *linux_side;
bool _ret;
uint32_t hSocket;
bool bNotifyRemoteEnd;
};
extern void cppISteamNetworking_SteamNetworking004_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking004_DestroyListenSocket_params *params );
struct cppISteamNetworking_SteamNetworking004_SendDataOnSocket_params
{
void *linux_side;
bool _ret;
uint32_t hSocket;
void *pubData;
uint32_t cubData;
bool bReliable;
};
extern void cppISteamNetworking_SteamNetworking004_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking004_SendDataOnSocket_params *params );
struct cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params
{
void *linux_side;
bool _ret;
uint32_t hSocket;
uint32_t *pcubMsgSize;
};
extern void cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking004_IsDataAvailableOnSocket_params *params );
struct cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params
{
void *linux_side;
bool _ret;
uint32_t hSocket;
void *pubDest;
uint32_t cubDest;
uint32_t *pcubMsgSize;
};
extern void cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking004_RetrieveDataFromSocket_params *params );
struct cppISteamNetworking_SteamNetworking004_IsDataAvailable_params
{
void *linux_side;
bool _ret;
uint32_t hListenSocket;
uint32_t *pcubMsgSize;
uint32_t *phSocket;
};
extern void cppISteamNetworking_SteamNetworking004_IsDataAvailable( struct cppISteamNetworking_SteamNetworking004_IsDataAvailable_params *params );
struct cppISteamNetworking_SteamNetworking004_RetrieveData_params
{
void *linux_side;
bool _ret;
uint32_t hListenSocket;
void *pubDest;
uint32_t cubDest;
uint32_t *pcubMsgSize;
uint32_t *phSocket;
};
extern void cppISteamNetworking_SteamNetworking004_RetrieveData( struct cppISteamNetworking_SteamNetworking004_RetrieveData_params *params );
struct cppISteamNetworking_SteamNetworking004_GetSocketInfo_params
{
void *linux_side;
bool _ret;
uint32_t hSocket;
CSteamID *pSteamIDRemote;
int32_t *peSocketStatus;
uint32_t *punIPRemote;
uint16_t *punPortRemote;
};
extern void cppISteamNetworking_SteamNetworking004_GetSocketInfo( struct cppISteamNetworking_SteamNetworking004_GetSocketInfo_params *params );
struct cppISteamNetworking_SteamNetworking004_GetListenSocketInfo_params
{
void *linux_side;
bool _ret;
uint32_t hListenSocket;
uint32_t *pnIP;
uint16_t *pnPort;
};
extern void cppISteamNetworking_SteamNetworking004_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking004_GetListenSocketInfo_params *params );
struct cppISteamNetworking_SteamNetworking004_GetSocketConnectionType_params
{
void *linux_side;
uint32_t _ret;
uint32_t hSocket;
};
extern void cppISteamNetworking_SteamNetworking004_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking004_GetSocketConnectionType_params *params );
struct cppISteamNetworking_SteamNetworking004_GetMaxPacketSize_params
{
void *linux_side;
int32_t _ret;
uint32_t hSocket;
};
extern void cppISteamNetworking_SteamNetworking004_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking004_GetMaxPacketSize_params *params );
#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */