• 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 defs:torrent

10  * $Id: torrent.c 13573 2012-10-15 03:11:16Z jordan $
51 #include "torrent.h"
52 #include "torrent-magnet.h"
320 * it applies if the torrent's a seed AND it has a seed ratio set */
444 /* if we're seeding and reach our seed ratio limit, stop the torrent */
447 tr_torinf( tor, "Seed ratio reached; pausing torrent" );
455 /* if we're seeding and reach our inactiviy limit, stop the torrent */
458 tr_torinf( tor, "Seeding idle limit reached; pausing torrent" );
785 //tr_torrentSetLocalError( tor, "%s", _( "No data found! Ensure your drives are connected or use \"Set Location\". To re-download, remove the torrent and re-add it." ) );
877 /* add the torrent to tr_session.torrentList */
888 /* if we don't have a local .torrent file already, assume the torrent is new */
889 isNewTorrent = stat( tor->info.torrent, &st );
897 const char * path = tor->info.torrent;
900 tr_torrentSetLocalError( tor, "Unable to save torrent file: %s", tr_strerror( err ) );
1299 /* s->haveValid is here to make sure a torrent isn't marked 'finished'
1300 * when the user hits "uncheck all" prior to starting the torrent... */
1434 tr_torrentTrackers( const tr_torrent * torrent, int * setmeTrackerCount )
1438 if( tr_isTorrent( torrent ) )
1440 tr_torrentLock( torrent );
1441 ret = tr_announcerStats( torrent, setmeTrackerCount );
1442 tr_torrentUnlock( torrent );
1546 /* decrement the torrent count */
1667 /* don't allow the torrent to be started if the files disappeared */
1681 * one tracker admin says: "When the same torrent is opened and
1737 /* if the torrent's already being verified, stop it */
1828 tr_torinf( tor, "%s", _( "Removing torrent" ) );
1908 "Complete" means we've downloaded every file in the torrent.
1948 tr_torrentClearCompletenessCallback( tr_torrent * torrent )
1950 tr_torrentSetCompletenessCallback( torrent, NULL, NULL );
1965 tr_torrentClearRatioLimitHitCallback( tr_torrent * torrent )
1967 tr_torrentSetRatioLimitHitCallback( torrent, NULL, NULL );
1982 tr_torrentClearIdleLimitHitCallback( tr_torrent * torrent )
1984 tr_torrentSetIdleLimitHitCallback( torrent, NULL, NULL );
2548 /* save to the .torrent file */
2549 if( ok && !tr_bencLoadFile( &metainfo, TR_FMT_BENC, tor->info.torrent ) )
2595 tr_bencToFile( &metainfo, TR_FMT_BENC, tor->info.torrent );
2601 /* if we had a tracker-related error on this torrent,
2617 /* tell the announcer to reload this torrent's tracker list */
2695 ***** Removing the torrent's local data
2742 * remove the torrent's local files.
2846 /* build a list of 'top's child directories that belong to this torrent */
3045 /* if the torrent's current filename isn't the same as the one in the
3325 tr_torrentSetQueueStartCallback( tr_torrent * torrent, void (*callback)( tr_torrent *, void * ), void * user_data )
3327 torrent->queue_started_callback = callback;
3328 torrent->queue_started_user_data = user_data;