Ignore:
Timestamp:
Dec 5, 2012, 5:29:46 PM (8 years ago)
Author:
jordan
Message:

Follow more common whitespace style conventions in the C code (libtransmission, daemon, utils, cli, gtk).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/inout.h

    r12545 r13625  
    33 *
    44 * This file is licensed by the GPL version 2. Works owned by the
    5  * Transmission project are granted a special exemption to clause 2(b)
     5 * Transmission project are granted a special exemption to clause 2 (b)
    66 * so that the bulk of its code can remain under the MIT license.
    77 * This exemption does not extend to derived works not owned by
     
    2929 * @return 0 on success, or an errno value on failure.
    3030 */
    31 int tr_ioRead( struct tr_torrent   * tor,
     31int tr_ioRead (struct tr_torrent   * tor,
    3232               tr_piece_index_t      pieceIndex,
    3333               uint32_t              offset,
    3434               uint32_t              len,
    35                uint8_t             * setme );
     35               uint8_t             * setme);
    3636
    37 int tr_ioPrefetch( tr_torrent       * tor,
     37int tr_ioPrefetch (tr_torrent       * tor,
    3838                   tr_piece_index_t   pieceIndex,
    3939                   uint32_t           begin,
    40                    uint32_t           len );
     40                   uint32_t           len);
    4141
    4242/**
     
    4444 * @return 0 on success, or an errno value on failure.
    4545 */
    46 int tr_ioWrite( struct tr_torrent  * tor,
     46int tr_ioWrite (struct tr_torrent  * tor,
    4747                tr_piece_index_t     pieceIndex,
    4848                uint32_t             offset,
    4949                uint32_t             len,
    50                 const uint8_t      * writeme );
     50                const uint8_t      * writeme);
    5151
    5252/**
    5353 * @brief Test to see if the piece matches its metainfo's SHA1 checksum.
    5454 */
    55 bool tr_ioTestPiece( tr_torrent       * tor,
    56                      tr_piece_index_t   piece );
     55bool tr_ioTestPiece (tr_torrent       * tor,
     56                     tr_piece_index_t   piece);
    5757
    5858
     
    6060 * Converts a piece index + offset into a file index + offset.
    6161 */
    62 void tr_ioFindFileLocation( const tr_torrent  * tor,
     62void tr_ioFindFileLocation (const tr_torrent  * tor,
    6363                             tr_piece_index_t   pieceIndex,
    6464                             uint32_t           pieceOffset,
    6565                             tr_file_index_t  * fileIndex,
    66                              uint64_t         * fileOffset );
     66                             uint64_t         * fileOffset);
    6767
    6868
Note: See TracChangeset for help on using the changeset viewer.