Ignore:
Timestamp:
Feb 13, 2009, 6:23:56 PM (13 years ago)
Author:
charles
Message:

(trunk) #1787: add support for seeding ratio limiting in libtransmission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r7816 r7888  
    7171                                              tr_direction       direction );
    7272
     73tr_bool     tr_torrentGetSeedRatio( const tr_torrent * tor, double * ratio );
     74
     75
    7376
    7477#define tr_block( a, b ) _tr_block( tor, a, b )
     
    186189    void *                     completeness_func_user_data;
    187190
     191    tr_torrent_ratio_limit_hit_func * ratio_limit_hit_func;
     192    void *                     ratio_limit_hit_func_user_data;
     193
    188194    tr_bool                    isRunning;
    189195    tr_bool                    isDeleting;
     
    203209
    204210    struct tr_torrent_peers  * torrentPeers;
     211
     212    double                     desiredRatio;
     213    tr_ratiolimit              ratioLimitMode;
    205214};
    206215
Note: See TracChangeset for help on using the changeset viewer.