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/announcer.h

    r12237 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
     
    5757tr_tracker_event;
    5858
    59 typedef void tr_tracker_callback ( tr_torrent              * tor,
     59typedef void tr_tracker_callback (tr_torrent              * tor,
    6060                                   const tr_tracker_event  * event,
    61                                    void                    * client_data );
     61                                   void                    * client_data);
    6262
    6363/**
     
    6565**/
    6666
    67 void tr_announcerInit( tr_session * );
     67void tr_announcerInit (tr_session *);
    6868
    69 void tr_announcerClose( tr_session * );
     69void tr_announcerClose (tr_session *);
    7070
    7171/**
     
    7373**/
    7474
    75 struct tr_torrent_tiers * tr_announcerAddTorrent( tr_torrent          * torrent,
     75struct tr_torrent_tiers * tr_announcerAddTorrent (tr_torrent          * torrent,
    7676                                                  tr_tracker_callback * cb,
    77                                                   void                * cbdata );
     77                                                  void                * cbdata);
    7878
    79 bool tr_announcerHasBacklog( const struct tr_announcer * );
     79bool tr_announcerHasBacklog (const struct tr_announcer *);
    8080
    81 void tr_announcerResetTorrent( struct tr_announcer*, tr_torrent* );
     81void tr_announcerResetTorrent (struct tr_announcer*, tr_torrent*);
    8282
    83 void tr_announcerRemoveTorrent( struct tr_announcer * ,
    84                                 tr_torrent          * );
     83void tr_announcerRemoveTorrent (struct tr_announcer * ,
     84                                tr_torrent          *);
    8585
    86 void tr_announcerChangeMyPort( tr_torrent * );
     86void tr_announcerChangeMyPort (tr_torrent *);
    8787
    88 bool tr_announcerCanManualAnnounce( const tr_torrent * );
     88bool tr_announcerCanManualAnnounce (const tr_torrent *);
    8989
    90 void tr_announcerManualAnnounce( tr_torrent * );
     90void tr_announcerManualAnnounce (tr_torrent *);
    9191
    92 void tr_announcerTorrentStarted( tr_torrent * );
    93 void tr_announcerTorrentStopped( tr_torrent * );
    94 void tr_announcerTorrentCompleted( tr_torrent * );
     92void tr_announcerTorrentStarted (tr_torrent *);
     93void tr_announcerTorrentStopped (tr_torrent *);
     94void tr_announcerTorrentCompleted (tr_torrent *);
    9595
    9696enum { TR_ANN_UP, TR_ANN_DOWN, TR_ANN_CORRUPT };
    97 void tr_announcerAddBytes( tr_torrent *, int up_down_or_corrupt, uint32_t byteCount );
     97void tr_announcerAddBytes (tr_torrent *, int up_down_or_corrupt, uint32_t byteCount);
    9898
    99 time_t tr_announcerNextManualAnnounce( const tr_torrent * );
     99time_t tr_announcerNextManualAnnounce (const tr_torrent *);
    100100
    101 tr_tracker_stat * tr_announcerStats( const tr_torrent * torrent,
    102                                      int              * setmeTrackerCount );
     101tr_tracker_stat * tr_announcerStats (const tr_torrent * torrent,
     102                                     int              * setmeTrackerCount);
    103103
    104 void tr_announcerStatsFree( tr_tracker_stat * trackers,
    105                             int               trackerCount );
     104void tr_announcerStatsFree (tr_tracker_stat * trackers,
     105                            int               trackerCount);
    106106
    107107/***
     
    109109***/
    110110
    111 void tr_tracker_udp_upkeep( tr_session * session );
     111void tr_tracker_udp_upkeep (tr_session * session);
    112112
    113 void tr_tracker_udp_close( tr_session * session );
     113void tr_tracker_udp_close (tr_session * session);
    114114
    115 bool tr_tracker_udp_is_idle( const tr_session * session );
     115bool tr_tracker_udp_is_idle (const tr_session * session);
    116116
    117117
Note: See TracChangeset for help on using the changeset viewer.