aboutsummaryrefslogtreecommitdiff
path: root/fdm.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-03 00:26:42 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-03 00:26:42 +0000
commite1b6aa87fbb2b32ef27dfbe6d768d083ad040499 (patch)
tree172b129c621555dc24231f76d9737139300d73fe /fdm.h
parentslave: turn on FD_CLOEXEC after slave has been spawned (diff)
parentterminal: cleanup asynchronous ptmx output handling (diff)
Merge branch 'async-ptmx'
Diffstat (limited to 'fdm.h')
-rw-r--r--fdm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fdm.h b/fdm.h
index fb12bffb..62d73ded 100644
--- a/fdm.h
+++ b/fdm.h
@@ -13,4 +13,7 @@ bool fdm_add(struct fdm *fdm, int fd, int events, fdm_handler_t handler, void *d
bool fdm_del(struct fdm *fdm, int fd);
bool fdm_del_no_close(struct fdm *fdm, int fd);
+bool fdm_event_add(struct fdm *fdm, int fd, int events);
+bool fdm_event_del(struct fdm *fdm, int fd, int events);
+
bool fdm_poll(struct fdm *fdm);