Rainer Gerhards c8ab665951
core: migrate callback invocations to type-safe signatures
Replace opaque/variadic callback usage with explicit, type-safe function
signatures to reduce undefined behavior and clarify intent.
Adapter helpers bridge the existing APIs without raw variadic casts, enabling
the transition incrementally. Callback setup sites are standardized for
consistent readability. This tightens the contract on callbacks, eases future
refactoring, and makes their roles more self-documenting.

Inspired by https://github.com/rsyslog/rsyslog/pull/5882

With AI support: Codex, Gemini
2025-08-01 13:02:10 +02:00
..
2024-08-14 07:56:29 +02:00