Ignore:
Timestamp:
Dec 16, 2008, 10:08:17 PM (12 years ago)
Author:
charles
Message:

(trunk libT) really fuck up the peer i/o code. also this breaks the mac build until someone removes iobuf.c from libtransmission's list of files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bandwidth.h

    r7404 r7419  
    5959 *   bandwidth they can safely use.
    6060 */
     61
    6162typedef struct tr_bandwidth tr_bandwidth;
     63
     64struct tr_peerIo;
    6265
    6366/**
     
    167170
    168171/**
    169  * @brief add an iobuf to this bandwidth's list of iobufs.
     172 * @brief add a tr_peerIo to this bandwidth's list.
    170173 * They will be notified when more bandwidth is made available for them to consume.
    171174 */
    172 void    tr_bandwidthAddBuffer         ( tr_bandwidth        * bandwidth,
    173                                         struct tr_iobuf     * iobuf );
     175void    tr_bandwidthAddPeer           ( tr_bandwidth        * bandwidth,
     176                                        struct tr_peerIo    * peerIo );
    174177
    175178/**
    176179 * @brief remove an iobuf from this bandwidth's list of iobufs.
    177180 */
    178 void    tr_bandwidthRemoveBuffer      ( tr_bandwidth        * bandwidth,
    179                                         struct tr_iobuf     * iobuf );
     181void    tr_bandwidthRemovePeer        ( tr_bandwidth        * bandwidth,
     182                                        struct tr_peerIo    * peerIo );
    180183
    181184#endif
Note: See TracChangeset for help on using the changeset viewer.