I have a rather complicated pointer/syntax problem. One of my function arguments is a pointer to a structure which contains a void pointer. If I point the pointer to a scalar then in my function I can access it like this:
local_var = (appropriate_type *) struc->pointer; But I want to use this pointer to pass to my function a different structure containing 2 members. How can I access these members in the function?