]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
add / update list disarm / arm, which is only for sub-lists
authorAlan T. DeKok <aland@freeradius.org>
Thu, 1 May 2025 14:55:33 +0000 (10:55 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 1 May 2025 14:55:33 +0000 (10:55 -0400)
commitcd12018ec82f6a2c7e0e9c14fd0ffb239233496e
tree17b092f549810d675735e3f5bc0d26006849b28f
parentfff7627820c063a8b1dd2f4a2702f6acc3ece666
add / update list disarm / arm, which is only for sub-lists

when a list is disarmed, its events aren't run.  Events can still
be added to it.  But because its event has been removed from the
parent timer, no events will ever run.

when a list is re-armed, it runs all events which have been
pending during the disarm period.  The caller is likely to clean
up events before re-arming the list
src/lib/util/timer.c
src/lib/util/timer.h
src/tests/keywords/foreach-continue [new file with mode: 0644]