Ignore:
Timestamp:
Oct 20, 2009, 3:14:44 AM (12 years ago)
Author:
charles
Message:

(trunk libT) make the ".part" suffix an optional feature as per BMW's request. Clean up the code a little.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r9334 r9335  
    361361
    362362
     363/* Like tr_torrentFindFile(), but splits the filename into base
     364 * (tr_torrent.incompleteDir or tr_torrent.downloadDir)  and subpath */
     365tr_bool tr_torrentFindFile2( const tr_torrent *, tr_file_index_t fileNo,
     366                             const char ** base, char ** subpath );
     367
     368
     369/* Returns a newly-allocated string that's been munged to the form
     370 * that denotes to humans that it's a partial file.
     371 * This is like the filenames in tr_torrent.info.files --
     372 * it's not a complete filename by itself, but a fragment that
     373 * can be passed to tr_buildPath() */
     374char* tr_torrentBuildPartial( const tr_torrent *, tr_file_index_t fileNo );
     375
     376
     377
     378
    363379#endif
Note: See TracChangeset for help on using the changeset viewer.