]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: standard: add 64 bits conversion functions
authorThierry FOURNIER <tfournier@arpalert.org>
Mon, 6 Jul 2015 21:09:52 +0000 (23:09 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Jul 2015 21:27:10 +0000 (23:27 +0200)
commit763a5d85f7226c22abda17f3b8cdf2ae2edc4f77
tree66eb04197e59424dd5021b571bbc6d70aa0cdf8e
parent19a106d24a18868bcef66bd6486de0cef48419c7
MINOR: standard: add 64 bits conversion functions

This patch adds 3 functions for 64 bit integer conversion.

 * lltoa_r : converts signed 64 bit integer to string
 * read_uint64 : converts from string to signed 64 bits integer with capping
 * read_int64 : converts from string to unsigned 64 bits integer with capping
include/common/standard.h
src/standard.c