Please help me understand what this typedef is doing??
typedef void (xyz) (void *data);
extern struct x* FUNCTION(xyz *ptr);
Here is my understanding: in 1st line xyz is a function returning void and taking void pointer as an argument. But I cant interpret 2nd line with this understanding.
Any input is appreciable.
There is an external function called
FUNCTIONwhich takes a pointer to anxyzfunction as parameter and returns a pointer to astruct x.