• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/

Lines Matching refs:tr_torrent

37 void        tr_ctorInitTorrentPriorities( const tr_ctor * ctor, tr_torrent * tor );
39 void tr_ctorInitTorrentWanted( const tr_ctor * ctor, tr_torrent * tor );
46 void tr_torrentInitFileDLs( tr_torrent * tor,
51 void tr_torrentRecheckCompleteness( tr_torrent * );
53 void tr_torrentSetHasPiece( tr_torrent * tor,
57 void tr_torrentChangeMyPort( tr_torrent * session );
59 tr_torrent* tr_torrentFindFromHashString( tr_session * session,
62 tr_torrent* tr_torrentFindFromObfuscatedHash( tr_session * session,
65 bool tr_torrentIsPieceTransferAllowed( const tr_torrent * torrent,
71 tr_block_index_t _tr_block( const tr_torrent * tor,
75 bool tr_torrentReqIsValid( const tr_torrent * tor,
80 uint64_t tr_pieceOffset( const tr_torrent * tor,
85 void tr_torrentGetBlockLocation( const tr_torrent * tor,
91 void tr_torGetFileBlockRange( const tr_torrent * tor,
96 void tr_torGetPieceBlockRange( const tr_torrent * tor,
101 void tr_torrentInitFilePriority( tr_torrent * tor,
105 void tr_torrentSetPieceChecked( tr_torrent * tor,
108 void tr_torrentSetChecked( tr_torrent * tor, time_t when );
110 void tr_torrentCheckSeedLimit( tr_torrent * tor );
113 void tr_torrentSave( tr_torrent * tor );
115 void tr_torrentSetLocalError( tr_torrent * tor, const char * fmt, ... ) TR_GNUC_PRINTF( 2, 3 );
127 void tr_torrentSetVerifyState( tr_torrent * tor,
130 tr_torrent_activity tr_torrentGetActivity( tr_torrent * tor );
135 struct tr_torrent
240 void ( * queue_started_callback )( tr_torrent *, void * queue_started_user_data );
258 tr_torrent * next;
274 static inline tr_torrent*
275 tr_torrentNext( tr_session * session, tr_torrent * current )
282 tr_torBlockPiece( const tr_torrent * tor, const tr_block_index_t block )
289 tr_torPieceCountBytes( const tr_torrent * tor, const tr_piece_index_t piece )
297 tr_torBlockCountBytes( const tr_torrent * tor, const tr_block_index_t block )
303 static inline void tr_torrentLock( const tr_torrent * tor )
308 static inline bool tr_torrentIsLocked( const tr_torrent * tor )
313 static inline void tr_torrentUnlock( const tr_torrent * tor )
325 tr_torrentIsSeed( const tr_torrent * tor )
330 static inline bool tr_torrentIsPrivate( const tr_torrent * tor )
335 static inline bool tr_torrentAllowsPex( const tr_torrent * tor )
342 static inline bool tr_torrentAllowsDHT( const tr_torrent * tor )
349 static inline bool tr_torrentAllowsLPD( const tr_torrent * tor )
365 static inline bool tr_isTorrent( const tr_torrent * tor )
375 void tr_torrentSetDirty( tr_torrent * tor )
385 * Tell the tr_torrent that one of its files has become complete
387 void tr_torrentFileCompleted( tr_torrent * tor, tr_file_index_t fileNo );
403 bool tr_torrentFindFile2( const tr_torrent *, tr_file_index_t fileNo,
411 char* tr_torrentBuildPartial( const tr_torrent *, tr_file_index_t fileNo );
415 void tr_torrentGotNewInfoDict( tr_torrent * tor );
417 void tr_torrentSetSpeedLimit_Bps ( tr_torrent *, tr_direction, unsigned int Bps );
418 unsigned int tr_torrentGetSpeedLimit_Bps ( const tr_torrent *, tr_direction );
423 bool tr_torrentPieceNeedsCheck( const tr_torrent * tor, tr_piece_index_t pieceIndex );
429 bool tr_torrentCheckPiece( tr_torrent * tor, tr_piece_index_t pieceIndex );
431 time_t tr_torrentGetFileMTime( const tr_torrent * tor, tr_file_index_t i );
433 uint64_t tr_torrentGetCurrentSizeOnDisk( const tr_torrent * tor );
435 bool tr_torrentIsStalled( const tr_torrent * tor );
438 tr_torrentIsQueued( const tr_torrent * tor )
444 tr_torrentGetQueueDirection( const tr_torrent * tor )