diff options
author | Mikhail Burakov <mburakov@mailbox.org> | 2023-04-09 14:13:37 +0200 |
---|---|---|
committer | Mikhail Burakov <mburakov@mailbox.org> | 2023-04-09 14:13:37 +0200 |
commit | c5334a46523b9ac959c002fbc23a25eeccf63599 (patch) | |
tree | 5f724394e7124bfca803c2c73574b48202db070e /io_muxer.h | |
parent | 809618988f918d0a54cc67bf416e455517cfc8cd (diff) |
Add fd forgetting function to io muxer
Diffstat (limited to 'io_muxer.h')
-rw-r--r-- | io_muxer.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -47,6 +47,7 @@ bool IoMuxerOnRead(struct IoMuxer* io_muxer, int fd, void (*fun)(void*), bool IoMuxerOnWrite(struct IoMuxer* io_muxer, int fd, void (*fun)(void*), void* user); enum IoMuxerResult IoMuxerIterate(struct IoMuxer* io_muxer, int timeout); +void IoMuxerForget(struct IoMuxer* io_muxer, int fd); void IoMuxerDestroy(struct IoMuxer* io_muxer); #ifdef __cplusplus |