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

24 lines
1.4 KiB
C

#ifndef GW_PRIVATE_PIPE_ATOMIC_H
#define GW_PRIVATE_PIPE_ATOMIC_H
#include <stdbool.h>
#include <stdint.h>
#include "wine_pipe_host.h"
/* Private, prevalidated publication boundary only. The caller must establish
* c49 image identity, readable/writable storage, authenticated channel, the
* original constructor-return thread, owner/pipe/listener lifetime and an
* already immutable epoch row before calling. This API does not discover,
* allocate, authenticate, prepare or pin any native object. */
struct gw_private_pipe_tables {uint32_t abi,size,count,reserved;uint64_t methods[64][10];};
struct gw_private_pipe_prevalidated {
uintptr_t *pipe_vptr;
uint64_t owner_global,queue_owner,pipe_owner,holder_pipe,owner_connection,connection_listener,owner_listener,listener_owner;
uint64_t owner_vtable,expected_owner_vtable,connection_vtable,original_rtti,pipe_reserved;
uint32_t owner_state,current_thread,primary_thread,generation,active_generation;
bool authenticated,transport_prepared,receiver_fresh;
uint64_t callback_write,callback_read;
};
enum gw_private_pipe_result {GW_PRIVATE_PIPE_REFUSED=0,GW_PRIVATE_PIPE_SWAPPED=1,GW_PRIVATE_PIPE_STALE=2};
enum gw_private_pipe_result gw_private_pipe_publish(struct gw_pipe_control *,struct gw_private_pipe_tables *,const struct gw_private_pipe_prevalidated *);
enum gw_private_pipe_result gw_private_pipe_restore(struct gw_pipe_control *,struct gw_private_pipe_tables *,const struct gw_private_pipe_prevalidated *);
#endif