]> git.ipfire.org Git - thirdparty/bind9.git/commit
Provide isc_stdtime_now(void) that returns value
authorOndřej Surý <ondrej@isc.org>
Thu, 30 Mar 2023 19:04:43 +0000 (21:04 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 31 Mar 2023 11:16:28 +0000 (13:16 +0200)
commitc11af0448a56bb1f0fefc2646c77fcdca6afc82f
treef9983e493fee357f80a8004d5b1bb278234a93e1
parent3e106b3a8fdb196e0552d245b0cd9c9111aeb79a
Provide isc_stdtime_now(void) that returns value

As isc_stdtime_get() cannot fail, the API seems to be too complicated,
add new isc_stdtime_now() that returns the unixtime as a return value.
lib/isc/include/isc/stdtime.h
lib/isc/stdtime.c