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

#include <vector>
#include <iostream>
#include <cctype>
#include <iomanip>
#include <sstream>
#include "zlib.h"
#include <boost/bind.hpp>
#include "libtorrent/tracker_manager.hpp"
#include "libtorrent/http_tracker_connection.hpp"
#include "libtorrent/udp_tracker_connection.hpp"
#include "libtorrent/entry.hpp"
#include "libtorrent/bencode.hpp"
#include "libtorrent/torrent.hpp"
#include "libtorrent/peer_connection.hpp"

Go to the source code of this file.

Namespaces

namespace  libtorrent

Enumerations

enum  { minimum_tracker_response_length = 3, http_buffer_size = 2048 }
enum  {
  FTEXT = 0x01, FHCRC = 0x02, FEXTRA = 0x04, FNAME = 0x08,
  FCOMMENT = 0x10, FRESERVED = 0xe0, GZIP_MAGIC0 = 0x1f, GZIP_MAGIC1 = 0x8b
}

Functions

TORRENT_EXPORT int libtorrent::gzip_header (const char *buf, int size)
TORRENT_EXPORT bool libtorrent::inflate_gzip (std::vector< char > &buffer, tracker_request const &req, request_callback *requester, int maximum_tracker_response_length)
TORRENT_EXPORT std::string libtorrent::base64encode (const std::string &s)
TORRENT_EXPORT void libtorrent::intrusive_ptr_add_ref (timeout_handler const *)
TORRENT_EXPORT void libtorrent::intrusive_ptr_release (timeout_handler const *)
TORRENT_EXPORT boost::tuple
< std::string, std::string,
int, std::string > 
libtorrent::parse_url_components (std::string url)


Enumeration Type Documentation

anonymous enum

Enumerator:
minimum_tracker_response_length 
http_buffer_size 

Definition at line 33 of file tracker_manager.cpp.

anonymous enum

Enumerator:
FTEXT 
FHCRC 
FEXTRA 
FNAME 
FCOMMENT 
FRESERVED 
GZIP_MAGIC0 
GZIP_MAGIC1 

Definition at line 39 of file tracker_manager.cpp.


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