lsteamclient: Get rid of the remaining steam typedefs.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-19 19:59:23 +02:00 committed by Arkadiusz Hiler
parent aaf9ba6e56
commit a5fe4d774b
204 changed files with 7396 additions and 7395 deletions

View file

@ -1,7 +1,7 @@
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketIP_params
{
void *linux_side;
HSteamListenSocket _ret;
uint32_t _ret;
const SteamNetworkingIPAddr *localAddress;
int32_t nOptions;
const SteamNetworkingConfigValue_t *pOptions;
@ -11,7 +11,7 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSoc
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddress_params
{
void *linux_side;
HSteamNetConnection _ret;
uint32_t _ret;
const SteamNetworkingIPAddr *address;
int32_t nOptions;
const SteamNetworkingConfigValue_t *pOptions;
@ -21,7 +21,7 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectByIPAddr
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2P_params
{
void *linux_side;
HSteamListenSocket _ret;
uint32_t _ret;
int32_t nLocalVirtualPort;
int32_t nOptions;
const SteamNetworkingConfigValue_t *pOptions;
@ -31,7 +31,7 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSoc
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2P_params
{
void *linux_side;
HSteamNetConnection _ret;
uint32_t _ret;
const SteamNetworkingIdentity *identityRemote;
int32_t nRemoteVirtualPort;
int32_t nOptions;
@ -43,7 +43,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_par
{
void *linux_side;
uint32_t _ret;
HSteamNetConnection hConn;
uint32_t hConn;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_AcceptConnection_params *params );
@ -51,7 +51,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseConnection_para
{
void *linux_side;
bool _ret;
HSteamNetConnection hPeer;
uint32_t hPeer;
int32_t nReason;
const char *pszDebug;
bool bEnableLinger;
@ -62,7 +62,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_pa
{
void *linux_side;
bool _ret;
HSteamListenSocket hSocket;
uint32_t hSocket;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CloseListenSocket_params *params );
@ -70,7 +70,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserDat
{
void *linux_side;
bool _ret;
HSteamNetConnection hPeer;
uint32_t hPeer;
int64_t nUserData;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionUserData_params *params );
@ -79,14 +79,14 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserDat
{
void *linux_side;
int64_t _ret;
HSteamNetConnection hPeer;
uint32_t hPeer;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionUserData_params *params );
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params
{
void *linux_side;
HSteamNetConnection hPeer;
uint32_t hPeer;
const char *pszName;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionName_params *params );
@ -95,7 +95,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionName_pa
{
void *linux_side;
bool _ret;
HSteamNetConnection hPeer;
uint32_t hPeer;
char *pszName;
int32_t nMaxLen;
};
@ -105,7 +105,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SendMessageToConnect
{
void *linux_side;
uint32_t _ret;
HSteamNetConnection hConn;
uint32_t hConn;
const void *pData;
uint32_t cbData;
int32_t nSendFlags;
@ -126,7 +126,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConne
{
void *linux_side;
uint32_t _ret;
HSteamNetConnection hConn;
uint32_t hConn;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_FlushMessagesOnConnection_params *params );
@ -134,7 +134,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnCon
{
void *linux_side;
int32_t _ret;
HSteamNetConnection hConn;
uint32_t hConn;
winSteamNetworkingMessage_t_158 **ppOutMessages;
int32_t nMaxMessages;
};
@ -144,7 +144,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_pa
{
void *linux_side;
bool _ret;
HSteamNetConnection hConn;
uint32_t hConn;
SteamNetConnectionInfo_t *pInfo;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionInfo_params *params );
@ -153,7 +153,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetConnectionRealTim
{
void *linux_side;
uint32_t _ret;
HSteamNetConnection hConn;
uint32_t hConn;
SteamNetConnectionRealTimeStatus_t *pStatus;
int32_t nLanes;
SteamNetConnectionRealTimeLaneStatus_t *pLanes;
@ -164,7 +164,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetDetailedConnectio
{
void *linux_side;
int32_t _ret;
HSteamNetConnection hConn;
uint32_t hConn;
char *pszBuf;
int32_t cbBuf;
};
@ -174,7 +174,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddre
{
void *linux_side;
bool _ret;
HSteamListenSocket hSocket;
uint32_t hSocket;
SteamNetworkingIPAddr *address;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetListenSocketAddress_params *params );
@ -183,8 +183,8 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateSocketPair_par
{
void *linux_side;
bool _ret;
HSteamNetConnection *pOutConnection1;
HSteamNetConnection *pOutConnection2;
uint32_t *pOutConnection1;
uint32_t *pOutConnection2;
bool bUseNetworkLoopback;
const SteamNetworkingIdentity *pIdentity1;
const SteamNetworkingIdentity *pIdentity2;
@ -195,7 +195,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConfigureConnectionL
{
void *linux_side;
uint32_t _ret;
HSteamNetConnection hConn;
uint32_t hConn;
int32_t nNumLanes;
const int32_t *pLanePriorities;
const uint16_t *pLaneWeights;
@ -228,7 +228,7 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetAuthenticati
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params
{
void *linux_side;
HSteamNetPollGroup _ret;
uint32_t _ret;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreatePollGroup_params *params );
@ -236,7 +236,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_par
{
void *linux_side;
bool _ret;
HSteamNetPollGroup hPollGroup;
uint32_t hPollGroup;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_DestroyPollGroup_params *params );
@ -244,8 +244,8 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGro
{
void *linux_side;
bool _ret;
HSteamNetConnection hConn;
HSteamNetPollGroup hPollGroup;
uint32_t hConn;
uint32_t hPollGroup;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetConnectionPollGroup_params *params );
@ -253,7 +253,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ReceiveMessagesOnPol
{
void *linux_side;
int32_t _ret;
HSteamNetPollGroup hPollGroup;
uint32_t hPollGroup;
winSteamNetworkingMessage_t_158 **ppOutMessages;
int32_t nMaxMessages;
};
@ -282,7 +282,7 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_FindRelayAuthTi
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectToHostedDedicatedServer_params
{
void *linux_side;
HSteamNetConnection _ret;
uint32_t _ret;
const SteamNetworkingIdentity *identityTarget;
int32_t nRemoteVirtualPort;
int32_t nOptions;
@ -300,7 +300,7 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedica
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params
{
void *linux_side;
SteamNetworkingPOPID _ret;
uint32_t _ret;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedicatedServerPOPID_params *params );
@ -315,7 +315,7 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetHostedDedica
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateHostedDedicatedServerListenSocket_params
{
void *linux_side;
HSteamListenSocket _ret;
uint32_t _ret;
int32_t nLocalVirtualPort;
int32_t nOptions;
const SteamNetworkingConfigValue_t *pOptions;
@ -335,7 +335,7 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetGameCoordina
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_ConnectP2PCustomSignaling_params
{
void *linux_side;
HSteamNetConnection _ret;
uint32_t _ret;
void /*ISteamNetworkingConnectionSignaling*/ *pSignaling;
const SteamNetworkingIdentity *pPeerIdentity;
int32_t nRemoteVirtualPort;
@ -360,7 +360,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateReques
bool _ret;
int32_t *pcbBlob;
void *pBlob;
SteamNetworkingErrMsg *errMsg;
char (*errMsg)[1024];
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetCertificateRequest_params *params );
@ -370,7 +370,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_param
bool _ret;
const void *pCertificate;
int32_t cbCertificate;
SteamNetworkingErrMsg *errMsg;
char (*errMsg)[1024];
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_SetCertificate_params *params );
@ -406,7 +406,7 @@ extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetFakeIP( stru
struct cppISteamNetworkingSockets_SteamNetworkingSockets012_CreateListenSocketP2PFakeIP_params
{
void *linux_side;
HSteamListenSocket _ret;
uint32_t _ret;
int32_t idxFakePort;
int32_t nOptions;
const SteamNetworkingConfigValue_t *pOptions;
@ -417,7 +417,7 @@ struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForCo
{
void *linux_side;
uint32_t _ret;
HSteamNetConnection hConn;
uint32_t hConn;
SteamNetworkingIPAddr *pOutAddr;
};
extern void cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets012_GetRemoteFakeIPForConnection_params *params );