]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: clock: add clock_set_now_offset() helper
authorAurelien DARRAGON <adarragon@haproxy.com>
Thu, 26 Jun 2025 17:21:36 +0000 (19:21 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 7 Aug 2025 20:27:05 +0000 (22:27 +0200)
commit20f9d8fa4e132478044e2188706e14d56c758e82
treea257d9c651b4c473322b12cacc6366df3551c1c8
parent4c3a36c60998c9784b06d258419cd7209c2ba07a
MINOR: clock: add clock_set_now_offset() helper

Since now_offset is a static variable and is not exposed outside from
clock.c, let's add an helper so that it becomes possible to set its
value from another source file.
include/haproxy/clock.h
src/clock.c