2023-09-30 15:02:30 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2023-09-27 15:34:23 +03:00
|
|
|
struct cppISteamNetworking_SteamNetworking005_SendP2PPacket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
|
|
|
CSteamID steamIDRemote;
|
|
|
|
const void *pubData;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t cubData;
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t eP2PSendType;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nChannel;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_SendP2PPacket( struct cppISteamNetworking_SteamNetworking005_SendP2PPacket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t *pcubMsgSize;
|
|
|
|
int32_t nChannel;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable( struct cppISteamNetworking_SteamNetworking005_IsP2PPacketAvailable_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_ReadP2PPacket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
|
|
|
void *pubDest;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t cubDest;
|
|
|
|
uint32_t *pcubMsgSize;
|
2023-09-27 15:34:23 +03:00
|
|
|
CSteamID *psteamIDRemote;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nChannel;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_ReadP2PPacket( struct cppISteamNetworking_SteamNetworking005_ReadP2PPacket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
|
|
|
CSteamID steamIDRemote;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking005_AcceptP2PSessionWithUser_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
|
|
|
CSteamID steamIDRemote;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser( struct cppISteamNetworking_SteamNetworking005_CloseP2PSessionWithUser_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
|
|
|
CSteamID steamIDRemote;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nChannel;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser( struct cppISteamNetworking_SteamNetworking005_CloseP2PChannelWithUser_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_GetP2PSessionState_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
|
|
|
CSteamID steamIDRemote;
|
|
|
|
P2PSessionState_t *pConnectionState;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_GetP2PSessionState( struct cppISteamNetworking_SteamNetworking005_GetP2PSessionState_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
|
|
|
bool bAllow;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay( struct cppISteamNetworking_SteamNetworking005_AllowP2PPacketRelay_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_CreateListenSocket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t _ret;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nVirtualP2PPort;
|
|
|
|
uint32_t nIP;
|
|
|
|
uint16_t nPort;
|
2023-09-27 15:34:23 +03:00
|
|
|
bool bAllowUseOfPacketRelay;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_CreateListenSocket( struct cppISteamNetworking_SteamNetworking005_CreateListenSocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t _ret;
|
2023-09-27 15:34:23 +03:00
|
|
|
CSteamID steamIDTarget;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nVirtualPort;
|
|
|
|
int32_t nTimeoutSec;
|
2023-09-27 15:34:23 +03:00
|
|
|
bool bAllowUseOfPacketRelay;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket( struct cppISteamNetworking_SteamNetworking005_CreateP2PConnectionSocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_CreateConnectionSocket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t _ret;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t nIP;
|
|
|
|
uint16_t nPort;
|
|
|
|
int32_t nTimeoutSec;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_CreateConnectionSocket( struct cppISteamNetworking_SteamNetworking005_CreateConnectionSocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_DestroySocket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
bool bNotifyRemoteEnd;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_DestroySocket( struct cppISteamNetworking_SteamNetworking005_DestroySocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_DestroyListenSocket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
bool bNotifyRemoteEnd;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_DestroyListenSocket( struct cppISteamNetworking_SteamNetworking005_DestroyListenSocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_SendDataOnSocket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
void *pubData;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t cubData;
|
2023-09-27 15:34:23 +03:00
|
|
|
bool bReliable;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_SendDataOnSocket( struct cppISteamNetworking_SteamNetworking005_SendDataOnSocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hSocket;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t *pcubMsgSize;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket( struct cppISteamNetworking_SteamNetworking005_IsDataAvailableOnSocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
void *pubDest;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t cubDest;
|
|
|
|
uint32_t *pcubMsgSize;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket( struct cppISteamNetworking_SteamNetworking005_RetrieveDataFromSocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_IsDataAvailable_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hListenSocket;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t *pcubMsgSize;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t *phSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_IsDataAvailable( struct cppISteamNetworking_SteamNetworking005_IsDataAvailable_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_RetrieveData_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hListenSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
void *pubDest;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t cubDest;
|
|
|
|
uint32_t *pcubMsgSize;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t *phSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_RetrieveData( struct cppISteamNetworking_SteamNetworking005_RetrieveData_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_GetSocketInfo_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
CSteamID *pSteamIDRemote;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t *peSocketStatus;
|
|
|
|
uint32_t *punIPRemote;
|
|
|
|
uint16_t *punPortRemote;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_GetSocketInfo( struct cppISteamNetworking_SteamNetworking005_GetSocketInfo_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_GetListenSocketInfo_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hListenSocket;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t *pnIP;
|
|
|
|
uint16_t *pnPort;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_GetListenSocketInfo( struct cppISteamNetworking_SteamNetworking005_GetListenSocketInfo_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_GetSocketConnectionType_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-14 17:22:47 +03:00
|
|
|
uint32_t _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_GetSocketConnectionType( struct cppISteamNetworking_SteamNetworking005_GetSocketConnectionType_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworking_SteamNetworking005_GetMaxPacketSize_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hSocket;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworking_SteamNetworking005_GetMaxPacketSize( struct cppISteamNetworking_SteamNetworking005_GetMaxPacketSize_params *params );
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* __cplusplus */
|