Daniel P. Berrange 1bcb4c727f 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)
Signed-off-by: Eric Blake <eblake@redhat.com>

Conflicts:
	tests/Makefile.am - several intermediate tests not backported
2013-09-18 21:10:20 -06:00
..
2012-04-02 09:33:54 -06:00
2012-04-27 17:25:35 -04:00
2011-12-01 13:49:20 -07:00
2011-06-30 18:04:02 +01:00
2011-06-24 08:01:10 -06:00
2011-12-01 13:49:20 -07:00
2011-07-11 09:21:37 -06:00
2012-04-05 22:07:41 -06:00
2011-12-01 14:12:59 -07:00
2011-12-01 14:12:59 -07:00
2012-04-05 22:07:41 -06:00