common: Add new helper function, strsplit.
authorNeal H. Walfield <neal@g10code.de>
Thu, 12 Mar 2015 12:03:50 +0000 (13:03 +0100)
committerNeal H. Walfield <neal@g10code.de>
Mon, 23 Mar 2015 18:58:25 +0000 (19:58 +0100)
commitb18ffcb81a3839dbf09603d70ebb8b80f65892d3
tree1392ba5325cd04475a20cf9889c7f93d8f37edb2
parentbebab54027d8c63574a2680c60481cfe9b88c240
common: Add new helper function, strsplit.

* common/stringhelp.h (strsplit): New declaration.
* common/stringhelp.c (strsplit): New function.
* common/t-stringhelp.c (test_strsplit): New function.
(main): Call it here.

--
Signed-off-by: Neal H. Walfield <neal@g10code.de>
common/stringhelp.c
common/stringhelp.h
common/t-stringhelp.c