]> git.ozlabs.org Git - ppp.git/commit
pppd: Implement more generic event handler mechanism
authorJaco Kroon <jaco@uls.co.za>
Fri, 7 Mar 2025 10:24:25 +0000 (12:24 +0200)
committerJaco Kroon <jaco@uls.co.za>
Fri, 2 May 2025 10:01:23 +0000 (12:01 +0200)
commit97ca4321f5efaf95dc6d54cd5131725381c511fe
treeff1ef9f449572da8d417501493f80b7042b8e387
parentfb769c380eeacf23b64cb3bf7860ba49a0e0eed5
pppd: Implement more generic event handler mechanism

This allows non-core modules to add file descriptors to the
event loop and have a call-back called when those file descriptors
won't block on read().

Signed-off-by: Jaco Kroon <jaco@uls.co.za>
pppd/Makefile.am
pppd/event-handler.c [new file with mode: 0644]
pppd/main.c
pppd/pppd-private.h
pppd/pppd.h
pppd/sys-linux.c
pppd/sys-solaris.c