-/*********************************************************************
- *
- * Function : ssplit
- *
- * Description : Split a string using deliminters in `c'. Results go
- * into `v'.
- *
- * Parameters :
- * 1 : s = string to split
- * 2 : c = array of delimiters
- * 3 : v[] = results vector (aka. array)
- * 4 : n = number of usable slots in the vector (aka. array size)
- * 5 : m = consecutive delimiters means multiple fields?
- * 6 : l = ignore leading field separators?
- *
- * Returns : -1 => failure, else the number of fields put in `v'.
- *
- *********************************************************************/
-int ssplit(char *s, char *c, char *v[], int n, int m, int l)
-{
- char t[256];
- char **x = NULL;
- int xsize = 0;
- unsigned char *p, b;
- int xi = 0;
- int vi = 0;
- int i;
- int last_was_null;
-
- if (!s)