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