]> git.ipfire.org Git - thirdparty/asterisk.git/commit
time: add support for time64 libcs
authorPhilip Prindeville <philipp@redfish-solutions.com>
Sun, 13 Feb 2022 19:06:37 +0000 (12:06 -0700)
committerKevin Harwell <kharwell@digium.com>
Thu, 24 Mar 2022 17:00:58 +0000 (12:00 -0500)
commit287a1a91262717a78821231bb8431f9ae527b8d9
treed30549d51d26e730502d64d50945dfc3b5b83982
parentd1900d4a4c6f0e5281dc9d7c7cd9f526f56d6fa3
time: add support for time64 libcs

Treat time_t's as entirely unique and use the POSIX API's for
converting to/from strings.

Lastly, a 64-bit integer formats as 20 digits at most in base10.
Don't need to have any 100 byte buffers to hold that.

ASTERISK-29674 #close

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Change-Id: Id7b25bdca8f92e34229f6454f6c3e500f2cd6f56
13 files changed:
include/asterisk/time.h
main/Makefile
main/time.c
res/res_calendar_caldav.c
res/res_calendar_icalendar.c
res/res_http_media_cache.c
res/res_odbc.c
res/res_pjsip/location.c
res/res_pjsip/pjsip_options.c
res/res_pjsip_history.c
res/res_pjsip_pubsub.c
res/res_pjsip_registrar.c
res/res_stir_shaken.c