Hi, everyone. I have a library function like this:
Code:
curl_formadd (arg1, arg2, ...);
I want to call it from inside another function, like this:
Code:
myfunction (arg1, arg2, ...)
{
curl_formadd (arg1, arg2, ...);
}
Now, I know the 'proper' way to do this is with variadic functions, but there is no variadic variant of the library function. Is there an acceptable way to do this kind of thing? I can't just remove myfunction() altogether because some of the arguments, and indeed the number of arguments, will be modified at runtime before they are fed into the library function.
Richard