Changeset 7368 for trunk/libtransmission/torrent.h
- Timestamp:
- Dec 13, 2008, 11:39:12 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.h
r7266 r7368 50 50 tr_file_index_t * files, 51 51 tr_file_index_t fileCount, 52 intdo_download );53 54 inttr_torrentIsPrivate( const tr_torrent * );52 tr_bool do_download ); 53 54 tr_bool tr_torrentIsPrivate( const tr_torrent * ); 55 55 56 56 void tr_torrentRecheckCompleteness( tr_torrent * ); … … 60 60 void tr_torrentSetHasPiece( tr_torrent * tor, 61 61 tr_piece_index_t pieceIndex, 62 inthas );62 tr_bool has ); 63 63 64 64 void tr_torrentLock( const tr_torrent * session ); … … 66 66 void tr_torrentUnlock( const tr_torrent * session ); 67 67 68 inttr_torrentIsSeed( const tr_torrent * session );68 tr_bool tr_torrentIsSeed( const tr_torrent * session ); 69 69 70 70 void tr_torrentChangeMyPort( tr_torrent * session ); 71 71 72 inttr_torrentExists( const tr_session * session,72 tr_bool tr_torrentExists( const tr_session * session, 73 73 const uint8_t * hash ); 74 74 … … 85 85 const uint8_t * hash ); 86 86 87 inttr_torrentAllowsPex( const tr_torrent * );88 89 inttr_torrentIsPieceTransferAllowed( const tr_torrent * torrent,87 tr_bool tr_torrentAllowsPex( const tr_torrent * ); 88 89 tr_bool tr_torrentIsPieceTransferAllowed( const tr_torrent * torrent, 90 90 tr_direction direction ); 91 91 … … 121 121 uint32_t offset ); 122 122 123 inttr_torrentReqIsValid( const tr_torrent * tor,123 tr_bool tr_torrentReqIsValid( const tr_torrent * tor, 124 124 tr_piece_index_t index, 125 125 uint32_t offset, … … 138 138 int tr_torrentCountUncheckedPieces( const tr_torrent * ); 139 139 140 inttr_torrentIsPieceChecked( const tr_torrent * tor,140 tr_bool tr_torrentIsPieceChecked( const tr_torrent * tor, 141 141 tr_piece_index_t piece ); 142 142 143 inttr_torrentIsFileChecked( const tr_torrent * tor,143 tr_bool tr_torrentIsFileChecked( const tr_torrent * tor, 144 144 tr_file_index_t file ); 145 145 146 146 void tr_torrentSetPieceChecked( tr_torrent * tor, 147 147 tr_piece_index_t piece, 148 intisChecked );148 tr_bool isChecked ); 149 149 150 150 void tr_torrentSetFileChecked( tr_torrent * tor, 151 151 tr_file_index_t file, 152 intisChecked );152 tr_bool isChecked ); 153 153 154 154 void tr_torrentUncheck( tr_torrent * tor );
Note: See TracChangeset
for help on using the changeset viewer.