I see the second from last parameter type in zfs_send is
'snapfilter_cb_t' which a typedef for a function:
boolean_t (snapfilter_cb_t)(zfs_handle*,void*);
This is assigned to the 'filter_cb' member of a send_dump_data structure
which is a snapfilter_cb_t*.
Should either the typedef be changed to boolean_t
(*snapfilter_cb_t)(zfs_handle*,void*), or the zfs_send parameter changed
to snapfilter_cb_t*?
The typedef is inconsistent with other filter functions.
--
Ian.
_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code