Classes | |
| struct | max2 |
| struct | max3 |
| struct | max4 |
| struct | type |
| class | filter_impl |
Functions | |
| template<class Handler, BOOST_PP_ENUM_PARAMS(TORRENT_MAX_ALERT_TYPES, class T) > | |
| void | handle_alert_dispatch (const std::auto_ptr< alert > &alert_, const Handler &handler, const std::type_info &typeid_, BOOST_PP_ENUM_BINARY_PARAMS(TORRENT_MAX_ALERT_TYPES, T,*p)) |
| template<class Handler> | |
| void | handle_alert_dispatch (const std::auto_ptr< alert > &alert_, const Handler &handler, const std::type_info &typeid_, BOOST_PP_ENUM_PARAMS(TORRENT_MAX_ALERT_TYPES, void_ *BOOST_PP_INTERCEPT)) |
| template<class OutIt> | |
| void | write_string (OutIt &out, const std::string &val) |
| TORRENT_EXPORT char const * | integer_to_str (char *buf, int size, entry::integer_type val) |
| template<class OutIt> | |
| void | write_integer (OutIt &out, entry::integer_type val) |
| template<class OutIt> | |
| void | write_char (OutIt &out, char c) |
| template<class InIt> | |
| std::string | read_until (InIt &in, InIt end, char end_token) |
| template<class InIt> | |
| void | read_string (InIt &in, InIt end, int len, std::string &str) |
| template<class OutIt> | |
| void | bencode_recursive (OutIt &out, const entry &e) |
| template<class InIt> | |
| void | bdecode_recursive (InIt &in, InIt end, entry &ret) |
| template<class T, class InIt> | |
| T | read_impl (InIt &start, type< T >) |
| template<class T, class OutIt> | |
| void | write_impl (T val, OutIt &start) |
| template<class InIt> | |
| boost::int64_t | read_int64 (InIt &start) |
| template<class InIt> | |
| boost::uint64_t | read_uint64 (InIt &start) |
| template<class InIt> | |
| boost::uint32_t | read_uint32 (InIt &start) |
| template<class InIt> | |
| boost::int32_t | read_int32 (InIt &start) |
| template<class InIt> | |
| boost::int16_t | read_int16 (InIt &start) |
| template<class InIt> | |
| boost::uint16_t | read_uint16 (InIt &start) |
| template<class InIt> | |
| boost::int8_t | read_int8 (InIt &start) |
| template<class InIt> | |
| boost::uint8_t | read_uint8 (InIt &start) |
| template<class OutIt> | |
| void | write_uint64 (boost::uint64_t val, OutIt &start) |
| template<class OutIt> | |
| void | write_int64 (boost::int64_t val, OutIt &start) |
| template<class OutIt> | |
| void | write_uint32 (boost::uint32_t val, OutIt &start) |
| template<class OutIt> | |
| void | write_int32 (boost::int32_t val, OutIt &start) |
| template<class OutIt> | |
| void | write_uint16 (boost::uint16_t val, OutIt &start) |
| template<class OutIt> | |
| void | write_int16 (boost::int16_t val, OutIt &start) |
| template<class OutIt> | |
| void | write_uint8 (boost::uint8_t val, OutIt &start) |
| template<class OutIt> | |
| void | write_int8 (boost::int8_t val, OutIt &start) |
| template<class OutIt> | |
| void | write_address (address const &a, OutIt &out) |
| template<class InIt> | |
| address | read_v4_address (InIt &in) |
| template<class InIt> | |
| address | read_v6_address (InIt &in) |
| template<class Endpoint, class OutIt> | |
| void | write_endpoint (Endpoint const &e, OutIt &out) |
| template<class Endpoint, class InIt> | |
| Endpoint | read_v4_endpoint (InIt &in) |
| template<class Endpoint, class InIt> | |
| Endpoint | read_v6_endpoint (InIt &in) |
| template<typename InputIterator> | |
| wchar_t | decode_utf8_mb (InputIterator &iter, InputIterator last) |
| template<typename InputIterator> | |
| wchar_t | decode_utf8 (InputIterator &iter, InputIterator last) |
| template<typename InputIterator, typename OutputIterator> | |
| OutputIterator | utf8_wchar (InputIterator first, InputIterator last, OutputIterator dest) |
| template<typename InputIterator, typename OutputIterator> | |
| void | encode_wchar (InputIterator iter, OutputIterator &dest) |
| template<typename InputIterator, typename OutputIterator> | |
| OutputIterator | wchar_utf8 (InputIterator first, InputIterator last, OutputIterator dest) |
| std::string | generate_auth_string (std::string const &user, std::string const &passwd) |
| void libtorrent::detail::bdecode_recursive | ( | InIt & | in, | |
| InIt | end, | |||
| entry & | ret | |||
| ) | [inline] |
Definition at line 203 of file bencode.hpp.
References libtorrent::entry::dictionary_t, simple_client::e, libtorrent::entry::int_t, libtorrent::entry::integer(), libtorrent::entry::list(), libtorrent::entry::list_t, read_string(), read_until(), libtorrent::entry::string(), and libtorrent::entry::string_t.
Referenced by libtorrent::bdecode().
| void libtorrent::detail::bencode_recursive | ( | OutIt & | out, | |
| const entry & | e | |||
| ) | [inline] |
Definition at line 162 of file bencode.hpp.
References libtorrent::entry::dict(), libtorrent::entry::dictionary_t, libtorrent::entry::int_t, libtorrent::entry::integer(), libtorrent::entry::list(), libtorrent::entry::list_t, libtorrent::entry::string(), libtorrent::entry::string_t, libtorrent::entry::type(), write_char(), write_integer(), and write_string().
Referenced by libtorrent::bencode().
| wchar_t libtorrent::detail::decode_utf8 | ( | InputIterator & | iter, | |
| InputIterator | last | |||
| ) | [inline] |
| wchar_t libtorrent::detail::decode_utf8_mb | ( | InputIterator & | iter, | |
| InputIterator | last | |||
| ) | [inline] |
| void libtorrent::detail::encode_wchar | ( | InputIterator | iter, | |
| OutputIterator & | dest | |||
| ) | [inline] |
| std::string libtorrent::detail::generate_auth_string | ( | std::string const & | user, | |
| std::string const & | passwd | |||
| ) |
Definition at line 61 of file session_impl.cpp.
| void libtorrent::detail::handle_alert_dispatch | ( | const std::auto_ptr< alert > & | alert_, | |
| const Handler & | handler, | |||
| const std::type_info & | typeid_, | |||
| BOOST_PP_ENUM_PARAMS(TORRENT_MAX_ALERT_TYPES, void_ *BOOST_PP_INTERCEPT) | ||||
| ) | [inline] |
| void libtorrent::detail::handle_alert_dispatch | ( | const std::auto_ptr< alert > & | alert_, | |
| const Handler & | handler, | |||
| const std::type_info & | typeid_, | |||
| BOOST_PP_ENUM_BINARY_PARAMS(TORRENT_MAX_ALERT_TYPES, T,*p) | ||||
| ) | [inline] |
| TORRENT_EXPORT char const * libtorrent::detail::integer_to_str | ( | char * | buf, | |
| int | size, | |||
| entry::integer_type | val | |||
| ) |
| T libtorrent::detail::read_impl | ( | InIt & | start, | |
| type< T > | ||||
| ) | [inline] |
Definition at line 48 of file io.hpp.
Referenced by read_int16(), read_int32(), read_int64(), read_int8(), read_uint16(), read_uint32(), read_uint64(), and read_uint8().
| boost::int16_t libtorrent::detail::read_int16 | ( | InIt & | start | ) | [inline] |
| boost::int32_t libtorrent::detail::read_int32 | ( | InIt & | start | ) | [inline] |
Definition at line 85 of file io.hpp.
References read_impl().
Referenced by libtorrent::udp_tracker_connection::announce_response(), libtorrent::udp_tracker_connection::connect_response(), libtorrent::bt_peer_connection::downloading_piece_progress(), libtorrent::bt_peer_connection::on_cancel(), libtorrent::bt_peer_connection::on_have(), libtorrent::bt_peer_connection::on_piece(), libtorrent::bt_peer_connection::on_receive(), libtorrent::bt_peer_connection::on_request(), and libtorrent::udp_tracker_connection::scrape_response().
| boost::int64_t libtorrent::detail::read_int64 | ( | InIt & | start | ) | [inline] |
Definition at line 73 of file io.hpp.
References read_impl().
Referenced by libtorrent::udp_tracker_connection::connect_response().
| boost::int8_t libtorrent::detail::read_int8 | ( | InIt & | start | ) | [inline] |
| void libtorrent::detail::read_string | ( | InIt & | in, | |
| InIt | end, | |||
| int | len, | |||
| std::string & | str | |||
| ) | [inline] |
| boost::uint16_t libtorrent::detail::read_uint16 | ( | InIt & | start | ) | [inline] |
Definition at line 93 of file io.hpp.
References read_impl().
Referenced by libtorrent::udp_tracker_connection::announce_response(), libtorrent::dht::rpc_manager::incoming(), libtorrent::bt_peer_connection::on_dht_port(), libtorrent::http_tracker_connection::parse(), read_v4_endpoint(), and read_v6_endpoint().
| boost::uint32_t libtorrent::detail::read_uint32 | ( | InIt & | start | ) | [inline] |
| boost::uint64_t libtorrent::detail::read_uint64 | ( | InIt & | start | ) | [inline] |
| boost::uint8_t libtorrent::detail::read_uint8 | ( | InIt & | start | ) | [inline] |
Definition at line 101 of file io.hpp.
References read_impl().
Referenced by libtorrent::udp_tracker_connection::announce_response(), libtorrent::bt_peer_connection::on_extended(), libtorrent::http_tracker_connection::parse(), and read_v6_address().
| std::string libtorrent::detail::read_until | ( | InIt & | in, | |
| InIt | end, | |||
| char | end_token | |||
| ) | [inline] |
| address libtorrent::detail::read_v4_address | ( | InIt & | in | ) | [inline] |
Definition at line 114 of file socket.hpp.
References ip, and read_uint32().
Referenced by read_v4_endpoint().
| Endpoint libtorrent::detail::read_v4_endpoint | ( | InIt & | in | ) | [inline] |
| address libtorrent::detail::read_v6_address | ( | InIt & | in | ) | [inline] |
Definition at line 121 of file socket.hpp.
References asio::placeholders::iterator, and read_uint8().
Referenced by read_v6_endpoint().
| Endpoint libtorrent::detail::read_v6_endpoint | ( | InIt & | in | ) | [inline] |
| OutputIterator libtorrent::detail::utf8_wchar | ( | InputIterator | first, | |
| InputIterator | last, | |||
| OutputIterator | dest | |||
| ) | [inline] |
| OutputIterator libtorrent::detail::wchar_utf8 | ( | InputIterator | first, | |
| InputIterator | last, | |||
| OutputIterator | dest | |||
| ) | [inline] |
| void libtorrent::detail::write_address | ( | address const & | a, | |
| OutIt & | out | |||
| ) | [inline] |
Definition at line 99 of file socket.hpp.
References asio::ip::address::is_v4(), asio::ip::address::is_v6(), asio::ip::address_v6::to_bytes(), asio::ip::address_v4::to_ulong(), asio::ip::address::to_v4(), asio::ip::address::to_v6(), and write_uint32().
Referenced by write_endpoint(), and libtorrent::bt_peer_connection::write_extensions().
| void libtorrent::detail::write_char | ( | OutIt & | out, | |
| char | c | |||
| ) | [inline] |
| void libtorrent::detail::write_endpoint | ( | Endpoint const & | e, | |
| OutIt & | out | |||
| ) | [inline] |
Definition at line 132 of file socket.hpp.
References write_address(), and write_uint16().
Referenced by libtorrent::dht::dht_tracker::send_packet(), and libtorrent::dht::dht_tracker::state().
| void libtorrent::detail::write_impl | ( | T | val, | |
| OutIt & | start | |||
| ) | [inline] |
Definition at line 61 of file io.hpp.
Referenced by write_int16(), write_int32(), write_int64(), write_int8(), write_uint16(), write_uint32(), write_uint64(), and write_uint8().
| void libtorrent::detail::write_int16 | ( | boost::int16_t | val, | |
| OutIt & | start | |||
| ) | [inline] |
| void libtorrent::detail::write_int32 | ( | boost::int32_t | val, | |
| OutIt & | start | |||
| ) | [inline] |
Definition at line 118 of file io.hpp.
References write_impl().
Referenced by libtorrent::udp_tracker_connection::send_udp_announce(), libtorrent::udp_tracker_connection::send_udp_connect(), libtorrent::udp_tracker_connection::send_udp_scrape(), libtorrent::bt_peer_connection::write_bitfield(), libtorrent::bt_peer_connection::write_cancel(), libtorrent::bt_peer_connection::write_extensions(), libtorrent::bt_peer_connection::write_have(), libtorrent::bt_peer_connection::write_piece(), and libtorrent::bt_peer_connection::write_request().
| void libtorrent::detail::write_int64 | ( | boost::int64_t | val, | |
| OutIt & | start | |||
| ) | [inline] |
Definition at line 110 of file io.hpp.
References write_impl().
Referenced by libtorrent::udp_tracker_connection::send_udp_announce(), and libtorrent::udp_tracker_connection::send_udp_scrape().
| void libtorrent::detail::write_int8 | ( | boost::int8_t | val, | |
| OutIt & | start | |||
| ) | [inline] |
| void libtorrent::detail::write_integer | ( | OutIt & | out, | |
| entry::integer_type | val | |||
| ) | [inline] |
Definition at line 113 of file bencode.hpp.
References BOOST_STATIC_ASSERT(), and integer_to_str().
Referenced by bencode_recursive().
| void libtorrent::detail::write_string | ( | OutIt & | out, | |
| const std::string & | val | |||
| ) | [inline] |
| void libtorrent::detail::write_uint16 | ( | boost::uint16_t | val, | |
| OutIt & | start | |||
| ) | [inline] |
Definition at line 122 of file io.hpp.
References write_impl().
Referenced by libtorrent::dht::rpc_manager::reply_with_ping(), libtorrent::udp_tracker_connection::send_udp_announce(), libtorrent::bt_peer_connection::write_dht_port(), and write_endpoint().
| void libtorrent::detail::write_uint32 | ( | boost::uint32_t | val, | |
| OutIt & | start | |||
| ) | [inline] |
Definition at line 114 of file io.hpp.
References write_impl().
Referenced by libtorrent::udp_tracker_connection::send_udp_connect(), write_address(), and libtorrent::bt_peer_connection::write_dht_port().
| void libtorrent::detail::write_uint64 | ( | boost::uint64_t | val, | |
| OutIt & | start | |||
| ) | [inline] |
| void libtorrent::detail::write_uint8 | ( | boost::uint8_t | val, | |
| OutIt & | start | |||
| ) | [inline] |
Definition at line 130 of file io.hpp.
References write_impl().
Referenced by libtorrent::dht::dht_tracker::send_packet(), libtorrent::bt_peer_connection::write_bitfield(), libtorrent::bt_peer_connection::write_dht_port(), libtorrent::bt_peer_connection::write_extensions(), and libtorrent::bt_peer_connection::write_piece().
1.5.6