I came across the following statements and confused about it.
typedef void vq_callback_t(struct virtqueue *);
and in some other file
vq_callback_t *callbacks[] = { skb_recv_done, skb_xmit_done, NULL};
Is this the same as
typedef void (*vq_callback_t)(struct virtqueue *);
vq_callback_t callbacks[] = { skb_recv_done, skb_xmit_done, NULL};
Thanks,
Bala