On Tue, Jun 8, 2010 at 4:05 PM, Balachandar <bala1486@xxxxxxxxx> wrote:
Hello,
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