Code:
typedef long CBPtr(int, int);
 
typedef struct test
{
	int id;
	CBPtr *callback;
} test;

long callback_func( int a, int b)
{
return a+b;;
}

int main()
{
...
test test1;

test1.id = 100;
test1.callback = callback_func;
...
}
hat zumindest erst mal beim Übersetzen nicht gemeckert

sast