mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
(trunk libT) make tr_findTorrentFromHash() a public API
This commit is contained in:
parent
a2c4c0381d
commit
1fbcab8880
2 changed files with 3 additions and 3 deletions
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue