Ignore:
Timestamp:
Mar 26, 2007, 7:19:33 PM (15 years ago)
Author:
joshe
Message:

Don't save or load cached peers for private torrents.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r1579 r1594  
    224224                                    int flags, int * error );
    225225
     226/***********************************************************************
     227 * tr_torrentDisablePex
     228 ***********************************************************************
     229 * Disable or enable peer exchange for this torrent. Peer exchange is
     230 * enabled by default, except for private torrents where pex is
     231 * disabled and cannot be enabled.
     232 **********************************************************************/
     233void tr_torrentDisablePex( tr_torrent_t *, int disable );
     234
     235/***********************************************************************
     236 * tr_torrentScrape
     237 ***********************************************************************
     238 * Return torrent metainfo.
     239 **********************************************************************/
    226240typedef struct tr_info_s tr_info_t;
    227241tr_info_t * tr_torrentInfo( tr_torrent_t * );
Note: See TracChangeset for help on using the changeset viewer.