Ignore:
Timestamp:
Nov 8, 2009, 11:20:00 PM (13 years ago)
Author:
charles
Message:

(trunk libT) #2548: T's request queue can send out too many duplicate requests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.h

    r9470 r9494  
    2626#include "bitfield.h"
    2727#include "net.h"
     28#include "peer-common.h" /* struct peer_request */
    2829#include "publish.h" /* tr_publisher_tag */
    2930#include "utils.h"
     
    118119tr_bool tr_peerMgrPeerIsSeed( const tr_torrent * tor,
    119120                              const tr_address * addr );
     121
     122void tr_peerMgrGetNextRequests( tr_torrent          * torrent,
     123                                tr_peer             * peer,
     124                                int                   numwant,
     125                                tr_block_index_t    * setme,
     126                                int                 * numgot );
     127
     128tr_bool tr_peerMgrDidPeerRequest( const tr_torrent  * torrent,
     129                                  const tr_peer     * peer,
     130                                  tr_block_index_t    block );
     131
     132void tr_peerMgrRebuildRequests( tr_torrent * torrent );
    120133
    121134void tr_peerMgrAddIncoming( tr_peerMgr  * manager,
Note: See TracChangeset for help on using the changeset viewer.