From 9d09b11a6daef57f875ebf9b698d814c024f212c Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 10 Dec 2014 02:58:23 +0000 Subject: [PATCH] regenerate html --- docs/building.html | 21 +++++++++------------ docs/reference-Session.html | 28 ++++++++++++---------------- 2 files changed, 21 insertions(+), 28 deletions(-) diff --git a/docs/building.html b/docs/building.html index 0e82a8147..544a0e9db 100644 --- a/docs/building.html +++ b/docs/building.html @@ -276,10 +276,11 @@ libraries. logging @@ -643,14 +644,10 @@ compilation units having different views of structs and class layouts and sizes. TORRENT_LOGGING -This macro will enable logging of the session -events, such as tracker announces and incoming -connections (as well as blocked connections). - -TORRENT_VERBOSE_LOGGING -If you define this macro, every peer connection -will log its traffic to a log file as well as -the session log. +This macro will enable support for logging +alerts, like log_alert, torrent_log_alert and +peer_log_alert. Without this build flag, you +cannot enable those alerts. TORRENT_STORAGE_DEBUG This will enable extra expensive invariant diff --git a/docs/reference-Session.html b/docs/reference-Session.html index 2de0f8279..6aa499ea7 100644 --- a/docs/reference-Session.html +++ b/docs/reference-Session.html @@ -513,18 +513,16 @@ class session: public boost::noncopyable session (fingerprint const& print = fingerprint("LT" , LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0) , int flags = start_default_features | add_default_plugins - , boost::uint32_t alert_mask = alert::error_notification - TORRENT_LOGPATH_ARG_DEFAULT); - session (settings_pack const& pack - , fingerprint const& print = fingerprint("LT" - , LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0) - , int flags = start_default_features | add_default_plugins); + , boost::uint32_t alert_mask = alert::error_notification); session (fingerprint const& print , std::pair<int, int> listen_port_range , char const* listen_interface = "0.0.0.0" , int flags = start_default_features | add_default_plugins - , int alert_mask = alert::error_notification - TORRENT_LOGPATH_ARG_DEFAULT); + , int alert_mask = alert::error_notification); + session (settings_pack const& pack + , fingerprint const& print = fingerprint("LT" + , LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0) + , int flags = start_default_features | add_default_plugins); ~session (); void load_state (lazy_entry const& e); void save_state (entry& e, boost::uint32_t flags = 0xffffffff) const; @@ -623,18 +621,16 @@ class session: public boost::noncopyable session (fingerprint const& print = fingerprint("LT" , LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0) , int flags = start_default_features | add_default_plugins - , boost::uint32_t alert_mask = alert::error_notification - TORRENT_LOGPATH_ARG_DEFAULT); -session (settings_pack const& pack - , fingerprint const& print = fingerprint("LT" - , LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0) - , int flags = start_default_features | add_default_plugins); + , boost::uint32_t alert_mask = alert::error_notification); session (fingerprint const& print , std::pair<int, int> listen_port_range , char const* listen_interface = "0.0.0.0" , int flags = start_default_features | add_default_plugins - , int alert_mask = alert::error_notification - TORRENT_LOGPATH_ARG_DEFAULT); + , int alert_mask = alert::error_notification); +session (settings_pack const& pack + , fingerprint const& print = fingerprint("LT" + , LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0) + , int flags = start_default_features | add_default_plugins);

TODO: 3 could the fingerprint be a setting as well? And should the settings_pack be optional?