(trunk libT) make tr_findTorrentFromHash() a public API

This commit is contained in:
Charles Kerr 2009-11-13 16:41:00 +00:00
parent a2c4c0381d
commit 1fbcab8880
2 changed files with 3 additions and 3 deletions

View File

@ -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 );

View File

@ -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