diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-31 00:30:09 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-10-31 00:30:09 +0100 |
| commit | e9445a41e5cbb4f1a1091302efdf3e80d0d70c7f (patch) | |
| tree | f2229d101a618f5d6747aa339f0d32bdc0191479 /ot_event.h | |
| parent | 15f9f81b5a8398fefca023e90d8d1c168ecef620 (diff) | |
Add config parsers for multiple tcp socket readers and a helper to see if we can offer it on the platform
Diffstat (limited to 'ot_event.h')
| -rw-r--r-- | ot_event.h | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -38,6 +38,11 @@ int event_close(int fd); | |||
| 38 | out with up to max ready descriptors. Returns how many, or -1. */ | 38 | out with up to max ready descriptors. Returns how many, or -1. */ |
| 39 | int event_wait(ot_event *out, int max, int timeout_ms); | 39 | int event_wait(ot_event *out, int max, int timeout_ms); |
| 40 | 40 | ||
| 41 | /* Whether the registered set may be changed from another thread while this | ||
| 42 | one is waiting on it. True where the kernel keeps the set, false where | ||
| 43 | this module keeps it in memory of its own. */ | ||
| 44 | int event_can_share(void); | ||
| 45 | |||
| 41 | /* Which mechanism was compiled in, for the version string */ | 46 | /* Which mechanism was compiled in, for the version string */ |
| 42 | const char *event_mechanism(void); | 47 | const char *event_mechanism(void); |
| 43 | 48 | ||
