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

#include <ctime>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <iterator>
#include <algorithm>
#include <set>
#include <boost/lexical_cast.hpp>
#include <boost/date_time/gregorian/gregorian_types.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/next_prior.hpp>
#include <boost/bind.hpp>
#include "libtorrent/torrent_info.hpp"
#include "libtorrent/bencode.hpp"
#include "libtorrent/hasher.hpp"
#include "libtorrent/entry.hpp"

Go to the source code of this file.

Namespaces

namespace  libtorrent

Functions

void convert_to_utf8 (std::string &str, unsigned char chr)
void verify_encoding (file_entry &target)
void extract_single_file (const entry &dict, file_entry &target, std::string const &root_dir)
void extract_files (const entry::list_type &list, std::vector< file_entry > &target, std::string const &root_dir)
void remove_dir (path &p)


Function Documentation

void @292::convert_to_utf8 ( std::string &  str,
unsigned char  chr 
) [static]

Definition at line 40 of file torrent_info.cpp.

Referenced by verify_encoding().

void @292::extract_files ( const entry::list_type &  list,
std::vector< file_entry > &  target,
std::string const &  root_dir 
) [static]

Definition at line 164 of file torrent_info.cpp.

References extract_single_file().

Referenced by libtorrent::torrent_info::parse_info_section().

void @292::extract_single_file ( const entry dict,
file_entry target,
std::string const &  root_dir 
) [static]

void @292::remove_dir ( path &  p  )  [static]

Definition at line 177 of file torrent_info.cpp.

References asio::placeholders::iterator.

void @292::verify_encoding ( file_entry target  )  [static]


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