Ns_Set *Ns_SetCreate( char *name );
The Ns_SetCreate function allocates and returns a pointer to a new Ns_Set. You must eventually call Ns_SetFree to release the memory used by the set.
Ns_Set *aSet; aSet = Ns_SetCreate(""); /* set name can be NULL */ Ns_SetPut(aSet, "foo", "foovalue"); /* do something with aSet */ Ns_SetFree(aSet);