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

#include <ctime>
#include <iterator>
#include <algorithm>
#include <set>
#include <functional>
#include <boost/lexical_cast.hpp>
#include <boost/filesystem/convenience.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/ref.hpp>
#include <boost/date_time/posix_time/posix_time_types.hpp>
#include <boost/bind.hpp>
#include <boost/version.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/member.hpp>
#include <boost/multi_index/ordered_index.hpp>
#include "libtorrent/storage.hpp"
#include "libtorrent/torrent.hpp"
#include "libtorrent/hasher.hpp"
#include "libtorrent/session.hpp"
#include "libtorrent/peer_id.hpp"
#include "libtorrent/file.hpp"
#include "libtorrent/invariant_check.hpp"
#include "libtorrent/file_pool.hpp"
#include "libtorrent/aux_/session_impl.hpp"
#include <ios>
#include <iostream>
#include <iomanip>
#include <cstdio>

Go to the source code of this file.

Namespaces

namespace  libtorrent

Classes

struct  libtorrent::thread_safe_storage
struct  libtorrent::slot_lock
class  libtorrent::storage::impl
class  libtorrent::piece_manager::impl

Functions

bool operator< (boost::filesystem::path const &lhs, boost::filesystem::path const &rhs)
void print_to_log (const std::string &s)
std::vector< std::pair
< size_type, std::time_t > > 
libtorrent::get_filesizes (torrent_info const &t, path p)
bool libtorrent::match_filesizes (torrent_info const &t, path p, std::vector< std::pair< size_type, std::time_t > > const &sizes, std::string *error)


Function Documentation

bool operator< ( boost::filesystem::path const &  lhs,
boost::filesystem::path const &  rhs 
)

Definition at line 176 of file storage.cpp.

void @289::print_to_log ( const std::string &  s  )  [static]


Variable Documentation

boost::condition& m_cond

Definition at line 1805 of file storage.cpp.

boost::mutex& m_monitor

Definition at line 1807 of file storage.cpp.


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