Re: sd-event: sd_event_source_set_io_handler()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sa, 29.07.23 13:39, Donald Buczek (buczek@xxxxxxxxxxxxx) 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

--
Lennart Poettering, Berlin



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux