I'm creating a function is necessary pass at least 2 (two) parameters: myStruct and value, the other arguments are optional.
This is a sample of my function:
int find(struct myStruct *, void * value, ...);
This is all arguments possible:
struct myStruct *, void * value, int (*comparable) (void *, void *), int flag
I believe i will have to use va_list, but i would not want of pass null how last parameters. This is possible?