2023-09-30 14:02:30 +02:00
|
|
|
#ifndef __STEAMCLIENT_UNIX_PRIVATE_H
|
|
|
|
#define __STEAMCLIENT_UNIX_PRIVATE_H
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
|
|
|
|
#include "steamclient_structs.h"
|
|
|
|
#include "unixlib.h"
|
|
|
|
|
|
|
|
#include "wine/debug.h"
|
|
|
|
#include "wine/list.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
extern struct u_ISteamMatchmakingServerListResponse *create_LinuxISteamMatchmakingServerListResponse( void *win, const char *version ) DECLSPEC_HIDDEN;
|
|
|
|
extern struct u_ISteamMatchmakingPingResponse *create_LinuxISteamMatchmakingPingResponse( void *win, const char *version ) DECLSPEC_HIDDEN;
|
|
|
|
extern struct u_ISteamMatchmakingPlayersResponse *create_LinuxISteamMatchmakingPlayersResponse( void *win, const char *version ) DECLSPEC_HIDDEN;
|
|
|
|
extern struct u_ISteamMatchmakingRulesResponse *create_LinuxISteamMatchmakingRulesResponse( void *win, const char *version ) DECLSPEC_HIDDEN;
|
|
|
|
extern struct u_ISteamNetworkingConnectionCustomSignaling *create_LinuxISteamNetworkingConnectionCustomSignaling(void *win, const char *version) DECLSPEC_HIDDEN;
|
|
|
|
extern struct u_ISteamNetworkingCustomSignalingRecvContext *create_LinuxISteamNetworkingCustomSignalingRecvContext(void *win, const char *version) DECLSPEC_HIDDEN;
|
|
|
|
|
|
|
|
extern uint32_t manual_convert_nNativeKeyCode( uint32_t win_vk );
|
|
|
|
|
|
|
|
typedef void (U_CDECL *u_SteamAPIWarningMessageHook_t)( int32_t, const char * );
|
|
|
|
typedef void (W_CDECL *w_SteamAPIWarningMessageHook_t)( int32_t, const char * );
|
|
|
|
u_SteamAPIWarningMessageHook_t manual_convert_SetWarningMessageHook_pFunction( w_SteamAPIWarningMessageHook_t );
|
|
|
|
|
|
|
|
typedef void (U_STDCALL *u_FSteamNetworkingSocketsDebugOutput)( uint32_t, const char * );
|
|
|
|
typedef void (W_STDCALL *w_FSteamNetworkingSocketsDebugOutput)( uint32_t, const char * );
|
|
|
|
u_FSteamNetworkingSocketsDebugOutput manual_convert_SetDebugOutputFunction_pfnFunc( w_FSteamNetworkingSocketsDebugOutput );
|
|
|
|
|
|
|
|
typedef uint32_t (U_STDCALL *u_SteamAPI_CheckCallbackRegistered_t)( int32_t );
|
|
|
|
typedef uint32_t (W_STDCALL *w_SteamAPI_CheckCallbackRegistered_t)( int32_t );
|
|
|
|
u_SteamAPI_CheckCallbackRegistered_t manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func( w_SteamAPI_CheckCallbackRegistered_t );
|
|
|
|
|
|
|
|
typedef uint32_t (U_CDECL *u_SteamAPI_CheckCallbackRegistered_t_156)( int32_t );
|
|
|
|
typedef uint32_t (W_CDECL *w_SteamAPI_CheckCallbackRegistered_t_156)( int32_t );
|
|
|
|
u_SteamAPI_CheckCallbackRegistered_t_156 manual_convert_Set_SteamAPI_CCheckCallbackRegisteredInProcess_func_156( w_SteamAPI_CheckCallbackRegistered_t_156 );
|
|
|
|
|
|
|
|
typedef void (U_STDCALL *u_SteamAPI_PostAPIResultInProcess_t)( uint64_t, void *, uint32_t, int );
|
|
|
|
typedef void (W_STDCALL *w_SteamAPI_PostAPIResultInProcess_t)( uint64_t, void *, uint32_t, int );
|
|
|
|
u_SteamAPI_PostAPIResultInProcess_t manual_convert_Set_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t );
|
|
|
|
u_SteamAPI_PostAPIResultInProcess_t manual_convert_Remove_SteamAPI_CPostAPIResultInProcess_func( w_SteamAPI_PostAPIResultInProcess_t );
|
|
|
|
|
|
|
|
typedef void (U_STDCALL *u_void_SteamAPI_PostAPIResultInProcess_t)(void);
|
|
|
|
typedef void (W_STDCALL *w_void_SteamAPI_PostAPIResultInProcess_t)(void);
|
|
|
|
u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Set_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t );
|
|
|
|
u_void_SteamAPI_PostAPIResultInProcess_t manual_convert_DEPRECATED_Remove_SteamAPI_CPostAPIResultInProcess__a( w_void_SteamAPI_PostAPIResultInProcess_t );
|
|
|
|
|
2023-10-01 10:32:08 +02:00
|
|
|
void callback_message_utow( const u_CallbackMsg_t *u_msg, w_CallbackMsg_t *w_msg );
|
2023-09-29 11:34:51 +02:00
|
|
|
void *alloc_callback_wtou( int id, void *callback, int *callback_len );
|
|
|
|
void convert_callback_utow( int id, void *u_callback, int u_callback_len, void *w_callback, int w_callback_len );
|
|
|
|
|
2023-10-02 15:27:37 +02:00
|
|
|
extern void queue_sockets_debug_output( void (*W_STDCALL pfnFunc)( uint32_t, const char * ),
|
|
|
|
uint32_t type, const char *msg );
|
|
|
|
extern void queue_warning_message_hook( void (*W_CDECL pFunction)( int32_t, const char * ),
|
|
|
|
int32_t severity, const char *msg );
|
|
|
|
|
2023-10-19 10:38:37 +02:00
|
|
|
extern NTSTATUS steamclient_init( void * );
|
|
|
|
extern NTSTATUS steamclient_next_callback( void * );
|
|
|
|
extern NTSTATUS steamclient_CreateInterface( void * );
|
|
|
|
extern NTSTATUS steamclient_Steam_GetAPICallResult( void * );
|
|
|
|
extern NTSTATUS steamclient_Steam_BGetCallback( void * );
|
|
|
|
extern NTSTATUS steamclient_callback_message_receive( void * );
|
|
|
|
extern NTSTATUS steamclient_Steam_FreeLastCallback( void * );
|
|
|
|
extern NTSTATUS steamclient_Steam_ReleaseThreadLocalMemory( void * );
|
|
|
|
extern NTSTATUS steamclient_Steam_IsKnownInterface( void * );
|
|
|
|
extern NTSTATUS steamclient_Steam_NotifyMissingInterface( void * );
|
|
|
|
extern NTSTATUS steamclient_networking_messages_receive_144( void * );
|
|
|
|
extern NTSTATUS steamclient_networking_messages_receive_147( void * );
|
|
|
|
extern NTSTATUS steamclient_networking_messages_receive_153a( void * );
|
|
|
|
extern NTSTATUS steamclient_networking_message_release_147( void * );
|
|
|
|
extern NTSTATUS steamclient_networking_message_release_153a( void * );
|
|
|
|
|
2023-10-02 23:20:43 +02:00
|
|
|
extern char *steamclient_dos_to_unix_path( const char *src, int is_url );
|
|
|
|
extern void steamclient_free_path( char *path_array );
|
|
|
|
extern const char **steamclient_dos_to_unix_path_array( const char **src_array );
|
|
|
|
extern void steamclient_free_path_array( const char **path_array );
|
|
|
|
|
2023-09-30 14:02:30 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2023-09-30 14:15:29 +02:00
|
|
|
#include "unix_private_generated.h"
|
|
|
|
|
2023-09-30 14:02:30 +02:00
|
|
|
#endif /* __STEAMCLIENT_UNIX_PRIVATE_H */
|