regenerate html

This commit is contained in:
Arvid Norberg 2014-12-10 02:58:23 +00:00
parent af0ce400d7
commit 9d09b11a6d
2 changed files with 21 additions and 28 deletions

View File

@ -276,10 +276,11 @@ libraries.</li>
</tr> </tr>
<tr><td><tt class="docutils literal">logging</tt></td> <tr><td><tt class="docutils literal">logging</tt></td>
<td><ul class="first last simple"> <td><ul class="first last simple">
<li><tt class="docutils literal">none</tt> - no logging.</li> <li><tt class="docutils literal">off</tt> - default. logging disabled.</li>
<li><tt class="docutils literal">default</tt> - basic session logging.</li> <li><tt class="docutils literal">on</tt> - logging alerts available, still need to
<li><tt class="docutils literal">verbose</tt> - verbose peer wire logging.</li> be enabled by the alert mask. The reason logging
<li><tt class="docutils literal">errors</tt> - like verbose, but limited to errors.</li> is disabled by default is to keep the binary
size down.</li>
</ul> </ul>
</td> </td>
</tr> </tr>
@ -643,14 +644,10 @@ compilation units having different views of
structs and class layouts and sizes.</td> structs and class layouts and sizes.</td>
</tr> </tr>
<tr><td><tt class="docutils literal">TORRENT_LOGGING</tt></td> <tr><td><tt class="docutils literal">TORRENT_LOGGING</tt></td>
<td>This macro will enable logging of the session <td>This macro will enable support for logging
events, such as tracker announces and incoming alerts, like log_alert, torrent_log_alert and
connections (as well as blocked connections).</td> peer_log_alert. Without this build flag, you
</tr> cannot enable those alerts.</td>
<tr><td><tt class="docutils literal">TORRENT_VERBOSE_LOGGING</tt></td>
<td>If you define this macro, every peer connection
will log its traffic to a log file as well as
the session log.</td>
</tr> </tr>
<tr><td><tt class="docutils literal">TORRENT_STORAGE_DEBUG</tt></td> <tr><td><tt class="docutils literal">TORRENT_STORAGE_DEBUG</tt></td>
<td>This will enable extra expensive invariant <td>This will enable extra expensive invariant

View File

@ -513,18 +513,16 @@ class session: public boost::noncopyable
<strong>session</strong> (fingerprint const&amp; print = fingerprint(&quot;LT&quot; <strong>session</strong> (fingerprint const&amp; print = fingerprint(&quot;LT&quot;
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0) , LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
, int flags = start_default_features | add_default_plugins , int flags = start_default_features | add_default_plugins
, boost::uint32_t alert_mask = alert::error_notification , boost::uint32_t alert_mask = alert::error_notification);
TORRENT_LOGPATH_ARG_DEFAULT);
<strong>session</strong> (settings_pack const&amp; pack
, fingerprint const&amp; print = fingerprint(&quot;LT&quot;
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
, int flags = start_default_features | add_default_plugins);
<strong>session</strong> (fingerprint const&amp; print <strong>session</strong> (fingerprint const&amp; print
, std::pair&lt;int, int&gt; listen_port_range , std::pair&lt;int, int&gt; listen_port_range
, char const* listen_interface = &quot;0.0.0.0&quot; , char const* listen_interface = &quot;0.0.0.0&quot;
, int flags = start_default_features | add_default_plugins , int flags = start_default_features | add_default_plugins
, int alert_mask = alert::error_notification , int alert_mask = alert::error_notification);
TORRENT_LOGPATH_ARG_DEFAULT); <strong>session</strong> (settings_pack const&amp; pack
, fingerprint const&amp; print = fingerprint(&quot;LT&quot;
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
, int flags = start_default_features | add_default_plugins);
<strong>~session</strong> (); <strong>~session</strong> ();
void <strong>load_state</strong> (lazy_entry const&amp; e); void <strong>load_state</strong> (lazy_entry const&amp; e);
void <strong>save_state</strong> (entry&amp; e, boost::uint32_t flags = 0xffffffff) const; void <strong>save_state</strong> (entry&amp; e, boost::uint32_t flags = 0xffffffff) const;
@ -623,18 +621,16 @@ class session: public boost::noncopyable
<strong>session</strong> (fingerprint const&amp; print = fingerprint(&quot;LT&quot; <strong>session</strong> (fingerprint const&amp; print = fingerprint(&quot;LT&quot;
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0) , LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
, int flags = start_default_features | add_default_plugins , int flags = start_default_features | add_default_plugins
, boost::uint32_t alert_mask = alert::error_notification , boost::uint32_t alert_mask = alert::error_notification);
TORRENT_LOGPATH_ARG_DEFAULT);
<strong>session</strong> (settings_pack const&amp; pack
, fingerprint const&amp; print = fingerprint(&quot;LT&quot;
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
, int flags = start_default_features | add_default_plugins);
<strong>session</strong> (fingerprint const&amp; print <strong>session</strong> (fingerprint const&amp; print
, std::pair&lt;int, int&gt; listen_port_range , std::pair&lt;int, int&gt; listen_port_range
, char const* listen_interface = &quot;0.0.0.0&quot; , char const* listen_interface = &quot;0.0.0.0&quot;
, int flags = start_default_features | add_default_plugins , int flags = start_default_features | add_default_plugins
, int alert_mask = alert::error_notification , int alert_mask = alert::error_notification);
TORRENT_LOGPATH_ARG_DEFAULT); <strong>session</strong> (settings_pack const&amp; pack
, fingerprint const&amp; print = fingerprint(&quot;LT&quot;
, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, 0, 0)
, int flags = start_default_features | add_default_plugins);
</pre> </pre>
<p>TODO: 3 could the fingerprint be a setting as well? And should the <p>TODO: 3 could the fingerprint be a setting as well? And should the
<a class="reference external" href="reference-Settings.html#settings_pack">settings_pack</a> be optional?</p> <a class="reference external" href="reference-Settings.html#settings_pack">settings_pack</a> be optional?</p>