Changeset 8912 for trunk/libtransmission/inout.h
- Timestamp:
- Aug 13, 2009, 5:25:26 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/inout.h
r8903 r8912 29 29 * @return 0 on success, or an errno value on failure. 30 30 */ 31 int tr_ioRead( const struct tr_torrent* tor,32 tr_piece_index_t 33 uint32_t 34 uint32_t 35 uint8_t *setme );31 int tr_ioRead( struct tr_torrent * tor, 32 tr_piece_index_t pieceIndex, 33 uint32_t offset, 34 uint32_t len, 35 uint8_t * setme ); 36 36 37 37 /** … … 39 39 * @return 0 on success, or an errno value on failure. 40 40 */ 41 int tr_ioWrite( const struct tr_torrent* tor,42 tr_piece_index_t 43 uint32_t 44 uint32_t 45 const uint8_t *writeme );41 int tr_ioWrite( struct tr_torrent * tor, 42 tr_piece_index_t pieceIndex, 43 uint32_t offset, 44 uint32_t len, 45 const uint8_t * writeme ); 46 46 47 47 /** … … 52 52 * tor->info.pieceSize bytes. 53 53 */ 54 tr_bool tr_ioTestPiece( const tr_torrent* tor,54 tr_bool tr_ioTestPiece( tr_torrent * tor, 55 55 tr_piece_index_t piece, 56 56 void * optionalBuffer,
Note: See TracChangeset
for help on using the changeset viewer.