Skip to main content

Module hooks

Module hooks 

Source

Structs§

HookSlot
A slot for a single hook point, holding its attached programs and runner.

Enums§

HookContext
Context passed to hook functions (host-side only, NOT repr(C)).
HookPoint
All hook points in the transport pipeline.

Functions§

create_hook_slots
Create an array of HookSlots, one per HookPoint, all initialized with empty program lists and the hook_noop runner.
hook_noop
No-op hook runner — returns None immediately.

Type Aliases§

HookFn
Function pointer type for hook slot runners.