D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/src/policy.cpp File Reference

#include <iostream>
#include "libtorrent/peer_connection.hpp"
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/bind.hpp>
#include "libtorrent/web_peer_connection.hpp"
#include "libtorrent/policy.hpp"
#include "libtorrent/torrent.hpp"
#include "libtorrent/socket.hpp"
#include "libtorrent/alert_types.hpp"
#include "libtorrent/invariant_check.hpp"
#include "libtorrent/aux_/session_impl.hpp"

Go to the source code of this file.

Namespaces

namespace  libtorrent

Functions

size_type collect_free_download (torrent::peer_iterator start, torrent::peer_iterator end)
size_type distribute_free_upload (torrent::peer_iterator start, torrent::peer_iterator end, size_type free_upload)
void libtorrent::request_a_block (torrent &t, peer_connection &c, std::vector< peer_connection * > ignore=std::vector< peer_connection * >())


Function Documentation

size_type @284::collect_free_download ( torrent::peer_iterator  start,
torrent::peer_iterator  end 
) [static]

Definition at line 43 of file policy.cpp.

Referenced by libtorrent::policy::pulse().

size_type @284::distribute_free_upload ( torrent::peer_iterator  start,
torrent::peer_iterator  end,
size_type  free_upload 
) [static]


Variable Documentation

Definition at line 130 of file policy.cpp.

Definition at line 118 of file policy.cpp.


Generated on Sun May 25 00:19:42 2008 by  doxygen 1.5.6