]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/ratelimit.h
ratelimit: add ratelimit_configured() helper
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Oct 2020 16:40:35 +0000 (18:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 9 Oct 2020 06:58:59 +0000 (08:58 +0200)
commit2a155c53abb729788c1299fffb166a1aeb30fdd9
tree105c10651dbe078f262931b90a1af3a45980e9cd
parent15c689d77f9d8d46a39be39ed5acfdaed794301c
ratelimit: add ratelimit_configured() helper

This helper alone doesn't make too much sense, but it's preparatory work
for #17274, and I guess it can't hurt to land it early, it does make the
ratelimit code a tiny bit prettier after all.
src/basic/ratelimit.c
src/basic/ratelimit.h