char *Ns_SetKey( Ns_Set *set, int index );
Ns_Set *aSet; aSet = Ns_SetCreate(""); Ns_SetPut(aSet, "foo", "foovalue"); Ns_SetPut(aSet, "bar", "barvalue"); printf("Key at index 0 is %s\n", Ns_SetKey(aSet, 0)); /* finish processing of aSet */ Ns_SetFree(aSet);