I would like to wrap the xmlrpc "call" function (which takes a variable number of parameters) with another function (also taking a variable number of parameters). I would just like to pass a variable number of parameters that are passed into my wrapper function to the xmlrpc call function. I know how to use va_start and va_arg, but I really don't need the values that are passed, I just want to forward them along with the wrapped function. Is it possible?
specification for the function that I would like to wrap,
call(const char* url, const char* function, const char* paramSpec, void* result, ...);
my wrapper will take care of the first three parameters and the resulting result, it just needs to redirect its additional parameters to the call function
source
share