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 cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t _ret;
|
2023-09-27 15:34:23 +03:00
|
|
|
const SteamNetworkingIPAddr *localAddress;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketIP_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t _ret;
|
2023-09-27 15:34:23 +03:00
|
|
|
const SteamNetworkingIPAddr *address;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectByIPAddress_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_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 nVirtualPort;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateListenSocketP2P_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t _ret;
|
2023-09-30 15:02:30 +03:00
|
|
|
const SteamNetworkingIdentity_144 *identityRemote;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nVirtualPort;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectP2P_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_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 hConn;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_AcceptConnection_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hPeer;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nReason;
|
2023-09-27 15:34:23 +03:00
|
|
|
const char *pszDebug;
|
|
|
|
bool bEnableLinger;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseConnection_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_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
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CloseListenSocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hPeer;
|
2023-09-14 15:53:26 +03:00
|
|
|
int64_t nUserData;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionUserData_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-14 15:53:26 +03:00
|
|
|
int64_t _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hPeer;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionUserData_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hPeer;
|
2023-09-27 15:34:23 +03:00
|
|
|
const char *pszName;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SetConnectionName_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hPeer;
|
2023-09-27 15:34:23 +03:00
|
|
|
char *pszName;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nMaxLen;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionName_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_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 hConn;
|
2023-09-27 15:34:23 +03:00
|
|
|
const void *pData;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint32_t cbData;
|
|
|
|
int32_t nSendFlags;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_SendMessageToConnection_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_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 hConn;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FlushMessagesOnConnection_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_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 hConn;
|
2023-09-30 15:02:30 +03:00
|
|
|
w_SteamNetworkingMessage_t_144 **ppOutMessages;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nMaxMessages;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnConnection_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_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-30 15:02:30 +03:00
|
|
|
w_SteamNetworkingMessage_t_144 **ppOutMessages;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nMaxMessages;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceiveMessagesOnListenSocket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hConn;
|
2023-09-30 15:02:30 +03:00
|
|
|
SteamNetConnectionInfo_t_144 *pInfo;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetConnectionInfo_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t hConn;
|
2023-09-27 15:34:23 +03:00
|
|
|
SteamNetworkingQuickConnectionStatus *pStats;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetQuickConnectionStatus_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_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 hConn;
|
2023-09-27 15:34:23 +03:00
|
|
|
char *pszBuf;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t cbBuf;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetDetailedConnectionStatus_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_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
|
|
|
SteamNetworkingIPAddr *address;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetListenSocketAddress_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t *pOutConnection1;
|
|
|
|
uint32_t *pOutConnection2;
|
2023-09-27 15:34:23 +03:00
|
|
|
bool bUseNetworkLoopback;
|
2023-09-30 15:02:30 +03:00
|
|
|
const SteamNetworkingIdentity_144 *pIdentity1;
|
|
|
|
const SteamNetworkingIdentity_144 *pIdentity2;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateSocketPair_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
2023-09-30 15:02:30 +03:00
|
|
|
SteamNetworkingIdentity_144 *pIdentity;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetIdentity_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
|
|
|
const void *pvTicket;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t cbTicket;
|
2023-09-27 15:34:23 +03:00
|
|
|
SteamDatagramRelayAuthTicket *pOutParsedTicket;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ReceivedRelayAuthTicket_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t _ret;
|
2023-09-30 15:02:30 +03:00
|
|
|
const SteamNetworkingIdentity_144 *identityGameServer;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nVirtualPort;
|
2023-09-27 15:34:23 +03:00
|
|
|
SteamDatagramRelayAuthTicket *pOutParsedTicket;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_FindRelayAuthTicketForServer_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t _ret;
|
2023-09-30 15:02:30 +03:00
|
|
|
const SteamNetworkingIdentity_144 *identityTarget;
|
2023-09-14 15:53:26 +03:00
|
|
|
int32_t nVirtualPort;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_ConnectToHostedDedicatedServer_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-14 15:53:26 +03:00
|
|
|
uint16_t _ret;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPort_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t _ret;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerPOPID_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params
|
|
|
|
{
|
|
|
|
void *linux_side;
|
|
|
|
bool _ret;
|
|
|
|
SteamDatagramHostedAddress *pRouting;
|
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_GetHostedDedicatedServerAddress_params *params );
|
|
|
|
|
|
|
|
struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_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 nVirtualPort;
|
2023-09-27 15:34:23 +03:00
|
|
|
};
|
|
|
|
extern void cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket( struct cppISteamNetworkingSockets_SteamNetworkingSockets002_CreateHostedDedicatedServerListenSocket_params *params );
|
|
|
|
|
2023-09-30 15:02:30 +03:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* __cplusplus */
|