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