mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 23:25:50 +03:00
838d14d66e
CW-Bug-Id: #22729
216 lines
14 KiB
C++
216 lines
14 KiB
C++
/* This file is auto-generated, do not edit. */
|
|
#include "unix_private.h"
|
|
|
|
#if 0
|
|
#pragma makedep unix
|
|
#endif
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->CreateListenSocketIP( params->localAddress );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->ConnectByIPAddress( params->address );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->CreateListenSocketP2P( params->nVirtualPort );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->ConnectP2P( params->identityRemote, params->nVirtualPort );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->AcceptConnection( params->hConn );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->CloseConnection( params->hPeer, params->nReason, params->pszDebug, params->bEnableLinger );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->CloseListenSocket( params->hSocket );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->SetConnectionUserData( params->hPeer, params->nUserData );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetConnectionUserData( params->hPeer );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
iface->SetConnectionName( params->hPeer, params->pszName );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetConnectionName( params->hPeer, params->pszName, params->nMaxLen );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->SendMessageToConnection( params->hConn, params->pData, params->cbData, params->nSendFlags );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->FlushMessagesOnConnection( params->hConn );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetConnectionInfo( params->hConn, params->pInfo );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetQuickConnectionStatus( params->hConn, params->pStats );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetDetailedConnectionStatus( params->hConn, params->pszBuf, params->cbBuf );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetListenSocketAddress( params->hSocket, params->address );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->CreateSocketPair( params->pOutConnection1, params->pOutConnection2, params->bUseNetworkLoopback, params->pIdentity1, params->pIdentity2 );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetIdentity( params->pIdentity );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->ReceivedRelayAuthTicket( params->pvTicket, params->cbTicket, params->pOutParsedTicket );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->FindRelayAuthTicketForServer( params->identityGameServer, params->nVirtualPort, params->pOutParsedTicket );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->ConnectToHostedDedicatedServer( params->identityTarget, params->nVirtualPort );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetHostedDedicatedServerPort( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetHostedDedicatedServerPOPID( );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->GetHostedDedicatedServerAddress( params->pRouting );
|
|
return 0;
|
|
}
|
|
|
|
NTSTATUS ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket( void *args )
|
|
{
|
|
struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params *params = (struct ISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params *)args;
|
|
struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *iface = (struct u_ISteamNetworkingSockets_SteamNetworkingSockets002 *)params->linux_side;
|
|
params->_ret = iface->CreateHostedDedicatedServerListenSocket( params->nVirtualPort );
|
|
return 0;
|
|
}
|
|
|