Ignore:
Timestamp:
Mar 28, 2011, 4:31:05 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) break the mac build and introduce new crashes.

This is partially to address #4145 "Downloads stuck at 100%" by refactoring the bitset, bitfield, and tr_completion; however, the ripple effect is larger than usual so things may get worse in the short term before getting better.

livings124: to fix the mac build, remove bitset.[ch] from xcode

File:
1 edited

Legend:

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

    r12229 r12248  
    2525
    2626#include "bitfield.h"
    27 #include "bitset.h"
    2827#include "history.h"
    2928#include "net.h" /* tr_address */
     
    111110    struct peer_atom       * atom;
    112111
    113     struct tr_bitfield     * blame;
    114     struct tr_bitset         have;
     112    struct tr_bitfield       blame;
     113    struct tr_bitfield       have;
    115114
    116115    /** how complete the peer's copy of the torrent is. [0.0...1.0] */
     
    230229                                    unsigned int       tabCount );
    231230
    232 struct tr_bitfield* tr_peerMgrGetAvailable( const tr_torrent * tor );
     231uint64_t tr_peerMgrGetDesiredAvailable( const tr_torrent * tor );
    233232
    234233void tr_peerMgrOnTorrentGotMetainfo( tr_torrent * tor );
     
    238237void tr_peerMgrTorrentStats( tr_torrent * tor,
    239238                             int * setmePeersConnected,
    240                              int * setmeSeedsConnected,
    241239                             int * setmeWebseedsSendingToUs,
    242240                             int * setmePeersSendingToUs,
Note: See TracChangeset for help on using the changeset viewer.