Changeset 6832 for trunk/libtransmission/torrent.h
- Timestamp:
- Oct 2, 2008, 3:53:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.h
r6795 r6832 42 42 int has ); 43 43 44 void tr_torrentLock( const tr_torrent * ); 45 46 void tr_torrentUnlock( const tr_torrent * ); 47 48 int tr_torrentIsSeed( const tr_torrent * ); 49 50 void tr_torrentChangeMyPort( tr_torrent * ); 51 52 int tr_torrentExists( const tr_handle *, 53 const uint8_t * ); 54 55 tr_torrent* tr_torrentFindFromId( tr_handle *, 56 int id ); 57 58 tr_torrent* tr_torrentFindFromHash( tr_handle *, 59 const uint8_t * ); 60 61 tr_torrent* tr_torrentFindFromHashString( 62 tr_handle *, 63 const char * ); 64 65 tr_torrent* tr_torrentFindFromObfuscatedHash( 66 tr_handle *, 67 const 68 uint8_t* ); 44 void tr_torrentLock( const tr_torrent * session ); 45 46 void tr_torrentUnlock( const tr_torrent * session ); 47 48 int tr_torrentIsSeed( const tr_torrent * session ); 49 50 void tr_torrentChangeMyPort( tr_torrent * session ); 51 52 int tr_torrentExists( const tr_session * session, 53 const uint8_t * hash ); 54 55 tr_torrent* tr_torrentFindFromId( tr_session * session, 56 int id ); 57 58 tr_torrent* tr_torrentFindFromHash( tr_session * session, 59 const uint8_t * hash ); 60 61 tr_torrent* tr_torrentFindFromHashString( tr_session * session, 62 const char * hashString ); 63 64 tr_torrent* tr_torrentFindFromObfuscatedHash( tr_session * session, 65 const uint8_t * hash ); 69 66 70 67 int tr_torrentAllowsPex( const tr_torrent * ); … … 154 151 struct tr_torrent 155 152 { 156 tr_ handle * handle;153 tr_session * session; 157 154 tr_info info; 158 155
Note: See TracChangeset
for help on using the changeset viewer.