Ignore:
Timestamp:
May 1, 2010, 4:04:00 PM (12 years ago)
Author:
charles
Message:

(trunk) #3060 -- Local Peer Discovery patch from Eszet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r10550 r10606  
    131131                                           tr_verify_state   state );
    132132
     133tr_torrent_activity tr_torrentGetActivity( tr_torrent * tor );
     134
    133135struct tr_incomplete_metadata;
    134136
     
    198200    tr_bool                    dhtAnnounceInProgress;
    199201    tr_bool                    dhtAnnounce6InProgress;
     202   
     203    time_t                     ldsAnnounceAt;
    200204
    201205    uint64_t                   downloadedCur;
     
    328332    return ( tor != NULL )
    329333        && ( tr_sessionAllowsDHT( tor->session ) )
     334        && ( !tr_torrentIsPrivate( tor ) );
     335}
     336
     337static inline tr_bool tr_torrentAllowsLDS( const tr_torrent * tor )
     338{
     339    return ( tor != NULL )
     340        && ( tr_sessionAllowsLDS( tor->session ) )
    330341        && ( !tr_torrentIsPrivate( tor ) );
    331342}
Note: See TracChangeset for help on using the changeset viewer.