Files
praxisandClaude Fable 5.2 8e02dccb86 In-client stack: transport, session lifecycle and engine bridge
175 files, from working commit b1a079a.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-19 01:32:48 +02:00

44 lines
1.4 KiB
C

#ifndef GW_PIPE_LIVE_INPUT_H
#define GW_PIPE_LIVE_INPUT_H
#include "pipe_admission_snapshot.h"
#include "wine_wire_host.h"
#ifndef _WIN32
#define __declspec(x)
#define WINAPI
#define GW_PIPE_LIVE_LOCAL_WIN_MACROS 1
#endif
#include "wine_session_retirement.h"
#ifdef GW_PIPE_LIVE_LOCAL_WIN_MACROS
#undef __declspec
#undef WINAPI
#undef GW_PIPE_LIVE_LOCAL_WIN_MACROS
#endif
/* Captured from the admitted poll owner, then checked against original
* globals and live objects by gw_pipe_admission_snapshot at return. */
struct gw_pipe_live_input_context {
uint32_t abi, size;
uintptr_t owner;
uint64_t bound_owner_vtable;
uint32_t primary_thread;
const struct gw_wire_auth_control *auth;
const struct gw_wire_auth_credentials *credentials;
uint32_t (*pipe_generation)(void);
struct gw_pipe_control *control;
struct gw_session_pipe_tables *tables;
const struct gw_session_pipe_callbacks *callbacks;
const struct gw_session_pipe_receivers *receivers;
uintptr_t callback_module_begin, callback_module_end;
void *probe_context;
gw_pipe_admission_read read;
gw_pipe_admission_executable executable;
gw_pipe_admission_writable writable;
};
int gw_pipe_live_prepare_input(void *context, uintptr_t owner,
uint32_t current_thread,
struct gw_pipe_admission_input *output);
#endif