getShareMode :: MonadIO m =>  TorrentStatus -> m Bool
getShareMode ho =
  liftIO . withPtr ho $ \hoPtr ->
  toBool <$> [CU.exp| bool { $(torrent_status * hoPtr)->share_mode } |]
getShareMode :: MonadIO m =>  TorrentStatus -> m Bool
getShareMode ho =
  liftIO . withPtr ho $ \hoPtr ->
  toBool <$> [CU.exp| bool { $(torrent_status * hoPtr)->share_mode } |]
getShareMode ho =
  liftIO . withPtr ho $ \hoPtr ->
  toBool <$> [CU.exp| bool { $(torrent_status * hoPtr)->share_mode } |]