Daniel P. Berrange
76c1fd33c8
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>
2012-11-30 20:05:43 +00:00
..
2012-08-02 14:36:23 -06:00
2012-08-31 08:10:58 -07:00
2012-03-27 09:54:49 -06:00
2012-03-09 14:36:31 +01:00
2012-09-13 21:19:58 +08:00
2012-11-02 09:56:23 -06:00
2012-11-02 09:56:23 -06:00
2010-01-19 21:13:03 +01:00
2012-05-08 16:57:37 -06:00
2012-11-29 15:02:39 -05:00
2012-08-17 15:43:26 -04:00
2012-08-17 15:43:26 -04:00
2012-08-02 14:36:23 -06:00
2012-11-13 00:35:36 +01:00
2012-05-21 06:26:34 -04:00
2012-05-21 06:26:34 -04:00
2012-11-23 09:25:20 +01:00
2012-11-27 10:19:22 +01:00
2012-09-27 10:24:52 +01:00
2012-10-30 08:54:32 +01:00
2012-10-19 17:35:09 -06:00
2012-08-02 14:36:23 -06:00
2012-08-02 14:36:23 -06:00
2012-08-02 17:14:17 -06:00
2012-07-18 20:08:27 +01:00
2012-07-21 20:15:02 +02:00
2011-11-30 10:12:30 +00:00
2012-05-08 16:57:37 -06:00
2012-04-02 09:33:54 -06:00
2012-07-21 19:45:02 +02:00
2011-05-03 08:03:39 -06:00
2010-01-15 16:28:05 +00:00
2012-09-20 16:30:55 -06:00
2012-11-02 13:36:49 +00:00
2012-11-02 13:36:49 +00:00
2012-09-17 14:59:37 -04:00
2012-09-20 16:30:55 -06:00
2012-05-08 16:57:37 -06:00
2012-03-27 15:52:25 +01:00
2010-05-20 13:50:03 -04:00
2012-11-28 18:17:25 +00:00
2011-12-01 13:49:20 -07:00
2012-09-20 16:30:55 -06:00
2011-07-29 17:17:21 +02:00
2010-01-15 16:28:05 +00:00
2012-03-26 14:45:22 -06:00
2011-06-30 18:04:02 +01:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2012-09-20 16:30:55 -06:00
2012-03-29 21:23:59 -06:00
2012-11-30 20:05:43 +00:00
2010-01-15 16:28:05 +00:00
2012-11-29 15:02:39 -05:00
2012-08-17 15:43:26 -04:00
2010-01-15 16:28:05 +00:00
2012-03-26 14:45:22 -06:00
2012-11-13 00:35:36 +01:00
2010-04-06 11:09:46 -04:00
2012-05-21 06:26:34 -04:00
2012-09-20 16:30:55 -06:00
2012-07-30 13:09:57 +01:00
2012-05-08 16:57:37 -06:00
2011-06-01 11:58:15 +02:00
2011-07-22 15:18:32 +01:00
2012-11-28 18:17:25 +00:00
2012-11-21 18:43:18 +01:00
2012-09-27 11:04:32 +01:00
2012-02-27 16:06:02 -07:00
2012-11-13 09:32:15 +01:00
2012-09-20 16:30:55 -06:00
2012-11-28 18:17:25 +00:00
2012-11-28 18:17:25 +00:00
2012-11-28 18:17:25 +00:00
2012-07-27 07:42:34 -06:00
2012-07-27 07:42:34 -06:00
2011-11-18 15:00:18 -07:00
2011-12-22 13:01:09 -07:00
2012-11-02 13:36:49 +00:00
2012-10-12 17:54:09 +02:00
2012-10-12 17:54:09 +02:00
2012-08-07 11:47:41 +01:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-07-27 07:42:34 -06:00
2012-03-26 14:45:22 -06:00
2012-09-20 16:30:55 -06:00
2010-01-15 16:28:05 +00:00
2012-07-18 20:08:27 +01:00
2010-01-15 16:28:05 +00:00
2012-11-02 13:36:49 +00:00
2010-01-15 16:28:05 +00:00
2011-07-11 09:21:37 -06:00
2012-11-14 19:14:07 -07:00
2012-09-20 16:30:55 -06:00
2012-11-09 09:20:59 -07:00
2012-03-27 15:52:25 +01:00
2012-11-09 09:20:59 -07:00
2009-07-16 15:06:42 +02:00
2012-11-09 09:20:59 -07:00
2009-07-16 15:06:42 +02:00
2011-07-01 16:46:20 -06:00
2012-07-27 07:42:34 -06:00
2012-11-02 13:36:49 +00:00
2012-09-20 16:30:55 -06:00
2012-11-28 18:30:28 +08:00
2012-06-11 09:21:27 -06:00
2012-11-26 14:01:23 +01:00
2012-01-26 14:11:13 +00:00
2012-11-02 13:36:49 +00:00
2012-09-20 16:30:55 -06:00
2012-10-16 15:45:55 +01:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-10-12 00:03:43 +02:00
2012-08-07 11:59:08 +01:00
2012-11-07 09:04:18 -07:00
2012-07-27 07:42:34 -06:00
2012-07-27 07:42:34 -06:00
2012-09-12 11:27:22 -06:00
2012-05-01 14:58:14 -06:00
2012-11-30 20:05:43 +00:00
2011-09-28 15:43:39 +08:00
2012-11-02 13:36:49 +00:00
2012-09-20 16:30:55 -06:00
2012-11-09 09:20:59 -07:00
2012-03-26 14:45:22 -06:00
2012-09-20 16:30:55 -06:00
2012-03-26 14:45:22 -06:00
2012-11-09 09:20:59 -07:00