2018-01-18 19:24:05 +03:00
|
|
|
/* This file is auto-generated, do not edit. */
|
|
|
|
#include "steamclient_private.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(steamclient);
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest, 12)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody, 20)
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest(struct w_steam_iface *_this, uint32_t eHTTPRequestMethod, const char *pchAbsoluteURL)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eHTTPRequestMethod = eHTTPRequestMethod,
|
|
|
|
.pchAbsoluteURL = pchAbsoluteURL,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue(struct w_steam_iface *_this, uint32_t hRequest, uint64_t ulContextValue)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.ulContextValue = ulContextValue,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unTimeoutSeconds)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.unTimeoutSeconds = unTimeoutSeconds,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, const char *pchHeaderValue)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchHeaderName = pchHeaderName,
|
|
|
|
.pchHeaderValue = pchHeaderValue,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter(struct w_steam_iface *_this, uint32_t hRequest, const char *pchParamName, const char *pchParamValue)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchParamName = pchParamName,
|
|
|
|
.pchParamValue = pchParamValue,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pCallHandle = pCallHandle,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint32_t *unResponseHeaderSize)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchHeaderName = pchHeaderName,
|
|
|
|
.unResponseHeaderSize = unResponseHeaderSize,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint8_t *pHeaderValueBuffer, uint32_t unBufferSize)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchHeaderName = pchHeaderName,
|
|
|
|
.pHeaderValueBuffer = pHeaderValueBuffer,
|
|
|
|
.unBufferSize = unBufferSize,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize(struct w_steam_iface *_this, uint32_t hRequest, uint32_t *unBodySize)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.unBodySize = unBodySize,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint8_t *pBodyDataBuffer, uint32_t unBufferSize)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pBodyDataBuffer = pBodyDataBuffer,
|
|
|
|
.unBufferSize = unBufferSize,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct(struct w_steam_iface *_this, uint32_t hRequest, float *pflPercentOut)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pflPercentOut = pflPercentOut,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody(struct w_steam_iface *_this, uint32_t hRequest, const char *pchContentType, uint8_t *pubBody, uint32_t unBodyLen)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchContentType = pchContentType,
|
|
|
|
.pubBody = pubBody,
|
|
|
|
.unBodyLen = unBodyLen,
|
|
|
|
};
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2019-02-25 18:44:23 +03:00
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtable;
|
2019-02-25 18:44:23 +03:00
|
|
|
|
2022-10-22 22:22:27 +03:00
|
|
|
DEFINE_RTTI_DATA0(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001, 0, ".?AVISteamHTTP@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtables)
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001,
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_CreateHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestContextValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestNetworkActivityTimeout)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestHeaderValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestGetOrPostParameter)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SendHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_DeferHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_PrioritizeHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseHeaderValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodySize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPResponseBodyData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_ReleaseHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_GetHTTPDownloadProgressPct)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_SetHTTPRequestRawPostBody)
|
2019-02-25 18:44:23 +03:00
|
|
|
);
|
2022-10-22 22:22:27 +03:00
|
|
|
__ASM_BLOCK_END
|
2019-02-25 18:44:23 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001(void *u_iface)
|
2019-02-25 18:44:23 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTTP_INTERFACE_VERSION001");
|
2019-02-25 18:44:23 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_vtable, 15, "STEAMHTTP_INTERFACE_VERSION001");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2019-02-25 18:44:23 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2018-01-18 19:24:05 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest, 12)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut, 12)
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest(struct w_steam_iface *_this, uint32_t eHTTPRequestMethod, const char *pchAbsoluteURL)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eHTTPRequestMethod = eHTTPRequestMethod,
|
|
|
|
.pchAbsoluteURL = pchAbsoluteURL,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue(struct w_steam_iface *_this, uint32_t hRequest, uint64_t ulContextValue)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.ulContextValue = ulContextValue,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unTimeoutSeconds)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.unTimeoutSeconds = unTimeoutSeconds,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, const char *pchHeaderValue)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchHeaderName = pchHeaderName,
|
|
|
|
.pchHeaderValue = pchHeaderValue,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter(struct w_steam_iface *_this, uint32_t hRequest, const char *pchParamName, const char *pchParamValue)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchParamName = pchParamName,
|
|
|
|
.pchParamValue = pchParamValue,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pCallHandle = pCallHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pCallHandle = pCallHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint32_t *unResponseHeaderSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchHeaderName = pchHeaderName,
|
|
|
|
.unResponseHeaderSize = unResponseHeaderSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint8_t *pHeaderValueBuffer, uint32_t unBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchHeaderName = pchHeaderName,
|
|
|
|
.pHeaderValueBuffer = pHeaderValueBuffer,
|
|
|
|
.unBufferSize = unBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize(struct w_steam_iface *_this, uint32_t hRequest, uint32_t *unBodySize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.unBodySize = unBodySize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint8_t *pBodyDataBuffer, uint32_t unBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pBodyDataBuffer = pBodyDataBuffer,
|
|
|
|
.unBufferSize = unBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint32_t cOffset, uint8_t *pBodyDataBuffer, uint32_t unBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.cOffset = cOffset,
|
|
|
|
.pBodyDataBuffer = pBodyDataBuffer,
|
|
|
|
.unBufferSize = unBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct(struct w_steam_iface *_this, uint32_t hRequest, float *pflPercentOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pflPercentOut = pflPercentOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody(struct w_steam_iface *_this, uint32_t hRequest, const char *pchContentType, uint8_t *pubBody, uint32_t unBodyLen)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchContentType = pchContentType,
|
|
|
|
.pubBody = pubBody,
|
|
|
|
.unBodyLen = unBodyLen,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer(struct w_steam_iface *_this, int8_t bAllowResponsesToModify)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAllowResponsesToModify = bAllowResponsesToModify,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer(struct w_steam_iface *_this, uint32_t hCookieContainer)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hCookieContainer = hCookieContainer,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie(struct w_steam_iface *_this, uint32_t hCookieContainer, const char *pchHost, const char *pchUrl, const char *pchCookie)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hCookieContainer = hCookieContainer,
|
|
|
|
.pchHost = pchHost,
|
|
|
|
.pchUrl = pchUrl,
|
|
|
|
.pchCookie = pchCookie,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer(struct w_steam_iface *_this, uint32_t hRequest, uint32_t hCookieContainer)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.hCookieContainer = hCookieContainer,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo(struct w_steam_iface *_this, uint32_t hRequest, const char *pchUserAgentInfo)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchUserAgentInfo = pchUserAgentInfo,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate(struct w_steam_iface *_this, uint32_t hRequest, int8_t bRequireVerifiedCertificate)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.bRequireVerifiedCertificate = bRequireVerifiedCertificate,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unMilliseconds)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.unMilliseconds = unMilliseconds,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut(struct w_steam_iface *_this, uint32_t hRequest, int8_t *pbWasTimedOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pbWasTimedOut = pbWasTimedOut,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_vtable;
|
|
|
|
|
2022-10-22 22:22:27 +03:00
|
|
|
DEFINE_RTTI_DATA0(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002, 0, ".?AVISteamHTTP@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_vtables)
|
2018-01-18 19:24:05 +03:00
|
|
|
__ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002,
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestContextValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestNetworkActivityTimeout)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestHeaderValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestGetOrPostParameter)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SendHTTPRequestAndStreamResponse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_DeferHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_PrioritizeHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseHeaderValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodySize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPResponseBodyData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPStreamingResponseBodyData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPDownloadProgressPct)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRawPostBody)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_CreateCookieContainer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_ReleaseCookieContainer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetCookie)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestCookieContainer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestUserAgentInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestRequiresVerifiedCertificate)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_SetHTTPRequestAbsoluteTimeoutMS)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_GetHTTPRequestWasTimedOut)
|
|
|
|
);
|
2022-10-22 22:22:27 +03:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002(void *u_iface)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTTP_INTERFACE_VERSION002");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2022-06-24 06:02:39 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_vtable, 25, "STEAMHTTP_INTERFACE_VERSION002");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2023-09-21 00:58:12 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest, 12)
|
2023-09-23 21:52:28 +03:00
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData, 16)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer, 8)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie, 20)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS, 12)
|
|
|
|
DEFINE_THISCALL_WRAPPER(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut, 12)
|
|
|
|
|
2023-09-19 20:59:23 +03:00
|
|
|
uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest(struct w_steam_iface *_this, uint32_t eHTTPRequestMethod, const char *pchAbsoluteURL)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.eHTTPRequestMethod = eHTTPRequestMethod,
|
|
|
|
.pchAbsoluteURL = pchAbsoluteURL,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue(struct w_steam_iface *_this, uint32_t hRequest, uint64_t ulContextValue)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.ulContextValue = ulContextValue,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unTimeoutSeconds)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.unTimeoutSeconds = unTimeoutSeconds,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, const char *pchHeaderValue)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchHeaderName = pchHeaderName,
|
|
|
|
.pchHeaderValue = pchHeaderValue,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter(struct w_steam_iface *_this, uint32_t hRequest, const char *pchParamName, const char *pchParamValue)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchParamName = pchParamName,
|
|
|
|
.pchParamValue = pchParamValue,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pCallHandle = pCallHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse(struct w_steam_iface *_this, uint32_t hRequest, uint64_t *pCallHandle)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pCallHandle = pCallHandle,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint32_t *unResponseHeaderSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchHeaderName = pchHeaderName,
|
|
|
|
.unResponseHeaderSize = unResponseHeaderSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue(struct w_steam_iface *_this, uint32_t hRequest, const char *pchHeaderName, uint8_t *pHeaderValueBuffer, uint32_t unBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchHeaderName = pchHeaderName,
|
|
|
|
.pHeaderValueBuffer = pHeaderValueBuffer,
|
|
|
|
.unBufferSize = unBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize(struct w_steam_iface *_this, uint32_t hRequest, uint32_t *unBodySize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.unBodySize = unBodySize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint8_t *pBodyDataBuffer, uint32_t unBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pBodyDataBuffer = pBodyDataBuffer,
|
|
|
|
.unBufferSize = unBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData(struct w_steam_iface *_this, uint32_t hRequest, uint32_t cOffset, uint8_t *pBodyDataBuffer, uint32_t unBufferSize)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.cOffset = cOffset,
|
|
|
|
.pBodyDataBuffer = pBodyDataBuffer,
|
|
|
|
.unBufferSize = unBufferSize,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest(struct w_steam_iface *_this, uint32_t hRequest)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
};
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2018-01-18 19:24:05 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct(struct w_steam_iface *_this, uint32_t hRequest, float *pflPercentOut)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pflPercentOut = pflPercentOut,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody(struct w_steam_iface *_this, uint32_t hRequest, const char *pchContentType, uint8_t *pubBody, uint32_t unBodyLen)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchContentType = pchContentType,
|
|
|
|
.pubBody = pubBody,
|
|
|
|
.unBodyLen = unBodyLen,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
uint32_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer(struct w_steam_iface *_this, int8_t bAllowResponsesToModify)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.bAllowResponsesToModify = bAllowResponsesToModify,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer(struct w_steam_iface *_this, uint32_t hCookieContainer)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hCookieContainer = hCookieContainer,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie(struct w_steam_iface *_this, uint32_t hCookieContainer, const char *pchHost, const char *pchUrl, const char *pchCookie)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hCookieContainer = hCookieContainer,
|
|
|
|
.pchHost = pchHost,
|
|
|
|
.pchUrl = pchUrl,
|
|
|
|
.pchCookie = pchCookie,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer(struct w_steam_iface *_this, uint32_t hRequest, uint32_t hCookieContainer)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.hCookieContainer = hCookieContainer,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo(struct w_steam_iface *_this, uint32_t hRequest, const char *pchUserAgentInfo)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pchUserAgentInfo = pchUserAgentInfo,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate(struct w_steam_iface *_this, uint32_t hRequest, int8_t bRequireVerifiedCertificate)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.bRequireVerifiedCertificate = bRequireVerifiedCertificate,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS(struct w_steam_iface *_this, uint32_t hRequest, uint32_t unMilliseconds)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.unMilliseconds = unMilliseconds,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
2023-10-04 23:02:15 +03:00
|
|
|
int8_t __thiscall winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut(struct w_steam_iface *_this, uint32_t hRequest, int8_t *pbWasTimedOut)
|
2023-09-21 00:58:12 +03:00
|
|
|
{
|
2023-09-30 14:08:49 +03:00
|
|
|
struct ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut_params params =
|
2023-09-27 15:34:23 +03:00
|
|
|
{
|
|
|
|
.linux_side = _this->u_iface,
|
|
|
|
.hRequest = hRequest,
|
|
|
|
.pbWasTimedOut = pbWasTimedOut,
|
|
|
|
};
|
2023-09-21 00:58:12 +03:00
|
|
|
TRACE("%p\n", _this);
|
2023-09-30 14:08:49 +03:00
|
|
|
STEAMCLIENT_CALL( ISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut, ¶ms );
|
2023-09-27 15:34:23 +03:00
|
|
|
return params._ret;
|
2023-09-21 00:58:12 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
extern vtable_ptr winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtable;
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2022-10-22 22:22:27 +03:00
|
|
|
DEFINE_RTTI_DATA0(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003, 0, ".?AVISteamHTTP@@")
|
|
|
|
|
|
|
|
__ASM_BLOCK_BEGIN(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtables)
|
2023-09-21 00:58:12 +03:00
|
|
|
__ASM_VTABLE(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003,
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestContextValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestNetworkActivityTimeout)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestHeaderValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestGetOrPostParameter)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SendHTTPRequestAndStreamResponse)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_DeferHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_PrioritizeHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderSize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseHeaderValue)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodySize)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPResponseBodyData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPStreamingResponseBodyData)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseHTTPRequest)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPDownloadProgressPct)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRawPostBody)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_CreateCookieContainer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_ReleaseCookieContainer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetCookie)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestCookieContainer)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestUserAgentInfo)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestRequiresVerifiedCertificate)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_SetHTTPRequestAbsoluteTimeoutMS)
|
|
|
|
VTABLE_ADD_FUNC(winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_GetHTTPRequestWasTimedOut)
|
2018-01-18 19:24:05 +03:00
|
|
|
);
|
2022-10-22 22:22:27 +03:00
|
|
|
__ASM_BLOCK_END
|
2018-01-18 19:24:05 +03:00
|
|
|
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *create_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003(void *u_iface)
|
2018-01-18 19:24:05 +03:00
|
|
|
{
|
2023-09-24 15:50:45 +03:00
|
|
|
struct w_steam_iface *r = alloc_mem_for_iface(sizeof(struct w_steam_iface), "STEAMHTTP_INTERFACE_VERSION003");
|
2018-01-18 19:24:05 +03:00
|
|
|
TRACE("-> %p\n", r);
|
2023-09-21 00:58:12 +03:00
|
|
|
r->vtable = alloc_vtable(&winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_vtable, 25, "STEAMHTTP_INTERFACE_VERSION003");
|
2023-09-24 15:50:45 +03:00
|
|
|
r->u_iface = u_iface;
|
2018-01-18 19:24:05 +03:00
|
|
|
return r;
|
|
|
|
}
|
|
|
|
|
2022-10-22 22:22:27 +03:00
|
|
|
void init_winISteamHTTP_rtti( char *base )
|
|
|
|
{
|
|
|
|
#ifdef __x86_64__
|
|
|
|
init_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION001_rtti( base );
|
|
|
|
init_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION002_rtti( base );
|
|
|
|
init_winISteamHTTP_STEAMHTTP_INTERFACE_VERSION003_rtti( base );
|
|
|
|
#endif /* __x86_64__ */
|
|
|
|
}
|