Daniel P. Berrange d39ef5a01f Introduce APIs for splitting/joining strings
This introduces a few new APIs for dealing with strings.
One to split a char * into a char **, another to join a
char ** into a char *, and finally one to free a char **

There is a simple test suite to validate the edge cases
too. No more need to use the horrible strtok_r() API,
or hand-written code for splitting strings.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit 76c1fd33c8093d6a7173a85486e1e6f51a832135)

Conflicts:
	tests/Makefile.am - commit eca72d4 not backported
2013-01-07 10:38:24 -07:00
..
2012-04-02 09:33:54 -06:00
2012-09-17 14:59:37 -04:00
2011-12-01 13:49:20 -07:00
2011-06-30 18:04:02 +01:00
2011-07-11 09:21:37 -06:00