Hi Thomas,

> > Is it possible (is it better) to declare these functions with 
> > vfio_dma_func_t?
> 
> Yeah, sure. Or maybe the other way around - maybe we could do away with
> the typedef. I'll go for the former though.

No, we can't declare the functions with a function pointer. At least I don't 
see any obvious way to do that without incurring multiple declarations compile 
error. So I'll leave it as forward declarations. Of course, the other 
alternative is to put the array below the functions and make them static, to 
avoid forward declarations, but I think it's much clearer the way it is now.

Thanks,
Anatoly

Reply via email to