|
|
char *Ns_SetGet(
Ns_Set *set,
char *key
);
The Ns_SetIGet function is this function's case-insensitive counterpart.
Ns_Set *aSet;
int index;
aSet = Ns_SetCreate("");
Ns_SetPut(aSet, "Foo", "foovalue");
Ns_SetPut(aSet, "Bar", "barvalue");
Ns_Log(Notice, "Value for Foo is %s", Ns_SetGet(aSet, "Foo"));
Ns_SetFree(aSet);