MINOR: server/event_hdl: prepare for server event data wrapper
authorAurelien DARRAGON <adarragon@haproxy.com>
Fri, 24 Mar 2023 16:02:53 +0000 (17:02 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 21 Apr 2023 12:36:45 +0000 (14:36 +0200)
commit23f352f7d00451212d9580e5e9b74d3ec6e5839e
tree14acab6186d472154dee40ee8084363f0309eb48
parentf71e0645c1ad777f111c173d47697e2a65980077
MINOR: server/event_hdl: prepare for server event data wrapper

Adding the possibility to publish an event using a struct wrapper
around existing SERVER events to provide additional contextual info.

Using the specific struct wrapper is not required: it is supported
to cast event data as a regular server event data struct so
that we don't break the existing API.

However, casting event data with a more explicit data type allows
to fetch event-only relevant hints.
src/server.c