alert_types.hpp   alert_types.hpp 
skipping to change at line 1326 skipping to change at line 1326
{ {
TORRENT_DEFINE_ALERT(state_update_alert); TORRENT_DEFINE_ALERT(state_update_alert);
const static int static_category = alert::status_notificatio n; const static int static_category = alert::status_notificatio n;
virtual std::string message() const; virtual std::string message() const;
virtual bool discardable() const { return false; } virtual bool discardable() const { return false; }
std::vector<torrent_status> status; std::vector<torrent_status> status;
}; };
struct TORRENT_EXPORT i2p_alert : alert
{
i2p_alert(error_code const& ec) : error(ec) {}
TORRENT_DEFINE_ALERT(i2p_alert);
const static int static_category = alert::error_notification
;
virtual std::string message() const;
error_code error;
};
#undef TORRENT_DEFINE_ALERT #undef TORRENT_DEFINE_ALERT
} }
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 12 lines changed or added


 dht_tracker.hpp   dht_tracker.hpp 
skipping to change at line 82 skipping to change at line 82
TORRENT_EXTRA_EXPORT void intrusive_ptr_release(dht_tracker const*); TORRENT_EXTRA_EXPORT void intrusive_ptr_release(dht_tracker const*);
struct dht_tracker struct dht_tracker
{ {
friend void intrusive_ptr_add_ref(dht_tracker const*); friend void intrusive_ptr_add_ref(dht_tracker const*);
friend void intrusive_ptr_release(dht_tracker const*); friend void intrusive_ptr_release(dht_tracker const*);
friend bool send_callback(void* userdata, entry& e, udp::end point const& addr, int flags); friend bool send_callback(void* userdata, entry& e, udp::end point const& addr, int flags);
dht_tracker(libtorrent::aux::session_impl& ses, rate_limited _udp_socket& sock dht_tracker(libtorrent::aux::session_impl& ses, rate_limited _udp_socket& sock
, dht_settings const& settings, entry const* state = 0); , dht_settings const& settings, entry const* state = 0);
void start(entry const& bootstrap); void start(entry const& bootstrap
, find_data::nodes_callback const& f);
void stop(); void stop();
void add_node(udp::endpoint node); void add_node(udp::endpoint node);
void add_node(std::pair<std::string, int> const& node); void add_node(std::pair<std::string, int> const& node);
void add_router_node(udp::endpoint const& node); void add_router_node(udp::endpoint const& node);
entry state() const; entry state() const;
void announce(sha1_hash const& ih, int listen_port, bool see d void announce(sha1_hash const& ih, int listen_port, bool see d
, boost::function<void(std::vector<tcp::endpoint> co nst&)> f); , boost::function<void(std::vector<tcp::endpoint> co nst&)> f);
 End of changes. 1 change blocks. 
1 lines changed or deleted 2 lines changed or added


 file.hpp   file.hpp 
skipping to change at line 284 skipping to change at line 284
#if defined TORRENT_WINDOWS || defined TORRENT_LINUX || defined TORRENT_DEB UG #if defined TORRENT_WINDOWS || defined TORRENT_LINUX || defined TORRENT_DEB UG
static void init_file(); static void init_file();
static int m_page_size; static int m_page_size;
#endif #endif
int m_open_mode; int m_open_mode;
#if defined TORRENT_WINDOWS || defined TORRENT_LINUX #if defined TORRENT_WINDOWS || defined TORRENT_LINUX
mutable int m_sector_size; mutable int m_sector_size;
#endif #endif
#if defined TORRENT_WINDOWS #if defined TORRENT_WINDOWS
mutable int m_cluster_size; mutable int m_cluster_size;
static bool has_manage_volume_privs;
#endif #endif
}; };
} }
#endif // TORRENT_FILE_HPP_INCLUDED #endif // TORRENT_FILE_HPP_INCLUDED
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added


 find_data.hpp   find_data.hpp 
skipping to change at line 68 skipping to change at line 68
// -------- find data ----------- // -------- find data -----------
//TODO: rename this to find_peers //TODO: rename this to find_peers
class find_data : public traversal_algorithm class find_data : public traversal_algorithm
{ {
public: public:
typedef boost::function<void(std::vector<tcp::endpoint> const&)> dat a_callback; typedef boost::function<void(std::vector<tcp::endpoint> const&)> dat a_callback;
typedef boost::function<void(std::vector<std::pair<node_entry, std:: string> > const&, bool)> nodes_callback; typedef boost::function<void(std::vector<std::pair<node_entry, std:: string> > const&, bool)> nodes_callback;
void got_peers(std::vector<tcp::endpoint> const& peers); void got_peers(std::vector<tcp::endpoint> const& peers);
void got_write_token(node_id const& n, std::string const& write_toke void got_write_token(node_id const& n, std::string const& write_toke
n) n);
{ m_write_tokens[n] = write_token; }
find_data(node_impl& node, node_id target find_data(node_impl& node, node_id target
, data_callback const& dcallback , data_callback const& dcallback
, nodes_callback const& ncallback , nodes_callback const& ncallback
, bool noseeds); , bool noseeds);
virtual char const* name() const { return "get_peers"; } virtual char const* name() const { return "get_peers"; }
node_id const target() const { return m_target; } node_id const target() const { return m_target; }
 End of changes. 1 change blocks. 
3 lines changed or deleted 2 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 16 #define LIBTORRENT_VERSION_MINOR 16
#define LIBTORRENT_VERSION_TINY 15 #define LIBTORRENT_VERSION_TINY 16
// the format of this version is: MMmmtt // the format of this version is: MMmmtt
// M = Major version, m = minor version, t = tiny version // M = Major version, m = minor version, t = tiny version
#define LIBTORRENT_VERSION_NUM ((LIBTORRENT_VERSION_MAJOR * 10000) + (LIBTO RRENT_VERSION_MINOR * 100) + LIBTORRENT_VERSION_TINY) #define LIBTORRENT_VERSION_NUM ((LIBTORRENT_VERSION_MAJOR * 10000) + (LIBTO RRENT_VERSION_MINOR * 100) + LIBTORRENT_VERSION_TINY)
#define LIBTORRENT_VERSION "0.16.15.0" #define LIBTORRENT_VERSION "0.16.16.0"
#define LIBTORRENT_REVISION "$Rev: 9694 $" #define LIBTORRENT_REVISION "$Rev: 9831 $"
#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/