uloop: add support for integrating with a different event loop
authorFelix Fietkau <nbd@nbd.name>
Tue, 23 May 2023 10:24:33 +0000 (12:24 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 23 May 2023 13:32:36 +0000 (15:32 +0200)
commit75a3b870cace1171faf57bd55e5a9a2f1564f757
tree35c63732cdc5920269466c179258409d49c811d7
parent362951a2d96e5c00a2ca5f9495d18cf16f43bc68
uloop: add support for integrating with a different event loop

- support reading the next timeout in order to determine the poll timeout
- add a callback for fd add/delete/update

Signed-off-by: Felix Fietkau <nbd@nbd.name>
uloop-epoll.c
uloop-kqueue.c
uloop.c
uloop.h