~ubuntu-branches/ubuntu/jaunty/transmission/jaunty-updates

« back to all changes in this revision

Viewing changes to libtransmission/blocklist.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2008-11-28 15:33:48 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20081128153348-it70trfnxiroblmc
Tags: 1.40-0ubuntu1
* New upstream release (LP: #302672)
  - Tracker communication uses fewer resources
  - More accurate bandwidth limits
  - Reduce disk fragmentation by preallocating files (LP: #287726)
  - Stability, security and performance improvements to the RPC /
    Web UI server (closes LP: #290423)
  - Support compression when serving Web UI and RPC responses
  - Simplify the RPC whitelist
  - Fix bug that prevented handshakes with encrypted BitComet peers
  - Fix 1.3x bug that could re-download some data unnecessarily
    (LP: #295040)
  - Option to automatically update the blocklist weekly
  - Added off-hour bandwidth scheduling
  - Simplify file/priority selection in the details dialog
  - Fix a couple of crashes
  - New / updated translations
  - Don't inhibit hibernation by default (LP: #292929)
  - Use "close" animation when sending to notification area (LP: #130811)
  - Fix resize problems (LP: #269872)
  - Support "--version" option when launching from command line
    (LP: #292011)
  - Correctly parse announce URLs that have leading or trailing
    spaces (LP: #262411)
  - Display an error when "Open Torrent" fails (LP: #281463)
* Dropped 10_fix_crasher_from_upstream.dpatch: Fix is in this
  upstream release.
* debian/control: Don't just build-depend on libcurl-dev, which is
  a virtual package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *
4
4
 * This file is licensed by the GPL version 2.  Works owned by the
5
5
 * 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.
7
7
 * This exemption does not extend to derived works not owned by
8
8
 * the Transmission project.
9
9
 *
10
 
 * $Id: blocklist.h 6140 2008-06-11 16:15:45Z charles $
 
10
 * $Id: blocklist.h 6949 2008-10-23 02:37:21Z charles $
11
11
 */
12
12
 
13
13
#ifndef TR_BLOCKLIST_H
16
16
struct in_addr;
17
17
typedef struct tr_blocklist tr_blocklist;
18
18
 
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 * );
 
19
tr_blocklist* _tr_blocklistNew( const char * filename,
 
20
                                int          isEnabled );
 
21
 
 
22
int           _tr_blocklistExists( const tr_blocklist * );
 
23
 
 
24
const char*   _tr_blocklistGetFilename( const tr_blocklist * );
 
25
 
22
26
int           _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
 
 
28
void          _tr_blocklistFree( tr_blocklist * );
 
29
 
 
30
int           _tr_blocklistIsEnabled( tr_blocklist * );
 
31
 
 
32
void          _tr_blocklistSetEnabled(             tr_blocklist *,
 
33
                                               int isEnabled );
 
34
 
 
35
int           _tr_blocklistHasAddress(
 
36
              tr_blocklist *,
 
37
    const struct
 
38
    in_addr * addr );
 
39
 
 
40
int           _tr_blocklistSetContent(
 
41
                 tr_blocklist *,
 
42
    const char * filename );
28
43
 
29
44
#endif