Ignore:
Timestamp:
Aug 30, 2007, 8:51:35 PM (15 years ago)
Author:
charles
Message:

add libevent-ized uploads, downloads, speed limits, choke messages. It's still at least a weekend away from being something even bleeding-edge testers would want to try.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/encryption/libtransmission/peer-connection.c

    r2946 r2949  
    419419    *setme = ntohl( tmp );
    420420}
     421
     422void
     423tr_peerConnectionDrain( tr_peerConnection   * conn,
     424                        struct evbuffer     * inbuf,
     425                        int                   byteCount )
     426{
     427    uint8_t * tmp = tr_new( uint8_t, byteCount );
     428    tr_peerConnectionReadBytes( conn, inbuf, tmp, byteCount );
     429    tr_free( tmp );
     430}
Note: See TracChangeset for help on using the changeset viewer.