#include "libtorrent/allocate_resources.hpp"#include "libtorrent/size_type.hpp"#include "libtorrent/peer_connection.hpp"#include "libtorrent/torrent.hpp"#include "libtorrent/aux_/allocate_resources_impl.hpp"#include <cassert>#include <algorithm>#include <boost/limits.hpp>#include <boost/iterator/transform_iterator.hpp>Go to the source code of this file.
Namespaces | |
| namespace | libtorrent |
| namespace | libtorrent::aux |
Functions | |
| int | libtorrent::saturated_add (int a, int b) |
| peer_connection & | libtorrent::aux::pick_peer (std::pair< boost::shared_ptr< stream_socket >, boost::intrusive_ptr< peer_connection > > const &p) |
| peer_connection & | libtorrent::aux::pick_peer2 (std::pair< tcp::endpoint, peer_connection * > const &p) |
| torrent & | libtorrent::aux::deref (std::pair< sha1_hash, boost::shared_ptr< torrent > > const &p) |
| session & | libtorrent::aux::deref (session *p) |
| void | libtorrent::allocate_resources (int resources, std::map< sha1_hash, boost::shared_ptr< torrent > > &torrents, resource_request torrent::*res) |
| void | libtorrent::allocate_resources (int resources, std::map< tcp::endpoint, peer_connection * > &connections, resource_request peer_connection::*res) |
| void | libtorrent::allocate_resources (int resources, std::vector< session * > &_sessions, resource_request session::*res) |
1.5.6