Ignore:
Timestamp:
Sep 26, 2007, 2:42:03 PM (15 years ago)
Author:
charles
Message:

peer i/o cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-io.c

    r3171 r3184  
    470470
    471471void
     472tr_peerIoWriteUint8( tr_peerIo        * io,
     473                     struct evbuffer  * outbuf,
     474                     uint8_t            writeme )
     475{
     476    tr_peerIoWriteBytes( io, outbuf, &writeme, sizeof(uint8_t) );
     477}
     478
     479void
    472480tr_peerIoWriteUint32( tr_peerIo        * io,
    473481                      struct evbuffer  * outbuf,
     
    517525
    518526void
     527tr_peerIoReadUint8( tr_peerIo         * io,
     528                    struct evbuffer   * inbuf,
     529                    uint8_t           * setme )
     530{
     531    tr_peerIoReadBytes( io, inbuf, setme, sizeof(uint8_t) );
     532}
     533
     534void
    519535tr_peerIoReadUint32( tr_peerIo         * io,
    520536                     struct evbuffer   * inbuf,
Note: See TracChangeset for help on using the changeset viewer.