]> granicus.if.org Git - transmission/commitdiff
(trunk libT) make tr_findTorrentFromHash() a public API
authorCharles Kerr <charles@transmissionbt.com>
Fri, 13 Nov 2009 16:41:00 +0000 (16:41 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Fri, 13 Nov 2009 16:41:00 +0000 (16:41 +0000)
libtransmission/torrent.h
libtransmission/transmission.h

index 65e3a122e6363ec86764bc7bb59f81e98c868543..735bb5fd27b5fc7062b2eb5613cbc23792f7d6ef 100644 (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 );
 
index a76a79bb6d8c3e7d2df6925c84a6c50d0544a4fd..504fc0d383ffba123550fc6d4fe9c501440af5dd 100644 (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