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

#include <vector>
#include <iostream>
#include <cctype>
#include <iomanip>
#include <sstream>
#include <algorithm>
#include "libtorrent/config.hpp"
#include "zlib.h"
#include <boost/bind.hpp>
#include "libtorrent/tracker_manager.hpp"
#include "libtorrent/http_tracker_connection.hpp"
#include "libtorrent/entry.hpp"
#include "libtorrent/bencode.hpp"
#include "libtorrent/torrent.hpp"
#include "libtorrent/io.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

bool url_has_argument (std::string const &url, std::string argument)
char to_lower (char c)


Enumeration Type Documentation

anonymous enum

Enumerator:
minimum_tracker_response_length 
http_buffer_size 

Definition at line 40 of file http_tracker_connection.cpp.

anonymous enum

Enumerator:
FTEXT 
FHCRC 
FEXTRA 
FNAME 
FCOMMENT 
FRESERVED 
GZIP_MAGIC0 
GZIP_MAGIC1 

Definition at line 46 of file http_tracker_connection.cpp.


Function Documentation

char @268::to_lower ( char  c  )  [static]

Definition at line 78 of file http_tracker_connection.cpp.

Referenced by libtorrent::http_parser::incoming().

bool @268::url_has_argument ( std::string const &  url,
std::string  argument 
) [static]


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