int zfs_share(zfs_handle_t *zhp) { if (ZFS_IS_VOLUME(zhp)) return (zfs_share_iscsi(zhp)); return (zfs_share_proto(zhp, share_all_proto)); }
int zfs_shareall(zfs_handle_t *zhp) { #ifdef __APPLE__ return (0); #else return (zfs_share_proto(zhp, share_all_proto)); #endif }
int zfs_share_smb(zfs_handle_t *zhp) { #ifdef __APPLE__ return (0); #else return (zfs_share_proto(zhp, smb_only)); #endif }
int zfs_share(zfs_handle_t *zhp) { #ifdef __APPLE__ return (0); #else if (ZFS_IS_VOLUME(zhp)) return (zfs_share_iscsi(zhp)); return (zfs_share_proto(zhp, share_all_proto)); #endif }
int zfs_shareall(zfs_handle_t *zhp) { return (zfs_share_proto(zhp, share_all_proto)); }
int zfs_share_smb(zfs_handle_t *zhp) { return (zfs_share_proto(zhp, smb_only)); }
int zfs_share_nfs(zfs_handle_t *zhp) { return (zfs_share_proto(zhp, nfs_only)); }
int zfs_share(zfs_handle_t *zhp) { assert(!ZFS_IS_VOLUME(zhp)); return (zfs_share_proto(zhp, share_all_proto)); }