|
|
Ns_Set **Ns_SetSplit(
Ns_Set *set,
char sep
);
dog.sound
dog.food
cat.sound
cat.food
Ns_SetSplit would create two new sets named dog and cat, each containing two fields whose key names are sound and food.
Ns_SetSplit returns a newly allocated NULL-terminated array of new sets. The original set is left unaltered. The list of new sets can be freed at once with the Ns_SetListFree function.