175 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
16 lines
788 B
C
16 lines
788 B
C
#ifndef GW_CLIENT_DROP_DIAGNOSTIC_H
|
|
#define GW_CLIENT_DROP_DIAGNOSTIC_H
|
|
#include "wine_wire_abi.h"
|
|
/* The genuine four-byte move-init acknowledgment is consumed locally. Empty
|
|
* source output is therefore not a rejected client request. */
|
|
static inline int gw_client_drop_should_count(uint32_t opcode,uint32_t bytes){
|
|
return opcode!=0x420064u || bytes!=4u;
|
|
}
|
|
/* No pointer, body/span or string argument. build carries only the byte count;
|
|
* the account transport wrapper clears value, required and consumed. */
|
|
static inline void gw_client_drop_call_init(struct gw_wire_call* c,uint32_t opcode,uint32_t bytes){
|
|
__builtin_memset(c,0,sizeof(*c));c->abi=GW_WINE_WIRE_ABI;c->size=sizeof(*c);
|
|
c->operation=GW_WIRE_DIAGNOSTIC_CLIENT_DROP;c->opcode=opcode;c->build=bytes;
|
|
}
|
|
#endif
|