diff --git a/libtransmission/torrent.h b/libtransmission/torrent.h index 65e3a122e..735bb5fd2 100644 --- a/libtransmission/torrent.h +++ b/libtransmission/torrent.h @@ -57,9 +57,6 @@ void tr_torrentSetHasPiece( tr_torrent * tor, void tr_torrentChangeMyPort( tr_torrent * session ); -tr_torrent* tr_torrentFindFromHash( tr_session * session, - const uint8_t * hash ); - tr_torrent* tr_torrentFindFromHashString( tr_session * session, const char * hashString ); diff --git a/libtransmission/transmission.h b/libtransmission/transmission.h index a76a79bb6..504fc0d38 100644 --- a/libtransmission/transmission.h +++ b/libtransmission/transmission.h @@ -1039,6 +1039,9 @@ int tr_torrentId( const tr_torrent * torrent ); tr_torrent* tr_torrentFindFromId( tr_session * session, int id ); +tr_torrent* tr_torrentFindFromHash( tr_session * session, const uint8_t * hash ); + + /** * @brief find the location of a torrent's file by looking with and without