libtorrent::aux Namespace Reference


Classes

class  allocate_resources_contract_check
struct  piece_checker_data
struct  checker_impl
struct  session_impl
struct  eh_initializer
struct  filesystem_init
struct  seed_random_generator

Functions

int give (resource_request &r, int num_resources)
int div_round_up (int numerator, int denominator)
template<class It, class T>
void allocate_resources_impl (int resources, It start, It end, resource_request T::*res)
peer_connectionpick_peer (std::pair< boost::shared_ptr< stream_socket >, boost::intrusive_ptr< peer_connection > > const &p)
peer_connectionpick_peer2 (std::pair< tcp::endpoint, peer_connection * > const &p)
torrentderef (std::pair< sha1_hash, boost::shared_ptr< torrent > > const &p)
sessionderef (session *p)


Function Documentation

template<class It, class T>
void libtorrent::aux::allocate_resources_impl ( int  resources,
It  start,
It  end,
resource_request T::*  res 
) [inline]

session& libtorrent::aux::deref ( session *  p  ) 

Definition at line 129 of file allocate_resources.cpp.

torrent& libtorrent::aux::deref ( std::pair< sha1_hash, boost::shared_ptr< torrent > > const &  p  ) 

Definition at line 124 of file allocate_resources.cpp.

Referenced by libtorrent::allocate_resources().

int libtorrent::aux::div_round_up ( int  numerator,
int  denominator 
) [inline]

Definition at line 77 of file allocate_resources_impl.hpp.

Referenced by allocate_resources_impl().

int libtorrent::aux::give ( resource_request &  r,
int  num_resources 
) [inline]

peer_connection& libtorrent::aux::pick_peer ( std::pair< boost::shared_ptr< stream_socket >, boost::intrusive_ptr< peer_connection > > const &  p  ) 

Definition at line 111 of file allocate_resources.cpp.

peer_connection& libtorrent::aux::pick_peer2 ( std::pair< tcp::endpoint, peer_connection * > const &  p  ) 

Definition at line 118 of file allocate_resources.cpp.

Referenced by libtorrent::allocate_resources().


Generated on Sun May 25 00:21:45 2008 by  doxygen 1.5.6