char *Ns_DStringVarAppend( Ns_DString *dsPtr, ... );
The Ns_DStringVarAppend function appends a variable number of strings to an Ns_DString. The list must end with NULL.
Ns_DString ds; Ns_DStringInit(&ds); Ns_DStringVarAppend(&ds, "foo", "bar", NULL); /* do something with the dstring */ printf ("%s\n", ds.string); Ns_DStringFree(&ds); /* finished with dstring */