]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: standard: Add a function to parse uints (dotted notation).
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 25 Feb 2019 14:04:22 +0000 (15:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 26 Feb 2019 15:27:05 +0000 (16:27 +0100)
commit3b7171668528c82b464a7d2f523ef4564fc7045f
tree6c6558c7a34d4e37403a261a6b03079207c821e5
parent0bbad6bb06f39185a1b6803e354dac1a48be6c16
MINOR: standard: Add a function to parse uints (dotted notation).

This function is useful to parse strings made of unsigned integers
and to allocate a C array of unsigned integers from there.
For instance this function allocates this array { 1, 2, 3, 4, } from
this string: "1.2.3.4".
include/common/standard.h
src/standard.c