mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-30 16:45:36 +03:00
6b21c32d2a
CW-Bug-Id: #22729
276 lines
12 KiB
C
276 lines
12 KiB
C
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params
|
|
{
|
|
void *linux_side;
|
|
HSteamListenSocket _ret;
|
|
const SteamNetworkingIPAddr *localAddress;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketIP_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params
|
|
{
|
|
void *linux_side;
|
|
HSteamNetConnection _ret;
|
|
const SteamNetworkingIPAddr *address;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectByIPAddress_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params
|
|
{
|
|
void *linux_side;
|
|
HSteamListenSocket _ret;
|
|
int nVirtualPort;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateListenSocketP2P_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params
|
|
{
|
|
void *linux_side;
|
|
HSteamNetConnection _ret;
|
|
const SteamNetworkingIdentity *identityRemote;
|
|
int nVirtualPort;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectP2P_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params
|
|
{
|
|
void *linux_side;
|
|
EResult _ret;
|
|
HSteamNetConnection hConn;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_AcceptConnection_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
HSteamNetConnection hPeer;
|
|
int nReason;
|
|
const char *pszDebug;
|
|
bool bEnableLinger;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseConnection_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
HSteamListenSocket hSocket;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CloseListenSocket_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
HSteamNetConnection hPeer;
|
|
int64 nUserData;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionUserData_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params
|
|
{
|
|
void *linux_side;
|
|
int64 _ret;
|
|
HSteamNetConnection hPeer;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionUserData_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params
|
|
{
|
|
void *linux_side;
|
|
HSteamNetConnection hPeer;
|
|
const char *pszName;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SetConnectionName_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
HSteamNetConnection hPeer;
|
|
char *pszName;
|
|
int nMaxLen;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionName_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params
|
|
{
|
|
void *linux_side;
|
|
EResult _ret;
|
|
HSteamNetConnection hConn;
|
|
const void *pData;
|
|
uint32 cbData;
|
|
int nSendFlags;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_SendMessageToConnection_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params
|
|
{
|
|
void *linux_side;
|
|
EResult _ret;
|
|
HSteamNetConnection hConn;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FlushMessagesOnConnection_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params
|
|
{
|
|
void *linux_side;
|
|
int _ret;
|
|
HSteamNetConnection hConn;
|
|
winSteamNetworkingMessage_t_146 **ppOutMessages;
|
|
int nMaxMessages;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnConnection_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params
|
|
{
|
|
void *linux_side;
|
|
int _ret;
|
|
HSteamListenSocket hSocket;
|
|
winSteamNetworkingMessage_t_146 **ppOutMessages;
|
|
int nMaxMessages;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceiveMessagesOnListenSocket_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
HSteamNetConnection hConn;
|
|
SteamNetConnectionInfo_t *pInfo;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetConnectionInfo_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
HSteamNetConnection hConn;
|
|
SteamNetworkingQuickConnectionStatus *pStats;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetQuickConnectionStatus_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params
|
|
{
|
|
void *linux_side;
|
|
int _ret;
|
|
HSteamNetConnection hConn;
|
|
char *pszBuf;
|
|
int cbBuf;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetDetailedConnectionStatus_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
HSteamListenSocket hSocket;
|
|
SteamNetworkingIPAddr *address;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetListenSocketAddress_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
HSteamNetConnection *pOutConnection1;
|
|
HSteamNetConnection *pOutConnection2;
|
|
bool bUseNetworkLoopback;
|
|
const SteamNetworkingIdentity *pIdentity1;
|
|
const SteamNetworkingIdentity *pIdentity2;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateSocketPair_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
SteamNetworkingIdentity *pIdentity;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetIdentity_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params
|
|
{
|
|
void *linux_side;
|
|
ESteamNetworkingAvailability _ret;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_InitAuthentication_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params
|
|
{
|
|
void *linux_side;
|
|
ESteamNetworkingAvailability _ret;
|
|
SteamNetAuthenticationStatus_t *pDetails;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetAuthenticationStatus_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params
|
|
{
|
|
void *linux_side;
|
|
bool _ret;
|
|
const void *pvTicket;
|
|
int cbTicket;
|
|
SteamDatagramRelayAuthTicket *pOutParsedTicket;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ReceivedRelayAuthTicket_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params
|
|
{
|
|
void *linux_side;
|
|
int _ret;
|
|
const SteamNetworkingIdentity *identityGameServer;
|
|
int nVirtualPort;
|
|
SteamDatagramRelayAuthTicket *pOutParsedTicket;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_FindRelayAuthTicketForServer_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params
|
|
{
|
|
void *linux_side;
|
|
HSteamNetConnection _ret;
|
|
const SteamNetworkingIdentity *identityTarget;
|
|
int nVirtualPort;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_ConnectToHostedDedicatedServer_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params
|
|
{
|
|
void *linux_side;
|
|
uint16 _ret;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPort_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params
|
|
{
|
|
void *linux_side;
|
|
SteamNetworkingPOPID _ret;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerPOPID_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params
|
|
{
|
|
void *linux_side;
|
|
EResult _ret;
|
|
SteamDatagramHostedAddress *pRouting;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetHostedDedicatedServerAddress_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params
|
|
{
|
|
void *linux_side;
|
|
HSteamListenSocket _ret;
|
|
int nVirtualPort;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_CreateHostedDedicatedServerListenSocket_params *params );
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params
|
|
{
|
|
void *linux_side;
|
|
EResult _ret;
|
|
SteamDatagramGameCoordinatorServerLogin *pLoginInfo;
|
|
int *pcbSignedBlob;
|
|
void *pBlob;
|
|
};
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin( struct cppISteamNetworkingSockets_SteamNetworkingSockets004_GetGameCoordinatorServerLogin_params *params );
|
|
|