~ubuntu-branches/ubuntu/oneiric/libtorrent/oneiric

« back to all changes in this revision

Viewing changes to src/tracker/tracker_manager.h

  • Committer: Bazaar Package Importer
  • Author(s): Jose Luis Rivas
  • Date: 2007-09-11 15:12:31 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070911151231-brompt7pecvfbaau
Tags: 0.11.8-1
* New upstream version
* debian/patches/update-changelog.patch:
 + Updated with the new changelog.
* debian/control:
 + Added the Homepage field, deleted Homepages from the descriptions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// libTorrent - BitTorrent library
2
 
// Copyright (C) 2005-2006, Jari Sundell
 
2
// Copyright (C) 2005-2007, Jari Sundell
3
3
//
4
4
// This program is free software; you can redistribute it and/or modify
5
5
// it under the terms of the GNU General Public License as published by
45
45
 
46
46
namespace torrent {
47
47
 
 
48
class AddressList;
48
49
class DownloadWrapper;
49
50
class TrackerControl;
50
51
class DownloadInfo;
54
55
public:
55
56
  typedef uint32_t                                size_type;
56
57
  typedef std::pair<int, TrackerBase*>            value_type;
57
 
  typedef std::list<rak::socket_address>          AddressList;
58
58
 
59
59
  typedef rak::mem_fun1<DownloadWrapper, void, AddressList*>       SlotSuccess;
60
60
  typedef rak::mem_fun1<DownloadWrapper, void, const std::string&> SlotFailed;
72
72
  void                send_start();
73
73
  void                send_stop();
74
74
  void                send_completed();
 
75
  void                send_later();
75
76
 
76
77
  // Request more peers from current, or the next tracker on the
77
78
  // list. These functions will start from the current focus and