On Sa, 29.07.23 13:39, Donald Buczek (buc...@molgen.mpg.de) wrote:

> Hi, experts,
> is there a fundamental reason, why sd-event doesn't provide
> functions to update the handler of an existing event source, e.g.
>     int sd_event_source_set_io_handler(sd_event_source *source, 
> sd_event_io_handler_t handler);
> and similar for the other event types?

Noone needed this so far. Usually people track states in enums, not by
replacing function pointers...

I see no reason to not add support for this. If this is important to
you, please submit a PR adding this.


Lennart Poettering, Berlin

Reply via email to