moved the asio headers into the include directory, to have them installed when libtorrent is installed. improved the complexity of torrent_info::map_file(), It's now O(1).

This commit is contained in:
Arvid Norberg
2006-06-17 22:04:25 +00:00
parent 1a081561c4
commit 903e11e458
12 changed files with 173 additions and 283 deletions

View File

@@ -3,6 +3,7 @@ libtorrent manual
=================
:Author: Arvid Norberg, arvid@rasterbar.com
:Version: 0.9.2
.. contents:: Table of contents
:depth: 2
@@ -1146,11 +1147,16 @@ The ``path`` is the full (relative) path of each file. i.e. if it is a multi-fil
torrent, all the files starts with a directory with the same name as ``torrent_info::name()``.
The filenames are encoded with UTF-8.
``size`` is the size of the file (in bytes) and ``offset`` is the byte offset
of the file within the torrent. i.e. the sum of all the sizes of the files
before this one in the file list this one in the file list..
::
struct file_entry
{
boost::filesystem::path path;
size_type offset;
size_type size;
};