Ignore:
Timestamp:
Sep 23, 2008, 7:11:04 PM (13 years ago)
Author:
charles
Message:

run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/blocklist.h

    r6140 r6795  
    44 * This file is licensed by the GPL version 2.  Works owned by the
    55 * Transmission project are granted a special exemption to clause 2(b)
    6  * so that the bulk of its code can remain under the MIT license. 
     6 * 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
    88 * the Transmission project.
     
    1717typedef struct tr_blocklist tr_blocklist;
    1818
    19 tr_blocklist* _tr_blocklistNew         ( const char * filename, int isEnabled );
    20 int           _tr_blocklistExists      ( const tr_blocklist * );
    21 const char*   _tr_blocklistGetFilename ( const tr_blocklist * );
     19tr_blocklist* _tr_blocklistNew( const char * filename,
     20                                int          isEnabled );
     21
     22int           _tr_blocklistExists( const tr_blocklist * );
     23
     24const char*   _tr_blocklistGetFilename( const tr_blocklist * );
     25
    2226int           _tr_blocklistGetRuleCount( const tr_blocklist * );
    23 void          _tr_blocklistFree        ( tr_blocklist * );
    24 int           _tr_blocklistIsEnabled   ( tr_blocklist * );
    25 void          _tr_blocklistSetEnabled  ( tr_blocklist *, int isEnabled );
    26 int           _tr_blocklistHasAddress  ( tr_blocklist *, const struct in_addr * addr );
    27 int           _tr_blocklistSetContent  ( tr_blocklist *, const char * filename );
     27
     28void          _tr_blocklistFree( tr_blocklist * );
     29
     30int           _tr_blocklistIsEnabled( tr_blocklist * );
     31
     32void          _tr_blocklistSetEnabled(             tr_blocklist *,
     33                                               int isEnabled );
     34
     35int           _tr_blocklistHasAddress(
     36              tr_blocklist *,
     37    const struct
     38    in_addr * addr );
     39
     40int           _tr_blocklistSetContent(
     41                 tr_blocklist *,
     42    const char * filename );
    2843
    2944#endif
Note: See TracChangeset for help on using the changeset viewer.