CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/11/30 03:43:32
Modified files:
usr.sbin/ospfd : Makefile auth.c control.c control.h ospfd.c
ospfd.h ospfe.c ospfe.h rde.c
Added files:
usr.sbin/ospfd : imsgev.c imsgev.h
Log message:
Major rework of the libevent based imsg handling in ospfd.
Use imsgbuf_set_userdata() and imsgbuf_set_close_callback() to wrap
the imsg event properly into the imsg framework. This is done in
imsgev.c and it also adds a imsgev_new and imsgbuf_clear calls to
wrap all the setup and teardown into two simple calls.
With this imsg_compose_event() can be nuked and one can use the
imsg API directly without thinking about libevent.
OK tb@