getDownloadPayloadRate :: MonadIO m =>  TorrentStatus -> m CInt
getDownloadPayloadRate ho =
  liftIO . withPtr ho $ \hoPtr ->
  [CU.exp| int { $(torrent_status * hoPtr)->download_payload_rate } |]
getDownloadPayloadRate :: MonadIO m =>  TorrentStatus -> m CInt
getDownloadPayloadRate ho =
  liftIO . withPtr ho $ \hoPtr ->
  [CU.exp| int { $(torrent_status * hoPtr)->download_payload_rate } |]
getDownloadPayloadRate ho =
  liftIO . withPtr ho $ \hoPtr ->
  [CU.exp| int { $(torrent_status * hoPtr)->download_payload_rate } |]