~ubuntu-branches/ubuntu/lucid/transmission/lucid

« back to all changes in this revision

Viewing changes to libtransmission/peer-common.h

  • Committer: Bazaar Package Importer
  • Author(s): Krzysztof Klimonda, Krzysztof Klimonda, Chris Coulson
  • Date: 2009-12-11 11:46:59 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20091211114659-6ebcmonweaixdpl3
Tags: 1.80~b5-0ubuntu1
[ Krzysztof Klimonda ]
* New upstream release (LP: #496503)
* Refreshed 99_autoreconf.patch
* Removed 21_fix_inhibition.patch

[ Chris Coulson ]
* Drop debian/patches/CVE-2010-0012.patch - merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * This file Copyright (C) 2008-2009 Mnemosyne LLC
 
2
 * This file Copyright (C) 2008-2010 Mnemosyne LLC
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)
7
7
 * This exemption does not extend to derived works not owned by
8
8
 * the Transmission project.
9
9
 *
10
 
 * $Id: peer-common.h 9671 2009-12-05 02:19:24Z charles $
 
10
 * $Id: peer-common.h 9890 2010-01-05 23:47:50Z charles $
11
11
 */
12
12
 
13
13
#ifndef __TRANSMISSION__
30
30
 
31
31
enum
32
32
{
33
 
    /** when we're making requests from another peer, 
 
33
    /** when we're making requests from another peer,
34
34
        batch them together to send enough requests to
35
35
        meet our bandwidth goals for the next N seconds */
36
 
    REQUEST_BUF_SECS = 10,
37
 
 
38
 
    /** how long we'll let requests we've made stay pending
39
 
        before we cancel them */
40
 
    REQUEST_TTL_SECS = 30
 
36
    REQUEST_BUF_SECS = 10
41
37
};
42
38
 
43
39
typedef enum