Changeset 9334


Ignore:
Timestamp:
Oct 19, 2009, 1:55:42 PM (12 years ago)
Author:
charles
Message:

(trunk libT) make tr_torrentFindFile() a public API

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r9328 r9334  
    356356
    357357/**
    358  * Get the file that exists on the disk, or NULL if no file exists yet.
    359  * @return the file that exists on the disk, or NULL if no file exists yet.
    360  * @param tor the torrent whose file we're using
    361  * @param fileNum the fileIndex, in [0..tor->info.fileCount)
    362  */
    363 char* tr_torrentFindFile( const tr_torrent * tor, tr_file_index_t fileNo );
    364 
    365 /**
    366358 * Tell the tr_torrent that one of its files has become complete
    367359 */
  • trunk/libtransmission/transmission.h

    r9328 r9334  
    997997
    998998
     999/**
     1000 * @brief find the location of a torrent's file by looking with and without
     1001 *        the ".part" suffix, looking in downloadDir and incompleteDir, etc.
     1002 * @return a newly-allocated string (that must be tr_freed() by the caller when done)
     1003 *         that gives the location of this file on disk, or NULL if no file exists yet.
     1004 * @param tor the torrent whose file we're looking for
     1005 * @param fileNum the fileIndex, in [0...tr_info.fileCount)
     1006 */
     1007char* tr_torrentFindFile( const tr_torrent * tor, tr_file_index_t fileNo );
     1008
     1009
    9991010/***
    10001011****  Torrent speed limits
Note: See TracChangeset for help on using the changeset viewer.