2018-01-18 17:24:05 +01:00
|
|
|
/* TODO these should be generated */
|
2023-09-17 23:16:30 +02:00
|
|
|
#ifndef __STEAMCLIENT_PRIVATE_H
|
|
|
|
#define __STEAMCLIENT_PRIVATE_H
|
2018-11-20 18:10:12 +01:00
|
|
|
|
2023-09-14 14:53:26 +02:00
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stddef.h>
|
2023-09-19 19:59:23 +02:00
|
|
|
#include <stdint.h>
|
2023-09-14 14:53:26 +02:00
|
|
|
|
2023-09-30 14:02:30 +02:00
|
|
|
#include <windef.h>
|
|
|
|
#include <winbase.h>
|
|
|
|
|
|
|
|
#include "steamclient_structs.h"
|
|
|
|
#include "unixlib.h"
|
2023-09-17 23:16:30 +02:00
|
|
|
|
|
|
|
#include "wine/debug.h"
|
|
|
|
#include "wine/list.h"
|
2023-09-14 14:53:26 +02:00
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
#ifndef __cplusplus
|
|
|
|
#include "cxx.h"
|
|
|
|
#else
|
|
|
|
typedef void (*vtable_ptr)(void);
|
|
|
|
#endif
|
|
|
|
|
2018-11-20 18:10:12 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2023-09-19 21:30:14 +02:00
|
|
|
#define W_CDECL __cdecl
|
|
|
|
#define W_STDCALL __stdcall
|
|
|
|
#define U_CDECL __attribute__((sysv_abi))
|
|
|
|
#define U_STDCALL __attribute__((sysv_abi))
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface
|
|
|
|
{
|
|
|
|
vtable_ptr *vtable;
|
|
|
|
void *u_iface;
|
|
|
|
};
|
|
|
|
|
2023-09-30 14:14:10 +02:00
|
|
|
typedef struct w_steam_iface *(*iface_constructor)( void * );
|
2023-12-01 14:34:34 +01:00
|
|
|
extern iface_constructor find_iface_constructor( const char *iface_version );
|
|
|
|
extern struct w_steam_iface *create_winISteamNetworkingFakeUDPPort_SteamNetworkingFakeUDPPort001( void * );
|
2023-09-29 11:35:29 +02:00
|
|
|
|
2024-01-09 18:33:53 +01:00
|
|
|
extern void execute_pending_callbacks(void);
|
|
|
|
|
2024-01-09 18:33:53 +01:00
|
|
|
extern void execute_pending_callbacks(void);
|
|
|
|
|
2023-09-24 14:50:45 +02:00
|
|
|
struct w_steam_iface *create_win_interface(const char *name, void *linux_side);
|
2021-11-03 16:00:12 +01:00
|
|
|
void *alloc_mem_for_iface(size_t size, const char *iface_version);
|
2022-06-24 05:02:39 +02:00
|
|
|
void *alloc_vtable(void *vtable, unsigned int method_count, const char *iface_version);
|
2021-11-03 16:00:12 +01:00
|
|
|
|
2022-10-22 21:22:27 +02:00
|
|
|
void init_rtti( char *base );
|
|
|
|
|
2023-09-30 14:14:10 +02:00
|
|
|
#include "steamclient_generated.h"
|
|
|
|
|
2018-11-20 18:10:12 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
2023-09-17 23:16:30 +02:00
|
|
|
|
|
|
|
#endif /* __STEAMCLIENT_PRIVATE_H */
|