file_storage.hpp   file_storage.hpp 
skipping to change at line 111 skipping to change at line 111
reverse_iterator rend() const { return m_files.rend(); } reverse_iterator rend() const { return m_files.rend(); }
int num_files() const int num_files() const
{ return int(m_files.size()); } { return int(m_files.size()); }
file_entry const& at(int index) const file_entry const& at(int index) const
{ {
TORRENT_ASSERT(index >= 0 && index < int(m_files.siz e())); TORRENT_ASSERT(index >= 0 && index < int(m_files.siz e()));
return m_files[index]; return m_files[index];
} }
size_type total_size() const { TORRENT_ASSERT(m_piece_length > 0); return m_total_size; } size_type total_size() const { return m_total_size; }
void set_num_pieces(int n) { m_num_pieces = n; } void set_num_pieces(int n) { m_num_pieces = n; }
int num_pieces() const { TORRENT_ASSERT(m_piece_length > 0); return m_num_pieces; } int num_pieces() const { TORRENT_ASSERT(m_piece_length > 0); return m_num_pieces; }
void set_piece_length(int l) { m_piece_length = l; } void set_piece_length(int l) { m_piece_length = l; }
int piece_length() const { TORRENT_ASSERT(m_piece_length > 0 ); return m_piece_length; } int piece_length() const { TORRENT_ASSERT(m_piece_length > 0 ); return m_piece_length; }
int piece_size(int index) const; int piece_size(int index) const;
void set_name(std::string const& n) { m_name = n; } void set_name(std::string const& n) { m_name = n; }
const std::string& name() const { TORRENT_ASSERT(m_piece_len gth > 0); return m_name; } const std::string& name() const { TORRENT_ASSERT(m_piece_len gth > 0); return m_name; }
void swap(file_storage& ti) void swap(file_storage& ti)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 peer_connection.hpp   peer_connection.hpp 
skipping to change at line 156 skipping to change at line 156
// this function is called after it has been constructed and properly // this function is called after it has been constructed and properly
// reference counted. It is safe to call self() in this func tion // reference counted. It is safe to call self() in this func tion
// and schedule events with references to itself (that is no t safe to // and schedule events with references to itself (that is no t safe to
// do in the constructor). // do in the constructor).
virtual void start(); virtual void start();
virtual ~peer_connection(); virtual ~peer_connection();
void set_peer_info(policy::peer* pi) void set_peer_info(policy::peer* pi)
{ m_peer_info = pi; } {
TORRENT_ASSERT(m_peer_info == 0 || pi == 0 );
m_peer_info = pi;
}
policy::peer* peer_info_struct() const policy::peer* peer_info_struct() const
{ return m_peer_info; } { return m_peer_info; }
enum peer_speed_t { slow = 1, medium, fast }; enum peer_speed_t { slow = 1, medium, fast };
peer_speed_t peer_speed(); peer_speed_t peer_speed();
void send_allowed_set(); void send_allowed_set();
#ifndef TORRENT_DISABLE_EXTENSIONS #ifndef TORRENT_DISABLE_EXTENSIONS
 End of changes. 1 change blocks. 
1 lines changed or deleted 4 lines changed or added


 storage.hpp   storage.hpp 
skipping to change at line 43 skipping to change at line 43
#ifndef TORRENT_STORAGE_HPP_INCLUDE #ifndef TORRENT_STORAGE_HPP_INCLUDE
#define TORRENT_STORAGE_HPP_INCLUDE #define TORRENT_STORAGE_HPP_INCLUDE
#include <vector> #include <vector>
#include <bitset> #include <bitset>
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(push, 1) #pragma warning(push, 1)
#endif #endif
#include <boost/function.hpp>
#include <boost/limits.hpp> #include <boost/limits.hpp>
#include <boost/thread.hpp> #include <boost/thread.hpp>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
#include <boost/intrusive_ptr.hpp> #include <boost/intrusive_ptr.hpp>
#include <boost/filesystem/path.hpp> #include <boost/filesystem/path.hpp>
#ifdef _MSC_VER #ifdef _MSC_VER
#pragma warning(pop) #pragma warning(pop)
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 version.hpp   version.hpp 
skipping to change at line 38 skipping to change at line 38
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifndef TORRENT_VERSION_HPP_INCLUDED #ifndef TORRENT_VERSION_HPP_INCLUDED
#define TORRENT_VERSION_HPP_INCLUDED #define TORRENT_VERSION_HPP_INCLUDED
#define LIBTORRENT_VERSION_MAJOR 0 #define LIBTORRENT_VERSION_MAJOR 0
#define LIBTORRENT_VERSION_MINOR 14 #define LIBTORRENT_VERSION_MINOR 14
#define LIBTORRENT_VERSION_TINY 5 #define LIBTORRENT_VERSION_TINY 6
#define LIBTORRENT_VERSION "0.14.5.0" #define LIBTORRENT_VERSION "0.14.6.0"
#define LIBTORRENT_REVISION "$Rev: 3760 $" #define LIBTORRENT_REVISION "$Rev: 3869 $"
#endif #endif
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/