common: Add function strtokenize.
authorWerner Koch <wk@gnupg.org>
Mon, 22 Jun 2015 17:28:33 +0000 (19:28 +0200)
committerWerner Koch <wk@gnupg.org>
Mon, 22 Jun 2015 17:28:33 +0000 (19:28 +0200)
commitd37f47081d41584efc0c397432811f9cfa5d5867
treee2b8ba8914a1b731f4ff4c29396635824662a650
parente0873a3372800d51c90ca656450f937dbae9c169
common: Add function strtokenize.

* common/stringhelp.c: Include assert.h.
(strtokenize): New.
* common/t-stringhelp.c (test_strtokenize): New.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/stringhelp.c
common/stringhelp.h
common/t-stringhelp.c