Proton/lsteamclient/cppISteamNetworkingSockets_SteamNetworkingSockets012.h
2024-02-15 15:53:25 +02:00

433 lines
18 KiB
C

struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params
{
void *linux_side;
HSteamListenSocket _ret;
const SteamNetworkingIPAddr *localAddress;
int nOptions;
const SteamNetworkingConfigValue_t *pOptions;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params
{
void *linux_side;
HSteamNetConnection _ret;
const SteamNetworkingIPAddr *address;
int nOptions;
const SteamNetworkingConfigValue_t *pOptions;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params
{
void *linux_side;
HSteamListenSocket _ret;
int nLocalVirtualPort;
int nOptions;
const SteamNetworkingConfigValue_t *pOptions;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params
{
void *linux_side;
HSteamNetConnection _ret;
const SteamNetworkingIdentity *identityRemote;
int nRemoteVirtualPort;
int nOptions;
const SteamNetworkingConfigValue_t *pOptions;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params
{
void *linux_side;
EResult _ret;
HSteamNetConnection hConn;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params
{
void *linux_side;
bool _ret;
HSteamNetConnection hPeer;
int nReason;
const char *pszDebug;
bool bEnableLinger;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params
{
void *linux_side;
bool _ret;
HSteamListenSocket hSocket;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params
{
void *linux_side;
bool _ret;
HSteamNetConnection hPeer;
int64 nUserData;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params
{
void *linux_side;
int64 _ret;
HSteamNetConnection hPeer;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params
{
void *linux_side;
HSteamNetConnection hPeer;
const char *pszName;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params
{
void *linux_side;
bool _ret;
HSteamNetConnection hPeer;
char *pszName;
int nMaxLen;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params
{
void *linux_side;
EResult _ret;
HSteamNetConnection hConn;
const void *pData;
uint32 cbData;
int nSendFlags;
int64 *pOutMessageNumber;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnection_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params
{
void *linux_side;
int nMessages;
winSteamNetworkingMessage_t_158 *const *pMessages;
int64 *pOutMessageNumberOrResult;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessages_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params
{
void *linux_side;
EResult _ret;
HSteamNetConnection hConn;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params
{
void *linux_side;
int _ret;
HSteamNetConnection hConn;
winSteamNetworkingMessage_t_158 **ppOutMessages;
int nMaxMessages;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnConnection_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params
{
void *linux_side;
bool _ret;
HSteamNetConnection hConn;
SteamNetConnectionInfo_t *pInfo;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params
{
void *linux_side;
EResult _ret;
HSteamNetConnection hConn;
SteamNetConnectionRealTimeStatus_t *pStatus;
int nLanes;
SteamNetConnectionRealTimeLaneStatus_t *pLanes;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTimeStatus_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params
{
void *linux_side;
int _ret;
HSteamNetConnection hConn;
char *pszBuf;
int cbBuf;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectionStatus_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params
{
void *linux_side;
bool _ret;
HSteamListenSocket hSocket;
SteamNetworkingIPAddr *address;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params
{
void *linux_side;
bool _ret;
HSteamNetConnection *pOutConnection1;
HSteamNetConnection *pOutConnection2;
bool bUseNetworkLoopback;
const SteamNetworkingIdentity *pIdentity1;
const SteamNetworkingIdentity *pIdentity2;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params
{
void *linux_side;
EResult _ret;
HSteamNetConnection hConn;
int nNumLanes;
const int *pLanePriorities;
const uint16 *pLaneWeights;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionLanes_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params
{
void *linux_side;
bool _ret;
SteamNetworkingIdentity *pIdentity;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetIdentity_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params
{
void *linux_side;
ESteamNetworkingAvailability _ret;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_InitAuthentication_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params
{
void *linux_side;
ESteamNetworkingAvailability _ret;
SteamNetAuthenticationStatus_t *pDetails;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticationStatus_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params
{
void *linux_side;
HSteamNetPollGroup _ret;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params
{
void *linux_side;
bool _ret;
HSteamNetPollGroup hPollGroup;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params
{
void *linux_side;
bool _ret;
HSteamNetConnection hConn;
HSteamNetPollGroup hPollGroup;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params
{
void *linux_side;
int _ret;
HSteamNetPollGroup hPollGroup;
winSteamNetworkingMessage_t_158 **ppOutMessages;
int nMaxMessages;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPollGroup_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params
{
void *linux_side;
bool _ret;
const void *pvTicket;
int cbTicket;
SteamDatagramRelayAuthTicket *pOutParsedTicket;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedRelayAuthTicket_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params
{
void *linux_side;
int _ret;
const SteamNetworkingIdentity *identityGameServer;
int nRemoteVirtualPort;
SteamDatagramRelayAuthTicket *pOutParsedTicket;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTicketForServer_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params
{
void *linux_side;
HSteamNetConnection _ret;
const SteamNetworkingIdentity *identityTarget;
int nRemoteVirtualPort;
int nOptions;
const SteamNetworkingConfigValue_t *pOptions;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params
{
void *linux_side;
uint16 _ret;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPort_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params
{
void *linux_side;
SteamNetworkingPOPID _ret;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params
{
void *linux_side;
EResult _ret;
SteamDatagramHostedAddress *pRouting;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerAddress_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params
{
void *linux_side;
HSteamListenSocket _ret;
int nLocalVirtualPort;
int nOptions;
const SteamNetworkingConfigValue_t *pOptions;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params
{
void *linux_side;
EResult _ret;
SteamDatagramGameCoordinatorServerLogin *pLoginInfo;
int *pcbSignedBlob;
void *pBlob;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordinatorServerLogin_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params
{
void *linux_side;
HSteamNetConnection _ret;
void /*ISteamNetworkingConnectionSignaling*/ *pSignaling;
const SteamNetworkingIdentity *pPeerIdentity;
int nRemoteVirtualPort;
int nOptions;
const SteamNetworkingConfigValue_t *pOptions;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params
{
void *linux_side;
bool _ret;
const void *pMsg;
int cbMsg;
void /*ISteamNetworkingSignalingRecvContext*/ *pContext;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceivedP2PCustomSignal_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params
{
void *linux_side;
bool _ret;
int *pcbBlob;
void *pBlob;
SteamNetworkingErrMsg *errMsg;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params
{
void *linux_side;
bool _ret;
const void *pCertificate;
int cbCertificate;
SteamNetworkingErrMsg *errMsg;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params
{
void *linux_side;
const SteamNetworkingIdentity *pIdentity;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ResetIdentity_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params
{
void *linux_side;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_RunCallbacks_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params
{
void *linux_side;
bool _ret;
int nNumPorts;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_BeginAsyncRequestFakeIP_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params
{
void *linux_side;
int idxFirstPort;
SteamNetworkingFakeIPResult_t *pInfo;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params
{
void *linux_side;
HSteamListenSocket _ret;
int idxFakePort;
int nOptions;
const SteamNetworkingConfigValue_t *pOptions;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params
{
void *linux_side;
EResult _ret;
HSteamNetConnection hConn;
SteamNetworkingIPAddr *pOutAddr;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params
{
void *linux_side;
void /*ISteamNetworkingFakeUDPPort*/ *_ret;
int idxFakeServerPort;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateFakeUDPPort_params *params );