Add string-utils convenience library
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 17 Feb 2017 02:58:19 +0000 (21:58 -0500)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 17 Feb 2017 22:49:14 +0000 (17:49 -0500)
commitddc9615b2f516d0338b935fe73307694b68e1ff2
tree255f544914dd6fbbfd9df6a7561355e0e1630dd5
parentd30b2041e3a5db2d1671219ea845057cb3dd3082
Add string-utils convenience library

The new src/common/string-utils/libstring-utils.la library has a few
utility functions to manipulate and check strings. See string-utils.h
for more details.

One such function which should prove useful in this codebase is
strutils_split(): it splits an input string with a given delimiter and
returns a NULL-terminated array of newly allocated substrings. This
function supports escaping the delimiter with `\` in the input string.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
configure.ac
src/common/Makefile.am
src/common/string-utils/Makefile.am [new file with mode: 0644]
src/common/string-utils/string-utils.c [new file with mode: 0644]
src/common/string-utils/string-utils.h [new file with mode: 0644]
This page took 0.028442 seconds and 5 git commands to generate.