Structs§
- FfiSubject
- Opaque pointer to a Subject pipeline.
Functions§
- xf_
event_ ⚠create - Create a new XaeroEvent from C data
- xf_
event_ ⚠free - Free a XaeroEvent created by xf_event_create
- xf_
event_ ⚠get_ data - Helper function to safely access XaeroEvent data from C Returns a pointer to the event data and sets the length.
- xf_
event_ ⚠get_ timestamp - Helper function to get event timestamp from C
- xf_
event_ ⚠get_ type - Helper function to get event type from C
- xf_
subject_ blackhole - Terminal operator: consume all events without processing (blackhole).
- xf_
subject_ filter - xf_
subject_ filter_ merkle_ proofs - Drop events lacking a Merkle proof (no callback needed).
- xf_
subject_ map - xf_
subject_ ⚠new - Create a new Subject pipeline for the given name. Returns a pointer you must later pass to the other calls.
- xf_
subject_ unsafe_ run - Run the pipeline to completion (or until it blocks). After calling this, the Subject is consumed/dropped.
Type Aliases§
- Filter
Callback - Filter operator: drop or keep events based on your predicate. Return “true” to keep the event.
- MapCallback
- Map operator: apply your own callback to every event.
cbis a C function pointer that takes an Arcand returns an Arc .