6.16 MB
/srv/reproducible-results/rbuild-debian/r-b-build.BtOsBLfk/b1/libtorrent-rasterbar_2.0.10-1.1_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.BtOsBLfk/b2/libtorrent-rasterbar_2.0.10-1.1_armhf.changes
855 B
Files
    
Offset 1, 7 lines modifiedOffset 1, 7 lines modified
  
1 ·4bef469f2fa53c6d8486633bc652bf48·365488·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_armhf.deb1 ·4bef469f2fa53c6d8486633bc652bf48·365488·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_armhf.deb
2 ·588972ffc05e77667f31d1f61dfd438f·1672184·doc·optional·libtorrent-rasterbar-doc_2.0.10-1.1_all.deb2 ·d755fac9d85548711c2411c247e2961f·1671896·doc·optional·libtorrent-rasterbar-doc_2.0.10-1.1_all.deb
3 ·32e093f2323fae513e105ea64cf86033·50791488·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_armhf.deb3 ·32e093f2323fae513e105ea64cf86033·50791488·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_armhf.deb
4 ·21d07eb0289022d991ae1d7bb780189f·1488612·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_armhf.deb4 ·21d07eb0289022d991ae1d7bb780189f·1488612·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_armhf.deb
5 ·9f0907a70e965390f67eb5970c8cea68·13097196·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_armhf.deb5 ·9f0907a70e965390f67eb5970c8cea68·13097196·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_armhf.deb
6 ·2fefc05e4bc085df6394b831d6764dba·643000·python·optional·python3-libtorrent_2.0.10-1.1_armhf.deb6 ·75f7d5c3a2f9c0e6ec2c88dcff789387·642996·python·optional·python3-libtorrent_2.0.10-1.1_armhf.deb
6.15 MB
libtorrent-rasterbar-doc_2.0.10-1.1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-02-28·20:35:15.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-02-28·20:35:15.000000·debian-binary
2 -rw-r--r--···0········0········0·····3632·2024-02-28·20:35:15.000000·control.tar.xz2 -rw-r--r--···0········0········0·····3636·2024-02-28·20:35:15.000000·control.tar.xz
3 -rw-r--r--···0········0········0··1668360·2024-02-28·20:35:15.000000·data.tar.xz3 -rw-r--r--···0········0········0··1668068·2024-02-28·20:35:15.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
6.15 MB
data.tar.xz
6.15 MB
data.tar
6.66 KB
file list
    
Offset 79, 37 lines modifiedOffset 79, 37 lines modified
79 -rw-r--r--···0·root·········(0)·root·········(0)·····9768·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/index.html79 -rw-r--r--···0·root·········(0)·root·········(0)·····9768·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/index.html
80 -rw-r--r--···0·root·········(0)·root·········(0)···144610·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/manual-ref.html80 -rw-r--r--···0·root·········(0)·root·········(0)···144610·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/manual-ref.html
81 -rw-r--r--···0·root·········(0)·root·········(0)·····9650·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/projects.html81 -rw-r--r--···0·root·········(0)·root·········(0)·····9650·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/projects.html
82 -rw-r--r--···0·root·········(0)·root·········(0)····22814·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/python_binding.html82 -rw-r--r--···0·root·········(0)·root·········(0)····22814·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/python_binding.html
83 -rw-r--r--···0·root·········(0)·root·········(0)····33687·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Add_Torrent.html83 -rw-r--r--···0·root·········(0)·root·········(0)····33687·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Add_Torrent.html
84 -rw-r--r--···0·root·········(0)·root·········(0)···256774·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Alerts.html84 -rw-r--r--···0·root·········(0)·root·········(0)···256774·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Alerts.html
85 -rw-r--r--···0·root·········(0)·root·········(0)····27441·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bdecoding.html85 -rw-r--r--···0·root·········(0)·root·········(0)····27441·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bdecoding.html
86 -rw-r--r--···0·root·········(0)·root·········(0)····25856·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bencoding.html86 -rw-r--r--···0·root·········(0)·root·········(0)····25858·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bencoding.html
87 -rw-r--r--···0·root·········(0)·root·········(0)····88956·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Core.html87 -rw-r--r--···0·root·········(0)·root·········(0)····88956·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Core.html
88 -rw-r--r--···0·root·········(0)·root·········(0)····43739·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Create_Torrents.html88 -rw-r--r--···0·root·········(0)·root·········(0)····43739·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Create_Torrents.html
89 -rw-r--r--···0·root·········(0)·root·········(0)···136977·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Custom_Storage.html89 -rw-r--r--···0·root·········(0)·root·········(0)···136977·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Custom_Storage.html
90 -rw-r--r--···0·root·········(0)·root·········(0)····24960·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-DHT.html90 -rw-r--r--···0·root·········(0)·root·········(0)····24960·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-DHT.html
91 -rw-r--r--···0·root·········(0)·root·········(0)····48568·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Error_Codes.html91 -rw-r--r--···0·root·········(0)·root·········(0)····48570·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Error_Codes.html
92 -rw-r--r--···0·root·········(0)·root·········(0)····13261·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Filter.html92 -rw-r--r--···0·root·········(0)·root·········(0)····13261·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Filter.html
93 -rw-r--r--···0·root·········(0)·root·········(0)····12804·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-PeerClass.html93 -rw-r--r--···0·root·········(0)·root·········(0)····12804·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-PeerClass.html
94 -rw-r--r--···0·root·········(0)·root·········(0)····68487·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Plugins.html94 -rw-r--r--···0·root·········(0)·root·········(0)····68487·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Plugins.html
95 -rw-r--r--···0·root·········(0)·root·········(0)·····9618·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Resume_Data.html95 -rw-r--r--···0·root·········(0)·root·········(0)·····9618·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Resume_Data.html
96 -rw-r--r--···0·root·········(0)·root·········(0)···101861·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Session.html96 -rw-r--r--···0·root·········(0)·root·········(0)···101863·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Session.html
97 -rw-r--r--···0·root·········(0)·root·········(0)···167853·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Settings.html97 -rw-r--r--···0·root·········(0)·root·········(0)···167853·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Settings.html
98 -rw-r--r--···0·root·········(0)·root·········(0)·····9742·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Stats.html98 -rw-r--r--···0·root·········(0)·root·········(0)·····9742·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Stats.html
99 -rw-r--r--···0·root·········(0)·root·········(0)····56863·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Storage.html99 -rw-r--r--···0·root·········(0)·root·········(0)····56863·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Storage.html
100 -rw-r--r--···0·root·········(0)·root·········(0)···129828·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Handle.html100 -rw-r--r--···0·root·········(0)·root·········(0)···129838·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Handle.html
101 -rw-r--r--···0·root·········(0)·root·········(0)····55637·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Info.html101 -rw-r--r--···0·root·········(0)·root·········(0)····55637·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Info.html
102 -rw-r--r--···0·root·········(0)·root·········(0)····48266·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Status.html102 -rw-r--r--···0·root·········(0)·root·········(0)····48266·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Status.html
103 -rw-r--r--···0·root·········(0)·root·········(0)····16459·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Trackers.html103 -rw-r--r--···0·root·········(0)·root·········(0)····16461·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Trackers.html
104 -rw-r--r--···0·root·········(0)·root·········(0)····25530·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Utility.html104 -rw-r--r--···0·root·········(0)·root·········(0)····25530·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Utility.html
105 -rw-r--r--···0·root·········(0)·root·········(0)·····9129·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-ed25519.html105 -rw-r--r--···0·root·········(0)·root·········(0)·····9129·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference-ed25519.html
106 -rw-r--r--···0·root·········(0)·root·········(0)····34353·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference.html106 -rw-r--r--···0·root·········(0)·root·········(0)····34357·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/reference.html
107 -rw-r--r--···0·root·········(0)·root·········(0)····29242·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/security-audit.html107 -rw-r--r--···0·root·········(0)·root·········(0)····29242·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/security-audit.html
108 -rw-r--r--···0·root·········(0)·root·········(0)··1358416·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/single-page-ref.html108 -rw-r--r--···0·root·········(0)·root·········(0)··1358434·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/single-page-ref.html
109 -rw-r--r--···0·root·········(0)·root·········(0)····10121·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/streaming.html109 -rw-r--r--···0·root·········(0)·root·········(0)····10121·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/streaming.html
110 -rw-r--r--···0·root·········(0)·root·········(0)·····8807·2024-02-19·12:14:14.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/style.css110 -rw-r--r--···0·root·········(0)·root·········(0)·····8807·2024-02-19·12:14:14.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/style.css
111 -rw-r--r--···0·root·········(0)·root·········(0)···522811·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/todo.html111 -rw-r--r--···0·root·········(0)·root·········(0)···522811·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/todo.html
112 -rw-r--r--···0·root·········(0)·root·········(0)·····3023·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/troubleshooting.html112 -rw-r--r--···0·root·········(0)·root·········(0)·····3023·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/troubleshooting.html
113 -rw-r--r--···0·root·········(0)·root·········(0)····25162·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/tuning-ref.html113 -rw-r--r--···0·root·········(0)·root·········(0)····25162·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/tuning-ref.html
114 -rw-r--r--···0·root·········(0)·root·········(0)···132630·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/tutorial-ref.html114 -rw-r--r--···0·root·········(0)·root·········(0)···132630·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/tutorial-ref.html
115 -rw-r--r--···0·root·········(0)·root·········(0)····16383·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/udp_tracker_protocol.html115 -rw-r--r--···0·root·········(0)·root·········(0)····16383·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/udp_tracker_protocol.html
13.6 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Add_Torrent.html
    
Offset 28, 65 lines modifiedOffset 28, 23 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
 35 <li><a·class="reference·internal"·href="#add-torrent-params"·id="toc-entry-1">add_torrent_params</a></li>
35 <li><a·class="reference·internal"·href="#client-data-t"·id="toc-entry-1">client_data_t</a><ul>36 <li><a·class="reference·internal"·href="#client-data-t"·id="toc-entry-2">client_data_t</a><ul>
36 <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry-2">client_data_t()</a></li>37 <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry-3">client_data_t()</a></li>
37 <li><a·class="reference·internal"·href="#const-void-operator"·id="toc-entry-3">const*()·void*()·operator=()</a></li>38 <li><a·class="reference·internal"·href="#void-const-operator"·id="toc-entry-4">void*()·const*()·operator=()</a></li>
38 </ul>39 </ul>
39 </li>40 </li>
40 <li><a·class="reference·internal"·href="#add-torrent-params"·id="toc-entry-4">add_torrent_params</a></li> 
41 </ul>41 </ul>
42 </div>42 </div>
43 <a·name="client_data_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+client_data_t&labels=documentation&body=Documentation+under+heading+%22class+client_data_t%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t"> 
44 <h1>client_data_t</h1> 
45 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/client_data.hpp">libtorrent/client_data.hpp</a>&quot;</p> 
46 <p>A·thin·wrapper·around·a·void·pointer·used·as·&quot;user·data&quot;.·i.e.·an·opaque 
47 cookie·passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by 
48 requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it.</p> 
49 <pre·class="literal-block"> 
50 struct·client_data_t 
51 { 
52 ···<strong>client_data_t</strong>·()·=·default; 
53 ···explicit·<strong>client_data_t</strong>·(T*·v); 
54 ···client_data_t&amp;·<strong>operator=</strong>·(T*·v); 
55 ···T*·<strong>get</strong>·()·const; 
56 ···explicit·operator·<strong>T</strong>·()·const; 
57 ···operator·<strong>void*</strong>·()·const·=·delete; 
58 ···client_data_t&amp;·<strong>operator=</strong>·(void·const*)·=·delete; 
59 ···client_data_t&amp;·<strong>operator=</strong>·(void*)·=·delete; 
60 ···operator·void·<strong>const*</strong>·()·const·=·delete; 
  
61 ···template·&lt;typename·T,·typename·<strong>U</strong>··=·typename·std::enable_if&lt;std::is_pointer&lt;T&gt;::value&gt;::type&gt; 
62 }; 
63 </pre> 
64 <a·name="client_data_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bclient_data_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bclient_data_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t-1"> 
65 <h2>client_data_t()</h2> 
66 <pre·class="literal-block"> 
67 <strong>client_data_t</strong>·()·=·default; 
68 </pre> 
69 <p>construct·a·nullptr·client·data</p> 
70 <a·name="const*()"></a> 
71 <a·name="void*()"></a> 
72 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bconst%2A%28%29+void%2A%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bconst%2A%28%29+void%2A%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> 
73 <div·class="section"·id="const-void-operator"> 
74 <h2>const*()·void*()·operator=()</h2> 
75 <pre·class="literal-block"> 
76 operator·<strong>void*</strong>·()·const·=·delete; 
77 client_data_t&amp;·<strong>operator=</strong>·(void·const*)·=·delete; 
78 client_data_t&amp;·<strong>operator=</strong>·(void*)·=·delete; 
79 operator·void·<strong>const*</strong>·()·const·=·delete; 
80 </pre> 
81 <p>we·don't·allow·type-unsafe·operations</p> 
82 <a·name="add_torrent_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+add_torrent_params&labels=documentation&body=Documentation+under+heading+%22class+add_torrent_params%22+could+be+improved">report·issue</a>]</span></div>43 <a·name="add_torrent_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+add_torrent_params&labels=documentation&body=Documentation+under+heading+%22class+add_torrent_params%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="add-torrent-params">
83 </div> 
84 <div·class="section"·id="add-torrent-params"> 
85 <h1>add_torrent_params</h1>44 <h1>add_torrent_params</h1>
86 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/add_torrent_params.hpp">libtorrent/add_torrent_params.hpp</a>&quot;</p>45 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/add_torrent_params.hpp">libtorrent/add_torrent_params.hpp</a>&quot;</p>
87 <p>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·contains·all·the·information·in·a·.torrent·file46 <p>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·contains·all·the·information·in·a·.torrent·file
88 along·with·all·information·necessary·to·add·that·torrent·to·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>.47 along·with·all·information·necessary·to·add·that·torrent·to·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>.
89 The·key·fields·when·adding·a·torrent·are:</p>48 The·key·fields·when·adding·a·torrent·are:</p>
90 <ul·class="simple">49 <ul·class="simple">
91 <li>ti·-·the·immutable·info-dict·part·of·the·torrent</li>50 <li>ti·-·the·immutable·info-dict·part·of·the·torrent</li>
Offset 399, 14 lines modifiedOffset 357, 56 lines modified
399 <a·name="last_upload"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:add_torrent_params%3A%3A%5Blast_download+last_upload%5D&labels=documentation&body=Documentation+under+heading+%22add_torrent_params%3A%3A%5Blast_download+last_upload%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">357 <a·name="last_upload"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:add_torrent_params%3A%3A%5Blast_download+last_upload%5D&labels=documentation&body=Documentation+under+heading+%22add_torrent_params%3A%3A%5Blast_download+last_upload%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">
400 <dt>last_download·last_upload</dt>358 <dt>last_download·last_upload</dt>
401 <dd>the·posix·time·of·the·last·time·payload·was·received·or·sent·for·this359 <dd>the·posix·time·of·the·last·time·payload·was·received·or·sent·for·this
402 torrent,·respectively.·A·value·of·0·means·we·don't·know·when·we·last360 torrent,·respectively.·A·value·of·0·means·we·don't·know·when·we·last
403 uploaded·or·downloaded,·or·we·have·never·uploaded·or·downloaded·any361 uploaded·or·downloaded,·or·we·have·never·uploaded·or·downloaded·any
404 payload·for·this·torrent.</dd>362 payload·for·this·torrent.</dd>
405 </dl>363 </dl>
 364 <a·name="client_data_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+client_data_t&labels=documentation&body=Documentation+under+heading+%22class+client_data_t%22+could+be+improved">report·issue</a>]</span></div>
 365 <div·class="section"·id="client-data-t">
 366 <h1>client_data_t</h1>
 367 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/client_data.hpp">libtorrent/client_data.hpp</a>&quot;</p>
 368 <p>A·thin·wrapper·around·a·void·pointer·used·as·&quot;user·data&quot;.·i.e.·an·opaque
 369 cookie·passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by
 370 requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it.</p>
 371 <pre·class="literal-block">
 372 struct·client_data_t
 373 {
 374 ···<strong>client_data_t</strong>·()·=·default;
 375 ···explicit·<strong>client_data_t</strong>·(T*·v);
 376 ···client_data_t&amp;·<strong>operator=</strong>·(T*·v);
 377 ···explicit·operator·<strong>T</strong>·()·const;
 378 ···T*·<strong>get</strong>·()·const;
 379 ···client_data_t&amp;·<strong>operator=</strong>·(void·const*)·=·delete;
 380 ···operator·void·<strong>const*</strong>·()·const·=·delete;
 381 ···operator·<strong>void*</strong>·()·const·=·delete;
 382 ···client_data_t&amp;·<strong>operator=</strong>·(void*)·=·delete;
  
 383 ···template·&lt;typename·T,·typename·<strong>U</strong>··=·typename·std::enable_if&lt;std::is_pointer&lt;T&gt;::value&gt;::type&gt;
 384 };
 385 </pre>
 386 <a·name="client_data_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bclient_data_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bclient_data_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="client-data-t-1">
 387 <h2>client_data_t()</h2>
 388 <pre·class="literal-block">
 389 <strong>client_data_t</strong>·()·=·default;
 390 </pre>
 391 <p>construct·a·nullptr·client·data</p>
 392 <a·name="void*()"></a>
 393 <a·name="const*()"></a>
 394 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:client_data_t%3A%3A%5Bvoid%2A%28%29+const%2A%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22client_data_t%3A%3A%5Bvoid%2A%28%29+const%2A%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
 395 <div·class="section"·id="void-const-operator">
 396 <h2>void*()·const*()·operator=()</h2>
 397 <pre·class="literal-block">
 398 client_data_t&amp;·<strong>operator=</strong>·(void·const*)·=·delete;
 399 operator·void·<strong>const*</strong>·()·const·=·delete;
 400 operator·<strong>void*</strong>·()·const·=·delete;
 401 client_data_t&amp;·<strong>operator=</strong>·(void*)·=·delete;
 402 </pre>
 403 <p>we·don't·allow·type-unsafe·operations</p>
 404 </div>
406 </div>405 </div>
  
407 ····</div>406 ····</div>
408 ····</div>407 ····</div>
409 ····<div·id="gradient"></div>408 ····<div·id="gradient"></div>
410 ····<div·id="filler">409 ····<div·id="filler">
411 ····<div·id="footer">410 ····<div·id="footer">
4.96 KB
html2text {}
    
Offset 1, 48 lines modifiedOffset 1, 16 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
 6 ····*·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s
6 ····*·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t7 ····*·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t
7 ··········o·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8(_\x8)8 ··········o·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8(_\x8)
8 ··········o·_\x8c_.o_.n_.s_.t_.*_.(_.)_.·_.v_.o_.i_.d_\x8*_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)9 ··········o·_\x8v_.o_.i_.d_.*_.(_.)_.·_.c_.o_.n_.s_.t_\x8*_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)
9 ····*·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s 
10 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
11 *\x8**\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* 
12 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" 
13 A·thin·wrapper·around·a·void·pointer·used·as·"user·data".·i.e.·an·opaque·cookie 
14 passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by 
15 requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it. 
16 struct·client_data_t 
17 { 
18 ···c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; 
19 ···explicit·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·(T*·v); 
20 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(T*·v); 
21 ···T*·g\x8ge\x8et\x8t·()·const; 
22 ···explicit·operator·T\x8T·()·const; 
23 ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; 
24 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; 
25 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; 
26 ···operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; 
  
27 ···template·<typename·T,·typename·U\x8U··=·typename·std::enable_if<std:: 
28 is_pointer<T>::value>::type> 
29 }; 
30 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
31 *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
32 c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default; 
33 construct·a·nullptr·client·data 
34 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
35 *\x8**\x8**\x8**\x8**\x8*·c\x8co\x8on\x8ns\x8st\x8t*\x8*(\x8()\x8)·v\x8vo\x8oi\x8id\x8d*\x8*(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
36 operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; 
37 client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; 
38 client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete; 
39 operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; 
40 we·don't·allow·type-unsafe·operations 
41 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]10 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
42 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*11 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
43 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8._\x8h_\x8p_\x8p"12 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8._\x8h_\x8p_\x8p"
44 The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·contains·all·the·information·in·a·.torrent·file·along13 The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·contains·all·the·information·in·a·.torrent·file·along
45 with·all·information·necessary·to·add·that·torrent·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·The·key·fields14 with·all·information·necessary·to·add·that·torrent·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·The·key·fields
46 when·adding·a·torrent·are:15 when·adding·a·torrent·are:
47 ····*·ti·-·the·immutable·info-dict·part·of·the·torrent16 ····*·ti·-·the·immutable·info-dict·part·of·the·torrent
Offset 291, 14 lines modifiedOffset 259, 46 lines modified
291 ······applied·before·the·torrent·is·added.259 ······applied·before·the·torrent·is·added.
292 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]260 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
293 ··last_download·last_upload261 ··last_download·last_upload
294 ······the·posix·time·of·the·last·time·payload·was·received·or·sent·for·this262 ······the·posix·time·of·the·last·time·payload·was·received·or·sent·for·this
295 ······torrent,·respectively.·A·value·of·0·means·we·don't·know·when·we·last263 ······torrent,·respectively.·A·value·of·0·means·we·don't·know·when·we·last
296 ······uploaded·or·downloaded,·or·we·have·never·uploaded·or·downloaded·any264 ······uploaded·or·downloaded,·or·we·have·never·uploaded·or·downloaded·any
297 ······payload·for·this·torrent.265 ······payload·for·this·torrent.
 266 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 267 *\x8**\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
 268 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p"
 269 A·thin·wrapper·around·a·void·pointer·used·as·"user·data".·i.e.·an·opaque·cookie
 270 passed·in·to·libtorrent·and·returned·on·demand.·It·adds·type-safety·by
 271 requiring·the·same·type·be·requested·out·of·it·as·was·assigned·to·it.
 272 struct·client_data_t
 273 {
 274 ···c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default;
 275 ···explicit·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·(T*·v);
 276 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(T*·v);
 277 ···explicit·operator·T\x8T·()·const;
 278 ···T*·g\x8ge\x8et\x8t·()·const;
 279 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete;
 280 ···operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete;
 281 ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete;
 282 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete;
  
 283 ···template·<typename·T,·typename·U\x8U··=·typename·std::enable_if<std::
 284 is_pointer<T>::value>::type>
 285 };
 286 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 287 *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 288 c\x8cl\x8li\x8ie\x8en\x8nt\x8t_\x8_d\x8da\x8at\x8ta\x8a_\x8_t\x8t·()·=·default;
 289 construct·a·nullptr·client·data
 290 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 291 *\x8**\x8**\x8**\x8**\x8*·v\x8vo\x8oi\x8id\x8d*\x8*(\x8()\x8)·c\x8co\x8on\x8ns\x8st\x8t*\x8*(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 292 client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete;
 293 operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete;
 294 operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete;
 295 client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete;
 296 we·don't·allow·type-unsafe·operations
298 _\x8h_\x8o_\x8m_\x8e297 _\x8h_\x8o_\x8m_\x8e
299 _\x8b_\x8l_\x8o_\x8g298 _\x8b_\x8l_\x8o_\x8g
300 _\x8u_\x8T_\x8P299 _\x8u_\x8T_\x8P
301 _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d300 _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d
302 _\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n301 _\x8d_\x8o_\x8c_\x8u_\x8m_\x8e_\x8n_\x8t_\x8a_\x8t_\x8i_\x8o_\x8n
303 _\x8D_\x8H_\x8T_\x8·_\x8p_\x8u_\x8t_\x8·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n302 _\x8D_\x8H_\x8T_\x8·_\x8p_\x8u_\x8t_\x8·_\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n
304 _\x8p_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8b_\x8i_\x8n_\x8d_\x8i_\x8n_\x8g_\x8s303 _\x8p_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8b_\x8i_\x8n_\x8d_\x8i_\x8n_\x8g_\x8s
91.9 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Alerts.html
    
Offset 28, 211 lines modifiedOffset 28, 211 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#dht-routing-bucket"·id="toc-entry-1">dht_routing_bucket</a></li> 
36 <li><a·class="reference·internal"·href="#torrent-alert"·id="toc-entry-2">torrent_alert</a><ul>35 <li><a·class="reference·internal"·href="#alert"·id="toc-entry-1">alert</a><ul>
 36 <li><a·class="reference·internal"·href="#timestamp"·id="toc-entry-2">timestamp()</a></li>
 37 <li><a·class="reference·internal"·href="#type"·id="toc-entry-3">type()</a></li>
 38 <li><a·class="reference·internal"·href="#what"·id="toc-entry-4">what()</a></li>
37 <li><a·class="reference·internal"·href="#message"·id="toc-entry-3">message()</a></li>39 <li><a·class="reference·internal"·href="#message"·id="toc-entry-5">message()</a></li>
 40 <li><a·class="reference·internal"·href="#category"·id="toc-entry-6">category()</a></li>
38 </ul>41 </ul>
39 </li>42 </li>
40 <li><a·class="reference·internal"·href="#peer-alert"·id="toc-entry-4">peer_alert</a></li>43 <li><a·class="reference·internal"·href="#dht-routing-bucket"·id="toc-entry-7">dht_routing_bucket</a></li>
41 <li><a·class="reference·internal"·href="#tracker-alert"·id="toc-entry-5">tracker_alert</a><ul>44 <li><a·class="reference·internal"·href="#torrent-alert"·id="toc-entry-8">torrent_alert</a><ul>
42 <li><a·class="reference·internal"·href="#tracker-url"·id="toc-entry-6">tracker_url()</a></li>45 <li><a·class="reference·internal"·href="#message-1"·id="toc-entry-9">message()</a></li>
43 </ul>46 </ul>
44 </li>47 </li>
45 <li><a·class="reference·internal"·href="#torrent-removed-alert"·id="toc-entry-7">torrent_removed_alert</a></li> 
46 <li><a·class="reference·internal"·href="#read-piece-alert"·id="toc-entry-8">read_piece_alert</a></li> 
47 <li><a·class="reference·internal"·href="#file-completed-alert"·id="toc-entry-9">file_completed_alert</a></li> 
48 <li><a·class="reference·internal"·href="#file-renamed-alert"·id="toc-entry-10">file_renamed_alert</a><ul>48 <li><a·class="reference·internal"·href="#peer-alert"·id="toc-entry-10">peer_alert</a></li>
49 <li><a·class="reference·internal"·href="#old-name-new-name"·id="toc-entry-11">old_name()·new_name()</a></li>49 <li><a·class="reference·internal"·href="#tracker-alert"·id="toc-entry-11">tracker_alert</a><ul>
 50 <li><a·class="reference·internal"·href="#tracker-url"·id="toc-entry-12">tracker_url()</a></li>
50 </ul>51 </ul>
51 </li>52 </li>
 53 <li><a·class="reference·internal"·href="#torrent-removed-alert"·id="toc-entry-13">torrent_removed_alert</a></li>
 54 <li><a·class="reference·internal"·href="#read-piece-alert"·id="toc-entry-14">read_piece_alert</a></li>
 55 <li><a·class="reference·internal"·href="#file-completed-alert"·id="toc-entry-15">file_completed_alert</a></li>
52 <li><a·class="reference·internal"·href="#file-rename-failed-alert"·id="toc-entry-12">file_rename_failed_alert</a></li>56 <li><a·class="reference·internal"·href="#file-renamed-alert"·id="toc-entry-16">file_renamed_alert</a><ul>
 57 <li><a·class="reference·internal"·href="#new-name-old-name"·id="toc-entry-17">new_name()·old_name()</a></li>
53 <li><a·class="reference·internal"·href="#performance-alert"·id="toc-entry-13">performance_alert</a><ul> 
54 <li><a·class="reference·internal"·href="#enum-performance-warning-t"·id="toc-entry-14">enum·performance_warning_t</a></li> 
55 </ul>58 </ul>
56 </li>59 </li>
57 <li><a·class="reference·internal"·href="#state-changed-alert"·id="toc-entry-15">state_changed_alert</a></li>60 <li><a·class="reference·internal"·href="#file-rename-failed-alert"·id="toc-entry-18">file_rename_failed_alert</a></li>
58 <li><a·class="reference·internal"·href="#tracker-error-alert"·id="toc-entry-16">tracker_error_alert</a><ul>61 <li><a·class="reference·internal"·href="#performance-alert"·id="toc-entry-19">performance_alert</a><ul>
59 <li><a·class="reference·internal"·href="#failure-reason"·id="toc-entry-17">failure_reason()</a></li>62 <li><a·class="reference·internal"·href="#enum-performance-warning-t"·id="toc-entry-20">enum·performance_warning_t</a></li>
60 </ul>63 </ul>
61 </li>64 </li>
 65 <li><a·class="reference·internal"·href="#state-changed-alert"·id="toc-entry-21">state_changed_alert</a></li>
62 <li><a·class="reference·internal"·href="#tracker-warning-alert"·id="toc-entry-18">tracker_warning_alert</a><ul>66 <li><a·class="reference·internal"·href="#tracker-error-alert"·id="toc-entry-22">tracker_error_alert</a><ul>
63 <li><a·class="reference·internal"·href="#warning-message"·id="toc-entry-19">warning_message()</a></li>67 <li><a·class="reference·internal"·href="#failure-reason"·id="toc-entry-23">failure_reason()</a></li>
64 </ul>68 </ul>
65 </li>69 </li>
66 <li><a·class="reference·internal"·href="#scrape-reply-alert"·id="toc-entry-20">scrape_reply_alert</a></li> 
67 <li><a·class="reference·internal"·href="#scrape-failed-alert"·id="toc-entry-21">scrape_failed_alert</a><ul>70 <li><a·class="reference·internal"·href="#tracker-warning-alert"·id="toc-entry-24">tracker_warning_alert</a><ul>
68 <li><a·class="reference·internal"·href="#error-message"·id="toc-entry-22">error_message()</a></li>71 <li><a·class="reference·internal"·href="#warning-message"·id="toc-entry-25">warning_message()</a></li>
69 </ul>72 </ul>
70 </li>73 </li>
71 <li><a·class="reference·internal"·href="#tracker-reply-alert"·id="toc-entry-23">tracker_reply_alert</a></li>74 <li><a·class="reference·internal"·href="#scrape-reply-alert"·id="toc-entry-26">scrape_reply_alert</a></li>
72 <li><a·class="reference·internal"·href="#dht-reply-alert"·id="toc-entry-24">dht_reply_alert</a></li> 
73 <li><a·class="reference·internal"·href="#tracker-announce-alert"·id="toc-entry-25">tracker_announce_alert</a></li> 
74 <li><a·class="reference·internal"·href="#hash-failed-alert"·id="toc-entry-26">hash_failed_alert</a></li>75 <li><a·class="reference·internal"·href="#scrape-failed-alert"·id="toc-entry-27">scrape_failed_alert</a><ul>
75 <li><a·class="reference·internal"·href="#peer-ban-alert"·id="toc-entry-27">peer_ban_alert</a></li> 
76 <li><a·class="reference·internal"·href="#peer-unsnubbed-alert"·id="toc-entry-28">peer_unsnubbed_alert</a></li> 
77 <li><a·class="reference·internal"·href="#peer-snubbed-alert"·id="toc-entry-29">peer_snubbed_alert</a></li> 
78 <li><a·class="reference·internal"·href="#peer-error-alert"·id="toc-entry-30">peer_error_alert</a></li>76 <li><a·class="reference·internal"·href="#error-message"·id="toc-entry-28">error_message()</a></li>
79 <li><a·class="reference·internal"·href="#peer-connect-alert"·id="toc-entry-31">peer_connect_alert</a><ul> 
80 <li><a·class="reference·internal"·href="#enum-direction-t"·id="toc-entry-32">enum·direction_t</a></li> 
81 </ul>77 </ul>
82 </li>78 </li>
 79 <li><a·class="reference·internal"·href="#tracker-reply-alert"·id="toc-entry-29">tracker_reply_alert</a></li>
 80 <li><a·class="reference·internal"·href="#dht-reply-alert"·id="toc-entry-30">dht_reply_alert</a></li>
 81 <li><a·class="reference·internal"·href="#tracker-announce-alert"·id="toc-entry-31">tracker_announce_alert</a></li>
 82 <li><a·class="reference·internal"·href="#hash-failed-alert"·id="toc-entry-32">hash_failed_alert</a></li>
 83 <li><a·class="reference·internal"·href="#peer-ban-alert"·id="toc-entry-33">peer_ban_alert</a></li>
 84 <li><a·class="reference·internal"·href="#peer-unsnubbed-alert"·id="toc-entry-34">peer_unsnubbed_alert</a></li>
 85 <li><a·class="reference·internal"·href="#peer-snubbed-alert"·id="toc-entry-35">peer_snubbed_alert</a></li>
 86 <li><a·class="reference·internal"·href="#peer-error-alert"·id="toc-entry-36">peer_error_alert</a></li>
83 <li><a·class="reference·internal"·href="#peer-disconnected-alert"·id="toc-entry-33">peer_disconnected_alert</a></li>87 <li><a·class="reference·internal"·href="#peer-connect-alert"·id="toc-entry-37">peer_connect_alert</a><ul>
84 <li><a·class="reference·internal"·href="#invalid-request-alert"·id="toc-entry-34">invalid_request_alert</a></li> 
85 <li><a·class="reference·internal"·href="#torrent-finished-alert"·id="toc-entry-35">torrent_finished_alert</a></li> 
86 <li><a·class="reference·internal"·href="#piece-finished-alert"·id="toc-entry-36">piece_finished_alert</a></li> 
87 <li><a·class="reference·internal"·href="#request-dropped-alert"·id="toc-entry-37">request_dropped_alert</a></li> 
88 <li><a·class="reference·internal"·href="#block-timeout-alert"·id="toc-entry-38">block_timeout_alert</a></li>88 <li><a·class="reference·internal"·href="#enum-direction-t"·id="toc-entry-38">enum·direction_t</a></li>
89 <li><a·class="reference·internal"·href="#block-finished-alert"·id="toc-entry-39">block_finished_alert</a></li> 
90 <li><a·class="reference·internal"·href="#block-downloading-alert"·id="toc-entry-40">block_downloading_alert</a></li> 
91 <li><a·class="reference·internal"·href="#unwanted-block-alert"·id="toc-entry-41">unwanted_block_alert</a></li> 
92 <li><a·class="reference·internal"·href="#storage-moved-alert"·id="toc-entry-42">storage_moved_alert</a><ul> 
93 <li><a·class="reference·internal"·href="#storage-path-old-path"·id="toc-entry-43">storage_path()·old_path()</a></li> 
94 </ul>89 </ul>
95 </li>90 </li>
 91 <li><a·class="reference·internal"·href="#peer-disconnected-alert"·id="toc-entry-39">peer_disconnected_alert</a></li>
 92 <li><a·class="reference·internal"·href="#invalid-request-alert"·id="toc-entry-40">invalid_request_alert</a></li>
 93 <li><a·class="reference·internal"·href="#torrent-finished-alert"·id="toc-entry-41">torrent_finished_alert</a></li>
 94 <li><a·class="reference·internal"·href="#piece-finished-alert"·id="toc-entry-42">piece_finished_alert</a></li>
 95 <li><a·class="reference·internal"·href="#request-dropped-alert"·id="toc-entry-43">request_dropped_alert</a></li>
 96 <li><a·class="reference·internal"·href="#block-timeout-alert"·id="toc-entry-44">block_timeout_alert</a></li>
 97 <li><a·class="reference·internal"·href="#block-finished-alert"·id="toc-entry-45">block_finished_alert</a></li>
 98 <li><a·class="reference·internal"·href="#block-downloading-alert"·id="toc-entry-46">block_downloading_alert</a></li>
 99 <li><a·class="reference·internal"·href="#unwanted-block-alert"·id="toc-entry-47">unwanted_block_alert</a></li>
96 <li><a·class="reference·internal"·href="#storage-moved-failed-alert"·id="toc-entry-44">storage_moved_failed_alert</a><ul>100 <li><a·class="reference·internal"·href="#storage-moved-alert"·id="toc-entry-48">storage_moved_alert</a><ul>
97 <li><a·class="reference·internal"·href="#file-path"·id="toc-entry-45">file_path()</a></li>101 <li><a·class="reference·internal"·href="#storage-path-old-path"·id="toc-entry-49">storage_path()·old_path()</a></li>
98 </ul>102 </ul>
99 </li>103 </li>
100 <li><a·class="reference·internal"·href="#torrent-deleted-alert"·id="toc-entry-46">torrent_deleted_alert</a></li> 
101 <li><a·class="reference·internal"·href="#torrent-delete-failed-alert"·id="toc-entry-47">torrent_delete_failed_alert</a></li>104 <li><a·class="reference·internal"·href="#storage-moved-failed-alert"·id="toc-entry-50">storage_moved_failed_alert</a><ul>
102 <li><a·class="reference·internal"·href="#save-resume-data-alert"·id="toc-entry-48">save_resume_data_alert</a></li> 
103 <li><a·class="reference·internal"·href="#save-resume-data-failed-alert"·id="toc-entry-49">save_resume_data_failed_alert</a></li> 
104 <li><a·class="reference·internal"·href="#torrent-paused-alert"·id="toc-entry-50">torrent_paused_alert</a></li> 
105 <li><a·class="reference·internal"·href="#torrent-resumed-alert"·id="toc-entry-51">torrent_resumed_alert</a></li> 
106 <li><a·class="reference·internal"·href="#torrent-checked-alert"·id="toc-entry-52">torrent_checked_alert</a></li> 
107 <li><a·class="reference·internal"·href="#url-seed-alert"·id="toc-entry-53">url_seed_alert</a><ul> 
108 <li><a·class="reference·internal"·href="#server-url"·id="toc-entry-54">server_url()</a></li>105 <li><a·class="reference·internal"·href="#file-path"·id="toc-entry-51">file_path()</a></li>
109 <li><a·class="reference·internal"·href="#error-message-1"·id="toc-entry-55">error_message()</a></li> 
110 </ul>106 </ul>
111 </li>107 </li>
 108 <li><a·class="reference·internal"·href="#torrent-deleted-alert"·id="toc-entry-52">torrent_deleted_alert</a></li>
 109 <li><a·class="reference·internal"·href="#torrent-delete-failed-alert"·id="toc-entry-53">torrent_delete_failed_alert</a></li>
 110 <li><a·class="reference·internal"·href="#save-resume-data-alert"·id="toc-entry-54">save_resume_data_alert</a></li>
 111 <li><a·class="reference·internal"·href="#save-resume-data-failed-alert"·id="toc-entry-55">save_resume_data_failed_alert</a></li>
 112 <li><a·class="reference·internal"·href="#torrent-paused-alert"·id="toc-entry-56">torrent_paused_alert</a></li>
 113 <li><a·class="reference·internal"·href="#torrent-resumed-alert"·id="toc-entry-57">torrent_resumed_alert</a></li>
 114 <li><a·class="reference·internal"·href="#torrent-checked-alert"·id="toc-entry-58">torrent_checked_alert</a></li>
112 <li><a·class="reference·internal"·href="#file-error-alert"·id="toc-entry-56">file_error_alert</a><ul>115 <li><a·class="reference·internal"·href="#url-seed-alert"·id="toc-entry-59">url_seed_alert</a><ul>
 116 <li><a·class="reference·internal"·href="#server-url"·id="toc-entry-60">server_url()</a></li>
113 <li><a·class="reference·internal"·href="#filename"·id="toc-entry-57">filename()</a></li>117 <li><a·class="reference·internal"·href="#error-message-1"·id="toc-entry-61">error_message()</a></li>
114 </ul>118 </ul>
115 </li>119 </li>
116 <li><a·class="reference·internal"·href="#metadata-failed-alert"·id="toc-entry-58">metadata_failed_alert</a></li> 
117 <li><a·class="reference·internal"·href="#metadata-received-alert"·id="toc-entry-59">metadata_received_alert</a></li> 
118 <li><a·class="reference·internal"·href="#udp-error-alert"·id="toc-entry-60">udp_error_alert</a></li>120 <li><a·class="reference·internal"·href="#file-error-alert"·id="toc-entry-62">file_error_alert</a><ul>
119 <li><a·class="reference·internal"·href="#external-ip-alert"·id="toc-entry-61">external_ip_alert</a></li> 
Max diff block lines reached; 55106/69048 bytes (79.81%) of diff not shown.
24.4 KB
html2text {}
    
Offset 1, 23 lines modifiedOffset 1, 29 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
 6 ····*·_\x8a_\x8l_\x8e_\x8r_\x8t
 7 ··········o·_\x8t_\x8i_\x8m_\x8e_\x8s_\x8t_\x8a_\x8m_\x8p_\x8(_\x8)
 8 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)
 9 ··········o·_\x8w_\x8h_\x8a_\x8t_\x8(_\x8)
 10 ··········o·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8)
 11 ··········o·_\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
6 ····*·_\x8d_\x8h_\x8t_\x8__\x8r_\x8o_\x8u_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8u_\x8c_\x8k_\x8e_\x8t12 ····*·_\x8d_\x8h_\x8t_\x8__\x8r_\x8o_\x8u_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8u_\x8c_\x8k_\x8e_\x8t
7 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t13 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
8 ··········o·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8)14 ··········o·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8)
9 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t15 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
10 ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t16 ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
11 ··········o·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8u_\x8r_\x8l_\x8(_\x8)17 ··········o·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8u_\x8r_\x8l_\x8(_\x8)
12 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t18 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
13 ····*·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t19 ····*·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
14 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t20 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8t_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
15 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t21 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
16 ··········o·_\x8o_.l_.d_.__.n_.a_.m_.e_.(_.)_.·_.n_.e_.w_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)22 ··········o·_\x8n_.e_.w_.__.n_.a_.m_.e_.(_.)_.·_.o_.l_.d_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)
17 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t23 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
18 ····*·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t24 ····*·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
19 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8w_\x8a_\x8r_\x8n_\x8i_\x8n_\x8g_\x8__\x8t25 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8w_\x8a_\x8r_\x8n_\x8i_\x8n_\x8g_\x8__\x8t
20 ····*·_\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8c_\x8h_\x8a_\x8n_\x8g_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t26 ····*·_\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8c_\x8h_\x8a_\x8n_\x8g_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
21 ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t27 ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
22 ··········o·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e_\x8__\x8r_\x8e_\x8a_\x8s_\x8o_\x8n_\x8(_\x8)28 ··········o·_\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e_\x8__\x8r_\x8e_\x8a_\x8s_\x8o_\x8n_\x8(_\x8)
23 ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8w_\x8a_\x8r_\x8n_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t29 ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8w_\x8a_\x8r_\x8n_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
Offset 131, 25 lines modifiedOffset 137, 19 lines modified
131 ····*·_\x8o_\x8v_\x8e_\x8r_\x8s_\x8i_\x8z_\x8e_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t137 ····*·_\x8o_\x8v_\x8e_\x8r_\x8s_\x8i_\x8z_\x8e_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
132 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8l_\x8i_\x8c_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t138 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8o_\x8n_\x8f_\x8l_\x8i_\x8c_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
133 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t139 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
134 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t140 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
135 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t141 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
136 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8__\x8a_\x8l_\x8e_\x8r_\x8t142 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
137 ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8i_\x8s_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t143 ····*·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8i_\x8s_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
138 ····*·_\x8a_\x8l_\x8e_\x8r_\x8t 
139 ··········o·_\x8t_\x8i_\x8m_\x8e_\x8s_\x8t_\x8a_\x8m_\x8p_\x8(_\x8) 
140 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8) 
141 ··········o·_\x8w_\x8h_\x8a_\x8t_\x8(_\x8) 
142 ··········o·_\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) 
143 ··········o·_\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) 
144 ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8s_\x8t_\x8(_\x8) 
145 ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)144 ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)
 145 ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8s_\x8t_\x8(_\x8)
146 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t146 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t
147 ····*·_\x8i_\x8n_\x8t 
148 ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8__\x8t147 ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8__\x8t
 148 ····*·_\x8i_\x8n_\x8t
149 The·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·function·on·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·the·main·interface·for·retrieving149 The·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·function·on·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·the·main·interface·for·retrieving
150 alerts·(warnings,·messages·and·errors·from·libtorrent).·If·no·alerts·have·been150 alerts·(warnings,·messages·and·errors·from·libtorrent).·If·no·alerts·have·been
151 posted·by·libtorrent·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·will·return·an·empty·list.151 posted·by·libtorrent·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·will·return·an·empty·list.
152 By·default,·only·errors·are·reported.·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8:_\x8:_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8m_\x8a_\x8s_\x8k·can·be·used·to152 By·default,·only·errors·are·reported.·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8:_\x8:_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8m_\x8a_\x8s_\x8k·can·be·used·to
153 specify·which·kinds·of·events·should·be·reported.·The·_\x8a_\x8l_\x8e_\x8r_\x8t·mask·is·a153 specify·which·kinds·of·events·should·be·reported.·The·_\x8a_\x8l_\x8e_\x8r_\x8t·mask·is·a
154 combination·of·the·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8__\x8t·flags·in·the·_\x8a_\x8l_\x8e_\x8r_\x8t·class.154 combination·of·the·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8__\x8t·flags·in·the·_\x8a_\x8l_\x8e_\x8r_\x8t·class.
155 Every·_\x8a_\x8l_\x8e_\x8r_\x8t·belongs·to·one·or·more·category.·There·is·a·cost·associated·with155 Every·_\x8a_\x8l_\x8e_\x8r_\x8t·belongs·to·one·or·more·category.·There·is·a·cost·associated·with
Offset 162, 14 lines modifiedOffset 162, 103 lines modified
162 that·are·generated·for·a·specific·torrent·are·derived·from·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t,·and162 that·are·generated·for·a·specific·torrent·are·derived·from·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t,·and
163 tracker·events·derive·from·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t.163 tracker·events·derive·from·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t.
164 Alerts·returned·by·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·are·only·valid·until·the·next·call·to164 Alerts·returned·by·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8)·are·only·valid·until·the·next·call·to
165 _\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8).·You·may·not·copy·an·_\x8a_\x8l_\x8e_\x8r_\x8t·object·to·access·it·after·the·next·call165 _\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8).·You·may·not·copy·an·_\x8a_\x8l_\x8e_\x8r_\x8t·object·to·access·it·after·the·next·call
166 to·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8).·Internal·members·of·alerts·also·become·invalid·once·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s166 to·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8).·Internal·members·of·alerts·also·become·invalid·once·_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s
167 _\x8(_\x8)·is·called·again.167 _\x8(_\x8)·is·called·again.
168 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]168 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 169 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
 170 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8._\x8h_\x8p_\x8p"
 171 The·alert·class·is·the·base·class·that·specific·messages·are·derived·from.
 172 _\x8a_\x8l_\x8e_\x8r_\x8t·types·are·not·copyable,·and·cannot·be·constructed·by·the·client.·The
 173 pointers·returned·by·libtorrent·are·short·lived·(the·details·are·described
 174 under·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8p_\x8o_\x8p_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8(_\x8))
 175 struct·alert
 176 {
 177 ···time_point·t\x8ti\x8im\x8me\x8es\x8st\x8ta\x8am\x8mp\x8p·()·const;
 178 ···virtual·int·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept·=·0;
 179 ···virtual·char·const*·w\x8wh\x8ha\x8at\x8t·()·const·noexcept·=·0;
 180 ···virtual·std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·=·0;
 181 ···virtual·alert_category_t·c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·()·const·noexcept·=·0;
  
 182 ···static·constexpr·alert_category_t·e\x8er\x8rr\x8ro\x8or\x8r_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·0_bit;
 183 ···static·constexpr·alert_category_t·p\x8pe\x8ee\x8er\x8r_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·1_bit;
 184 ···static·constexpr·alert_category_t·p\x8po\x8or\x8rt\x8t_\x8_m\x8ma\x8ap\x8pp\x8pi\x8in\x8ng\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·2_bit;
 185 ···static·constexpr·alert_category_t·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·3_bit;
 186 ···static·constexpr·alert_category_t·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·4_bit;
 187 ···static·constexpr·alert_category_t·c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·5_bit;
 188 ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8tu\x8us\x8s_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·6_bit;
 189 ···static·constexpr·alert_category_t·i\x8ip\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·8_bit;
 190 ···static·constexpr·alert_category_t·p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e_\x8_w\x8wa\x8ar\x8rn\x8ni\x8in\x8ng\x8g··=·9_bit;
 191 ···static·constexpr·alert_category_t·d\x8dh\x8ht\x8t_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·10_bit;
 192 ···static·constexpr·alert_category_t·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·13_bit;
 193 ···static·constexpr·alert_category_t·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·14_bit;
 194 ···static·constexpr·alert_category_t·p\x8pe\x8ee\x8er\x8r_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·15_bit;
 195 ···static·constexpr·alert_category_t·i\x8in\x8nc\x8co\x8om\x8mi\x8in\x8ng\x8g_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·16_bit;
 196 ···static·constexpr·alert_category_t·d\x8dh\x8ht\x8t_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·17_bit;
 197 ···static·constexpr·alert_category_t·d\x8dh\x8ht\x8t_\x8_o\x8op\x8pe\x8er\x8ra\x8at\x8ti\x8io\x8on\x8n_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·18_bit;
 198 ···static·constexpr·alert_category_t·p\x8po\x8or\x8rt\x8t_\x8_m\x8ma\x8ap\x8pp\x8pi\x8in\x8ng\x8g_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·19_bit;
 199 ···static·constexpr·alert_category_t·p\x8pi\x8ic\x8ck\x8ke\x8er\x8r_\x8_l\x8lo\x8og\x8g_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·20_bit;
 200 ···static·constexpr·alert_category_t·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·21_bit;
 201 ···static·constexpr·alert_category_t·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·22_bit;
 202 ···static·constexpr·alert_category_t·u\x8up\x8pl\x8lo\x8oa\x8ad\x8d_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·23_bit;
 203 ···static·constexpr·alert_category_t·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s_\x8_n\x8no\x8ot\x8ti\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n··=·24_bit;
 204 ···static·constexpr·alert_category_t·a\x8al\x8ll\x8l_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ri\x8ie\x8es\x8s··=·alert_category_t::all();
 205 };
 206 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 207 *\x8**\x8**\x8**\x8**\x8*·t\x8ti\x8im\x8me\x8es\x8st\x8ta\x8am\x8mp\x8p(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 208 time_point·t\x8ti\x8im\x8me\x8es\x8st\x8ta\x8am\x8mp\x8p·()·const;
 209 a·timestamp·is·automatically·created·in·the·constructor
 210 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 211 *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 212 virtual·int·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept·=·0;
 213 returns·an·integer·that·is·unique·to·this·_\x8a_\x8l_\x8e_\x8r_\x8t·type.·It·can·be·compared
 214 against·a·specific·_\x8a_\x8l_\x8e_\x8r_\x8t·by·querying·a·static·constant·called·alert_type·in·the
 215 _\x8a_\x8l_\x8e_\x8r_\x8t.·It·can·be·used·to·determine·the·run-time·type·of·an·alert*·in·order·to
 216 cast·to·that·_\x8a_\x8l_\x8e_\x8r_\x8t·type·and·access·specific·members.
 217 e.g:
 218 std::vector<alert*>·alerts;
 219 ses.pop_alerts(&alerts);
 220 for·(alert*·a·:·alerts)·{
 221 ········switch·(a->type())·{
  
 222 ················case·read_piece_alert::alert_type:
 223 ················{
 224 ························auto*·p·=·static_cast<read_piece_alert*>(a);
 225 ························if·(p->ec)·{
 226 ································//·read_piece·failed
 227 ································break;
 228 ························}
Max diff block lines reached; 15120/24941 bytes (60.62%) of diff not shown.
33.4 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bdecoding.html
    
Offset 34, 19 lines modifiedOffset 34, 19 lines modified
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#bdecode-node"·id="toc-entry-1">bdecode_node</a><ul>35 <li><a·class="reference·internal"·href="#bdecode-node"·id="toc-entry-1">bdecode_node</a><ul>
36 <li><a·class="reference·internal"·href="#bdecode-node-1"·id="toc-entry-2">bdecode_node()</a></li>36 <li><a·class="reference·internal"·href="#bdecode-node-1"·id="toc-entry-2">bdecode_node()</a></li>
37 <li><a·class="reference·internal"·href="#bdecode-node-operator"·id="toc-entry-3">bdecode_node()·operator=()</a></li>37 <li><a·class="reference·internal"·href="#bdecode-node-operator"·id="toc-entry-3">bdecode_node()·operator=()</a></li>
38 <li><a·class="reference·internal"·href="#type"·id="toc-entry-4">type()</a></li>38 <li><a·class="reference·internal"·href="#type"·id="toc-entry-4">type()</a></li>
39 <li><a·class="reference·internal"·href="#bool"·id="toc-entry-5">bool()</a></li>39 <li><a·class="reference·internal"·href="#bool"·id="toc-entry-5">bool()</a></li>
40 <li><a·class="reference·internal"·href="#non-owning"·id="toc-entry-6">non_owning()</a></li>40 <li><a·class="reference·internal"·href="#non-owning"·id="toc-entry-6">non_owning()</a></li>
41 <li><a·class="reference·internal"·href="#data-offset-data-section"·id="toc-entry-7">data_offset()·data_section()</a></li>41 <li><a·class="reference·internal"·href="#data-section-data-offset"·id="toc-entry-7">data_section()·data_offset()</a></li>
42 <li><a·class="reference·internal"·href="#list-at-list-int-value-at-list-size-list-string-value-at"·id="toc-entry-8">list_at()·list_int_value_at()·list_size()·list_string_value_at()</a></li>42 <li><a·class="reference·internal"·href="#list-at-list-int-value-at-list-string-value-at-list-size"·id="toc-entry-8">list_at()·list_int_value_at()·list_string_value_at()·list_size()</a></li>
43 <li><a·class="reference·internal"·href="#dict-find-dict-find-int-value-dict-find-list-dict-size-dict-at-node-dict-at-dict-find-string-value-dict-find-string-dict-find-int-dict-find-dict"·id="toc-entry-9">dict_find()·dict_find_int_value()·dict_find_list()·dict_size()·dict_at_node()·dict_at()·dict_find_string_val[·...·truncated·by·diffoscope;·len:·54,·SHA:·af3315b6c19522033ad45436e5fb3166d07b366520cdf6ed696493f111ea9898·...·]()</a></li>43 <li><a·class="reference·internal"·href="#dict-find-dict-dict-at-node-dict-find-list-dict-at-dict-find-int-value-dict-find-string-value-dict-find-int-dict-size-dict-find-string-dict-find"·id="toc-entry-9">dict_find_dict()·dict_at_node()·dict_find_list()·dict_at()·dict_find_int_value()·dict_find_string_value()·di[·...·truncated·by·diffoscope;·len:·54,·SHA:·9e25a94f2fc2adb8d29d721557f8959501a45c2dc1f3c454a7835750f6595929·...·]()</a></li>
44 <li><a·class="reference·internal"·href="#int-value"·id="toc-entry-10">int_value()</a></li>44 <li><a·class="reference·internal"·href="#int-value"·id="toc-entry-10">int_value()</a></li>
45 <li><a·class="reference·internal"·href="#string-value-string-length-string-ptr-string-offset"·id="toc-entry-11">string_value()·string_length()·string_ptr()·string_offset()</a></li>45 <li><a·class="reference·internal"·href="#string-ptr-string-length-string-offset-string-value"·id="toc-entry-11">string_ptr()·string_length()·string_offset()·string_value()</a></li>
46 <li><a·class="reference·internal"·href="#clear"·id="toc-entry-12">clear()</a></li>46 <li><a·class="reference·internal"·href="#clear"·id="toc-entry-12">clear()</a></li>
47 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li>47 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li>
48 <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-14">reserve()</a></li>48 <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-14">reserve()</a></li>
49 <li><a·class="reference·internal"·href="#switch-underlying-buffer"·id="toc-entry-15">switch_underlying_buffer()</a></li>49 <li><a·class="reference·internal"·href="#switch-underlying-buffer"·id="toc-entry-15">switch_underlying_buffer()</a></li>
50 <li><a·class="reference·internal"·href="#has-soft-error"·id="toc-entry-16">has_soft_error()</a></li>50 <li><a·class="reference·internal"·href="#has-soft-error"·id="toc-entry-16">has_soft_error()</a></li>
51 <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-17">enum·type_t</a></li>51 <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-17">enum·type_t</a></li>
52 </ul>52 </ul>
Offset 64, 44 lines modifiedOffset 64, 44 lines modified
64 <p>There·are·5·different·types·of·nodes,·see·<a·class="reference·external"·href="reference-Torrent_Info.html#type_t">type_t</a>.</p>64 <p>There·are·5·different·types·of·nodes,·see·<a·class="reference·external"·href="reference-Torrent_Info.html#type_t">type_t</a>.</p>
65 <pre·class="literal-block">65 <pre·class="literal-block">
66 struct·bdecode_node66 struct·bdecode_node
67 {67 {
68 ···<strong>bdecode_node</strong>·()·=·default;68 ···<strong>bdecode_node</strong>·()·=·default;
69 ···<strong>bdecode_node</strong>·(bdecode_node·const&amp;);69 ···<strong>bdecode_node</strong>·(bdecode_node·const&amp;);
70 ···bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;70 ···bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;
71 ···<strong>bdecode_node</strong>·(bdecode_node&amp;&amp;)·noexcept; 
72 ···bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node&amp;&amp;)·&amp;·=·default;71 ···bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node&amp;&amp;)·&amp;·=·default;
 72 ···<strong>bdecode_node</strong>·(bdecode_node&amp;&amp;)·noexcept;
73 ···type_t·<strong>type</strong>·()·const·noexcept;73 ···type_t·<strong>type</strong>·()·const·noexcept;
74 ···explicit·operator·<strong>bool</strong>·()·const·noexcept;74 ···explicit·operator·<strong>bool</strong>·()·const·noexcept;
75 ···bdecode_node·<strong>non_owning</strong>·()·const;75 ···bdecode_node·<strong>non_owning</strong>·()·const;
76 ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; 
77 ···span&lt;char·const&gt;·<strong>data_section</strong>·()·const·noexcept;76 ···span&lt;char·const&gt;·<strong>data_section</strong>·()·const·noexcept;
78 ···int·<strong>list_size</strong>·()·const;77 ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept;
79 ···string_view·<strong>list_string_value_at</strong>·(int·i78 ···string_view·<strong>list_string_value_at</strong>·(int·i
80 ······,·string_view·default_val·=·string_view())·const;79 ······,·string_view·default_val·=·string_view())·const;
81 ···std::int64_t·<strong>list_int_value_at</strong>·(int·i80 ···std::int64_t·<strong>list_int_value_at</strong>·(int·i
82 ······,·std::int64_t·default_val·=·0)·const;81 ······,·std::int64_t·default_val·=·0)·const;
83 ···bdecode_node·<strong>list_at</strong>·(int·i)·const;82 ···bdecode_node·<strong>list_at</strong>·(int·i)·const;
84 ···int·<strong>dict_size</strong>·()·const;83 ···int·<strong>list_size</strong>·()·const;
85 ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key 
86 ······,·std::int64_t·default_val·=·0)·const; 
87 ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const; 
88 ···std::pair&lt;string_view,·bdecode_node&gt;·<strong>dict_at</strong>·(int·i)·const;84 ···std::pair&lt;bdecode_node,·bdecode_node&gt;·<strong>dict_at_node</strong>·(int·i)·const;
89 ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const; 
90 ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const; 
91 ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const;85 ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const;
 86 ···std::pair&lt;string_view,·bdecode_node&gt;·<strong>dict_at</strong>·(int·i)·const;
92 ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const;87 ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const;
93 ···std::pair&lt;bdecode_node,·bdecode_node&gt;·<strong>dict_at_node</strong>·(int·i)·const; 
94 ···string_view·<strong>dict_find_string_value</strong>·(string_view·key88 ···string_view·<strong>dict_find_string_value</strong>·(string_view·key
95 ······,·string_view·default_value·=·string_view())·const;89 ······,·string_view·default_value·=·string_view())·const;
 90 ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const;
 91 ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key
 92 ······,·std::int64_t·default_val·=·0)·const;
 93 ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const;
 94 ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const;
 95 ···int·<strong>dict_size</strong>·()·const;
96 ···std::int64_t·<strong>int_value</strong>·()·const;96 ···std::int64_t·<strong>int_value</strong>·()·const;
97 ···char·const*·<strong>string_ptr</strong>·()·const; 
98 ···int·<strong>string_length</strong>·()·const; 
99 ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; 
100 ···string_view·<strong>string_value</strong>·()·const;97 ···string_view·<strong>string_value</strong>·()·const;
 98 ···std::ptrdiff_t·<strong>string_offset</strong>·()·const;
 99 ···int·<strong>string_length</strong>·()·const;
 100 ···char·const*·<strong>string_ptr</strong>·()·const;
101 ···void·<strong>clear</strong>·();101 ···void·<strong>clear</strong>·();
102 ···void·<strong>swap</strong>·(bdecode_node&amp;·n);102 ···void·<strong>swap</strong>·(bdecode_node&amp;·n);
103 ···void·<strong>reserve</strong>·(int·tokens);103 ···void·<strong>reserve</strong>·(int·tokens);
104 ···void·<strong>switch_underlying_buffer</strong>·(char·const*·buf)·noexcept;104 ···void·<strong>switch_underlying_buffer</strong>·(char·const*·buf)·noexcept;
105 ···bool·<strong>has_soft_error</strong>·(span&lt;char&gt;·error)·const;105 ···bool·<strong>has_soft_error</strong>·(span&lt;char&gt;·error)·const;
  
106 ···enum·type_t106 ···enum·type_t
Offset 123, 16 lines modifiedOffset 123, 16 lines modified
123 <a·name="bdecode_node()"></a>123 <a·name="bdecode_node()"></a>
124 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bbdecode_node%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bbdecode_node%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>124 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bbdecode_node%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bbdecode_node%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
125 <div·class="section"·id="bdecode-node-operator">125 <div·class="section"·id="bdecode-node-operator">
126 <h2>bdecode_node()·operator=()</h2>126 <h2>bdecode_node()·operator=()</h2>
127 <pre·class="literal-block">127 <pre·class="literal-block">
128 <strong>bdecode_node</strong>·(bdecode_node·const&amp;);128 <strong>bdecode_node</strong>·(bdecode_node·const&amp;);
129 bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;129 bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;
130 <strong>bdecode_node</strong>·(bdecode_node&amp;&amp;)·noexcept; 
131 bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node&amp;&amp;)·&amp;·=·default;130 bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node&amp;&amp;)·&amp;·=·default;
 131 <strong>bdecode_node</strong>·(bdecode_node&amp;&amp;)·noexcept;
132 </pre>132 </pre>
133 <p>For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the133 <p>For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the
134 underlying·buffer·remains·the·same.</p>134 underlying·buffer·remains·the·same.</p>
135 <a·name="type()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Btype%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Btype%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>135 <a·name="type()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Btype%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Btype%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
136 <div·class="section"·id="type">136 <div·class="section"·id="type">
137 <h2>type()</h2>137 <h2>type()</h2>
138 <pre·class="literal-block">138 <pre·class="literal-block">
Offset 150, 71 lines modifiedOffset 150, 71 lines modified
150 <div·class="section"·id="non-owning">150 <div·class="section"·id="non-owning">
151 <h2>non_owning()</h2>151 <h2>non_owning()</h2>
152 <pre·class="literal-block">152 <pre·class="literal-block">
153 bdecode_node·<strong>non_owning</strong>·()·const;153 bdecode_node·<strong>non_owning</strong>·()·const;
154 </pre>154 </pre>
155 <p>return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to155 <p>return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to
156 the·root·node·without·copying·it·in·assignments.</p>156 the·root·node·without·copying·it·in·assignments.</p>
157 <a·name="data_offset()"></a>157 <a·name="data_section()"></a>
158 <a·name="data_section()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bdata_offset%28%29+data_section%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bdata_of[·...·truncated·by·diffoscope;·len:·23,·SHA:·bf01c3b17a91ea07b53e6ec549238c175c4de1f168cff96c61137911f4ff8c7e·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>158 <a·name="data_offset()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bdata_section%28%29+data_offset%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bdata_sec[·...·truncated·by·diffoscope;·len:·22,·SHA:·f13dbb62e781831b347b6d484fb4e1aff7037905ca0792097727558cf7ab273f·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
159 <div·class="section"·id="data-offset-data-section">159 <div·class="section"·id="data-section-data-offset">
160 <h2>data_offset()·data_section()</h2>160 <h2>data_section()·data_offset()</h2>
161 <pre·class="literal-block">161 <pre·class="literal-block">
162 std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept; 
163 span&lt;char·const&gt;·<strong>data_section</strong>·()·const·noexcept;162 span&lt;char·const&gt;·<strong>data_section</strong>·()·const·noexcept;
 163 std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept;
164 </pre>164 </pre>
165 <p>returns·the·buffer·and·length·of·the·section·in·the·original·bencoded165 <p>returns·the·buffer·and·length·of·the·section·in·the·original·bencoded
166 buffer·where·this·node·is·defined.·For·a·dictionary·for·instance,·this166 buffer·where·this·node·is·defined.·For·a·dictionary·for·instance,·this
167 starts·with·<tt·class="docutils·literal">d</tt>·and·ends·with·<tt·class="docutils·literal">e</tt>,·and·has·all·the·content·of·the167 starts·with·<tt·class="docutils·literal">d</tt>·and·ends·with·<tt·class="docutils·literal">e</tt>,·and·has·all·the·content·of·the
168 dictionary·in·between.168 dictionary·in·between.
169 the·<tt·class="docutils·literal">data_offset()</tt>·function·returns·the·byte-offset·to·this·node·in,169 the·<tt·class="docutils·literal">data_offset()</tt>·function·returns·the·byte-offset·to·this·node·in,
170 starting·from·the·beginning·of·the·buffer·that·was·parsed.</p>170 starting·from·the·beginning·of·the·buffer·that·was·parsed.</p>
171 <a·name="list_at()"></a>171 <a·name="list_at()"></a>
172 <a·name="list_int_value_at()"></a>172 <a·name="list_int_value_at()"></a>
173 <a·name="list_size()"></a>173 <a·name="list_string_value_at()"></a>
174 <a·name="list_string_value_at()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Blist_at%28%29+list_int_value_at%28%29+list_size%28%29+list_string_value_at%28%29%5D&labels=documentation&body=Document[·...·truncated·by·diffoscope;·len:·118,·SHA:·25c3ccbdc215647bdc8c87fd74a6c4edc7fec4b8972620aed96a9fb32bc200bf·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>174 <a·name="list_size()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Blist_at%28%29+list_int_value_at%28%29+list_string_value_at%28%29+list_size%28%29%5D&labels=documentation&body=Documentation+under[·...·truncated·by·diffoscope;·len:·107,·SHA:·3379a5f854bdf7551bd7b80d51326d5d15d13e7c629b8a82f9dbc8f670f8710b·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
175 <div·class="section"·id="list-at-list-int-value-at-list-size-list-string-value-at">175 <div·class="section"·id="list-at-list-int-value-at-list-string-value-at-list-size">
176 <h2>list_at()·list_int_value_at()·list_size()·list_string_value_at()</h2>176 <h2>list_at()·list_int_value_at()·list_string_value_at()·list_size()</h2>
177 <pre·class="literal-block">177 <pre·class="literal-block">
178 int·<strong>list_size</strong>·()·const; 
179 string_view·<strong>list_string_value_at</strong>·(int·i178 string_view·<strong>list_string_value_at</strong>·(int·i
180 ······,·string_view·default_val·=·string_view())·const;179 ······,·string_view·default_val·=·string_view())·const;
181 std::int64_t·<strong>list_int_value_at</strong>·(int·i180 std::int64_t·<strong>list_int_value_at</strong>·(int·i
Max diff block lines reached; 8063/19591 bytes (41.16%) of diff not shown.
14.1 KB
html2text {}
    
Offset 5, 21 lines modifiedOffset 5, 21 lines modified
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e6 ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e
7 ··········o·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)7 ··········o·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)
8 ··········o·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)8 ··········o·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)
9 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)9 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)
10 ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8)10 ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8)
11 ··········o·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)11 ··········o·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)
12 ··········o·_\x8d_\x8a_\x8t_\x8a_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) 
13 ··········o·_\x8l_.i_.s_.t_.__.a_.t_.(_.)_.·_.l_.i_.s_.t_.__.i_.n_.t_.__.v_.a_.l_.u_.e_.__.a_.t_.(_.)_.·_.l_.i_.s_.t_.__.s_.i_.z_.e_.(_.)_.·_.l_.i_.s_.t_.__.s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_.__.a_\x8t_\x8(_\x8)12 ··········o·_\x8d_.a_.t_.a_.__.s_.e_.c_.t_.i_.o_.n_.(_.)_.·_.d_.a_.t_.a_.__.o_.f_.f_.s_.e_\x8t_\x8(_\x8)
 13 ··········o·_\x8l_\x8i_\x8s_\x8t_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)
14 ··········o·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.i_.n_.t_.__.v_.a_.l_.u_.e_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.l_.i_.s_.t_.(_.)_.·_.d_.i_.c_.t_.__.s_.i_.z_.e_\x8(_\x8)14 ··········o·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__.d_.i_.c_.t_.(_.)_.·_.d_.i_.c_.t_.__.a_.t_.__.n_.o_.d_.e_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.l_.i_.s_.t_.(_.)_.·_.d_.i_.c_.t_.__.a_.t_\x8(_\x8)
15 ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_.t_.__.n_.o_.d_.e_.(_.)_.·_.d_.i_.c_.t_.__.a_.t_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.s_.t_.r_.i_.n_.g15 ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_.i_.n_.d_.__.i_.n_.t_.__.v_.a_.l_.u_.e_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.i_.n_.t_.(_.)
16 ············_\x8(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.i_.n_.t_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.d_.i_.c_.t_\x8(_\x8)16 ············_\x8d_.i_.c_.t_.__.s_.i_.z_.e_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_.__.s_.t_.r_.i_.n_.g_.(_.)_.·_.d_.i_.c_.t_.__.f_.i_.n_.d_\x8(_\x8)
17 ··········o·_\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)17 ··········o·_\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)
18 ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_.a_.l_.u_.e_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.l_.e_.n_.g_.t_.h_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.p_.t_.r_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.o_.f_.f_.s_.e_.t_\x8(_\x8)18 ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8p_.t_.r_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.l_.e_.n_.g_.t_.h_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.o_.f_.f_.s_.e_.t_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_\x8(_\x8)
19 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8)19 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8)
20 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)20 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)
21 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8)21 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8)
22 ··········o·_\x8s_\x8w_\x8i_\x8t_\x8c_\x8h_\x8__\x8u_\x8n_\x8d_\x8e_\x8r_\x8l_\x8y_\x8i_\x8n_\x8g_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)22 ··········o·_\x8s_\x8w_\x8i_\x8t_\x8c_\x8h_\x8__\x8u_\x8n_\x8d_\x8e_\x8r_\x8l_\x8y_\x8i_\x8n_\x8g_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)
23 ··········o·_\x8h_\x8a_\x8s_\x8__\x8s_\x8o_\x8f_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8)23 ··········o·_\x8h_\x8a_\x8s_\x8__\x8s_\x8o_\x8f_\x8t_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8)
24 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t24 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t
25 ····*·_\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)25 ····*·_\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)
Offset 32, 44 lines modifiedOffset 32, 44 lines modified
32 member·function.32 member·function.
33 There·are·5·different·types·of·nodes,·see·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t.33 There·are·5·different·types·of·nodes,·see·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t.
34 struct·bdecode_node34 struct·bdecode_node
35 {35 {
36 ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default;36 ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default;
37 ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&);37 ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&);
38 ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;38 ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;
39 ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; 
40 ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default;39 ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default;
 40 ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept;
41 ···type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept;41 ···type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept;
42 ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const·noexcept;42 ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const·noexcept;
43 ···bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const;43 ···bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const;
44 ···std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; 
45 ···span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept;44 ···span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept;
46 ···int·l.li.is.st.t_._s.si.iz.ze.e·()·const;45 ···std::ptrdiff_t·d.da.at.ta.a_._o.of.ff.fs.se.et.t·()·const·noexcept;
47 ···string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i46 ···string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i
48 ······,·string_view·default_val·=·string_view())·const;47 ······,·string_view·default_val·=·string_view())·const;
49 ···std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i48 ···std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i
50 ······,·std::int64_t·default_val·=·0)·const;49 ······,·std::int64_t·default_val·=·0)·const;
51 ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const;50 ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const;
52 ···int·d.di.ic.ct\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const;51 ···int·l.li.is.st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const;
53 ···std::int64_t·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key 
54 ······,·std::int64_t·default_val·=·0)·const; 
55 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const; 
56 ···std::pair<string_view,·bdecode_node>·d.di.ic.ct.t_._a.at.t·(int·i)·const;52 ···std::pair<bdecode_node,·bdecode_node>·d.di.ic.ct.t_._a.at.t_._n.no.od.de.e·(int·i)·const;
57 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const; 
58 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(string_view·key)·const; 
59 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const;53 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const;
 54 ···std::pair<string_view,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t·(int·i)·const;
60 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·const;55 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·const;
61 ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const; 
62 ···string_view·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key56 ···string_view·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key
63 ······,·string_view·default_value·=·string_view())·const;57 ······,·string_view·default_value·=·string_view())·const;
 58 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(string_view·key)·const;
 59 ···std::int64_t·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(string_view·key
 60 ······,·std::int64_t·default_val·=·0)·const;
 61 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const;
 62 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const;
 63 ···int·d\x8di\x8ic\x8ct\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const;
64 ···std::int64_t·i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const;64 ···std::int64_t·i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const;
65 ···char·const*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_p\x8pt\x8tr\x8r·()·const; 
66 ···int·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; 
67 ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const; 
68 ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const;65 ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const;
 66 ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const;
 67 ···int·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const;
 68 ···char·const*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_p\x8pt\x8tr\x8r·()·const;
69 ···void·c\x8cl\x8le\x8ea\x8ar\x8r·();69 ···void·c\x8cl\x8le\x8ea\x8ar\x8r·();
70 ···void·s\x8sw\x8wa\x8ap\x8p·(bdecode_node&·n);70 ···void·s\x8sw\x8wa\x8ap\x8p·(bdecode_node&·n);
71 ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·tokens);71 ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·tokens);
72 ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_u\x8un\x8nd\x8de\x8er\x8rl\x8ly\x8yi\x8in\x8ng\x8g_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·buf)·noexcept;72 ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_u\x8un\x8nd\x8de\x8er\x8rl\x8ly\x8yi\x8in\x8ng\x8g_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·buf)·noexcept;
73 ···bool·h\x8ha\x8as\x8s_\x8_s\x8so\x8of\x8ft\x8t_\x8_e\x8er\x8rr\x8ro\x8or\x8r·(span<char>·error)·const;73 ···bool·h\x8ha\x8as\x8s_\x8_s\x8so\x8of\x8ft\x8t_\x8_e\x8er\x8rr\x8ro\x8or\x8r·(span<char>·error)·const;
  
74 ···enum·type_t74 ···enum·type_t
Offset 85, 16 lines modifiedOffset 85, 16 lines modified
85 *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*85 *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
86 b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default;86 b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·()·=·default;
87 creates·a·default·constructed·node,·it·will·have·the·type·none_t.87 creates·a·default·constructed·node,·it·will·have·the·type·none_t.
88 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]88 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
89 *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*89 *\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
90 b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&);90 b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&);
91 bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;91 bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;
92 b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept; 
93 bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default;92 bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default;
 93 b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept;
94 For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the·underlying94 For·owning·nodes,·the·copy·will·create·a·copy·of·the·tree,·but·the·underlying
95 buffer·remains·the·same.95 buffer·remains·the·same.
96 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]96 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
97 *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*97 *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
98 type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept;98 type_t·t\x8ty\x8yp\x8pe\x8e·()·const·noexcept;
99 the·type·of·this·node.·See·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t.99 the·type·of·this·node.·See·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t.
100 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]100 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
Offset 103, 50 lines modifiedOffset 103, 50 lines modified
103 returns·true·if·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)·!=·none_t.103 returns·true·if·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)·!=·none_t.
104 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]104 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
105 *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*105 *\x8**\x8**\x8**\x8**\x8*·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
106 bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const;106 bdecode_node·n\x8no\x8on\x8n_\x8_o\x8ow\x8wn\x8ni\x8in\x8ng\x8g·()·const;
107 return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to·the·root107 return·a·non-owning·reference·to·this·node.·This·is·useful·to·refer·to·the·root
108 node·without·copying·it·in·assignments.108 node·without·copying·it·in·assignments.
109 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]109 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 110 *\x8**\x8**\x8**\x8**\x8*·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n(\x8()\x8)·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
110 *\x8**\x8**\x8**\x8**\x8*·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t(\x8()\x8)·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
111 std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept; 
112 span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept;111 span<char·const>·d\x8da\x8at\x8ta\x8a_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const·noexcept;
 112 std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept;
113 returns·the·buffer·and·length·of·the·section·in·the·original·bencoded·buffer113 returns·the·buffer·and·length·of·the·section·in·the·original·bencoded·buffer
114 where·this·node·is·defined.·For·a·dictionary·for·instance,·this·starts·with·d114 where·this·node·is·defined.·For·a·dictionary·for·instance,·this·starts·with·d
115 and·ends·with·e,·and·has·all·the·content·of·the·dictionary·in·between.·the115 and·ends·with·e,·and·has·all·the·content·of·the·dictionary·in·between.·the
116 data_offset()·function·returns·the·byte-offset·to·this·node·in,·starting·from116 data_offset()·function·returns·the·byte-offset·to·this·node·in,·starting·from
117 the·beginning·of·the·buffer·that·was·parsed.117 the·beginning·of·the·buffer·that·was·parsed.
118 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]118 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 119 *\x8**\x8**\x8**\x8**\x8*·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
119 *\x8**\x8**\x8**\x8**\x8*·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
120 int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const; 
121 string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i120 string_view·l\x8li\x8is\x8st\x8t_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i
122 ······,·string_view·default_val·=·string_view())·const;121 ······,·string_view·default_val·=·string_view())·const;
123 std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i122 std::int64_t·l\x8li\x8is\x8st\x8t_\x8_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t·(int·i
124 ······,·std::int64_t·default_val·=·0)·const;123 ······,·std::int64_t·default_val·=·0)·const;
125 bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const;124 bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const;
 125 int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const;
126 functions·with·the·list_·prefix·operate·on·lists.·These·functions·are·only126 functions·with·the·list_·prefix·operate·on·lists.·These·functions·are·only
127 valid·if·type()·==·list_t.·list_at()·returns·the·item·in·the·list·at·index·i.·i127 valid·if·type()·==·list_t.·list_at()·returns·the·item·in·the·list·at·index·i.·i
128 may·not·be·greater·than·or·equal·to·the·size·of·the·list.·size()·returns·the128 may·not·be·greater·than·or·equal·to·the·size·of·the·list.·size()·returns·the
Max diff block lines reached; 4615/14419 bytes (32.01%) of diff not shown.
23.3 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bencoding.html
    
Offset 34, 28 lines modifiedOffset 34, 28 lines modified
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#entry"·id="toc-entry-1">entry</a><ul>35 <li><a·class="reference·internal"·href="#entry"·id="toc-entry-1">entry</a><ul>
36 <li><a·class="reference·internal"·href="#type"·id="toc-entry-2">type()</a></li>36 <li><a·class="reference·internal"·href="#type"·id="toc-entry-2">type()</a></li>
37 <li><a·class="reference·internal"·href="#entry-1"·id="toc-entry-3">entry()</a></li>37 <li><a·class="reference·internal"·href="#entry-1"·id="toc-entry-3">entry()</a></li>
38 <li><a·class="reference·internal"·href="#entry-2"·id="toc-entry-4">entry()</a></li>38 <li><a·class="reference·internal"·href="#entry-2"·id="toc-entry-4">entry()</a></li>
39 <li><a·class="reference·internal"·href="#entry-3"·id="toc-entry-5">entry()</a></li>39 <li><a·class="reference·internal"·href="#entry-3"·id="toc-entry-5">entry()</a></li>
40 <li><a·class="reference·internal"·href="#operator"·id="toc-entry-6">operator=()</a></li>40 <li><a·class="reference·internal"·href="#operator"·id="toc-entry-6">operator=()</a></li>
41 <li><a·class="reference·internal"·href="#string-preformatted-list-integer-dict"·id="toc-entry-7">string()·preformatted()·list()·integer()·dict()</a></li>41 <li><a·class="reference·internal"·href="#string-list-integer-preformatted-dict"·id="toc-entry-7">string()·list()·integer()·preformatted()·dict()</a></li>
42 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-8">swap()</a></li>42 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-8">swap()</a></li>
43 <li><a·class="reference·internal"·href="#operator-1"·id="toc-entry-9">operator[]()</a></li>43 <li><a·class="reference·internal"·href="#operator-1"·id="toc-entry-9">operator[]()</a></li>
44 <li><a·class="reference·internal"·href="#find-key"·id="toc-entry-10">find_key()</a></li>44 <li><a·class="reference·internal"·href="#find-key"·id="toc-entry-10">find_key()</a></li>
45 <li><a·class="reference·internal"·href="#to-string"·id="toc-entry-11">to_string()</a></li>45 <li><a·class="reference·internal"·href="#to-string"·id="toc-entry-11">to_string()</a></li>
46 <li><a·class="reference·internal"·href="#enum-data-type"·id="toc-entry-12">enum·data_type</a></li>46 <li><a·class="reference·internal"·href="#enum-data-type"·id="toc-entry-12">enum·data_type</a></li>
47 </ul>47 </ul>
48 </li>48 </li>
49 <li><a·class="reference·internal"·href="#bencode"·id="toc-entry-13">bencode()</a></li>49 <li><a·class="reference·internal"·href="#bencode"·id="toc-entry-13">bencode()</a></li>
50 <li><a·class="reference·internal"·href="#operator-2"·id="toc-entry-14">operator&lt;&lt;()</a></li>50 <li><a·class="reference·internal"·href="#operator-2"·id="toc-entry-14">operator&lt;&lt;()</a></li>
51 </ul>51 </ul>
52 </div>52 </div>
53 <p>Bencoding·is·a·common·representation·in·bittorrent·used·for·dictionary,53 <p>Bencoding·is·a·common·representation·in·bittorrent·used·for·dictionary,
54 list,·<a·class="reference·external"·href="reference-Core.html#int">int</a>·and·string·hierarchies.·It's·used·to·encode·.torrent·files·and54 list,·<a·class="reference·external"·href="reference-Alerts.html#int">int</a>·and·string·hierarchies.·It's·used·to·encode·.torrent·files·and
55 some·messages·in·the·network·protocol.·libtorrent·also·uses·it·to·store55 some·messages·in·the·network·protocol.·libtorrent·also·uses·it·to·store
56 settings,·resume·data·and·other·<a·class="reference·external"·href="reference-Session.html#session">session</a>·state.</p>56 settings,·resume·data·and·other·<a·class="reference·external"·href="reference-Session.html#session">session</a>·state.</p>
57 <p>Strings·in·bencoded·structures·do·not·necessarily·represent·text.57 <p>Strings·in·bencoded·structures·do·not·necessarily·represent·text.
58 Strings·are·raw·byte·buffers·of·a·certain·length.·If·a·string·is·meant·to·be58 Strings·are·raw·byte·buffers·of·a·certain·length.·If·a·string·is·meant·to·be
59 interpreted·as·text,·it·is·required·to·be·UTF-8·encoded.·See·<a·class="reference·external"·href="https://www.bittorrent.org/beps/bep_0003.html">BEP·3</a>.</p>59 interpreted·as·text,·it·is·required·to·be·UTF-8·encoded.·See·<a·class="reference·external"·href="https://www.bittorrent.org/beps/bep_0003.html">BEP·3</a>.</p>
60 <p>The·function·for·decoding·bencoded·data·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode()">bdecode()</a>,·returning·a·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode_node">bdecode_node</a>.60 <p>The·function·for·decoding·bencoded·data·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode()">bdecode()</a>,·returning·a·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode_node">bdecode_node</a>.
61 This·function·builds·a·tree·that·points·back·into·the·original·buffer.·The61 This·function·builds·a·tree·that·points·back·into·the·original·buffer.·The
Offset 69, 46 lines modifiedOffset 69, 46 lines modified
69 <p>The·<tt·class="docutils·literal">entry</tt>·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a69 <p>The·<tt·class="docutils·literal">entry</tt>·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a
70 variant·type,·it·can·be·either·a·list,·a·dictionary·(<tt·class="docutils·literal"><span·class="pre">std::map</span></tt>),·an·integer70 variant·type,·it·can·be·either·a·list,·a·dictionary·(<tt·class="docutils·literal"><span·class="pre">std::map</span></tt>),·an·integer
71 or·a·string.</p>71 or·a·string.</p>
72 <pre·class="literal-block">72 <pre·class="literal-block">
73 class·entry73 class·entry
74 {74 {
75 ···data_type·<strong>type</strong>·()·const;75 ···data_type·<strong>type</strong>·()·const;
76 ···<strong>entry</strong>·(list_type);76 ···<strong>entry</strong>·(dictionary_type);
77 ···<strong>entry</strong>·(span&lt;char·const&gt;);77 ···<strong>entry</strong>·(span&lt;char·const&gt;);
78 ···<strong>entry</strong>·(integer_type);78 ···<strong>entry</strong>·(integer_type);
 79 ···<strong>entry</strong>·(list_type);
79 ···<strong>entry</strong>·(preformatted_type);80 ···<strong>entry</strong>·(preformatted_type);
80 ···<strong>entry</strong>·(dictionary_type); 
81 ···<strong>entry</strong>·(U·v);81 ···<strong>entry</strong>·(U·v);
82 ···<strong>entry</strong>·(data_type·t);82 ···<strong>entry</strong>·(data_type·t);
83 ···<strong>entry</strong>·(bdecode_node·const&amp;·n);83 ···<strong>entry</strong>·(bdecode_node·const&amp;·n);
84 ···entry&amp;·<strong>operator=</strong>·(dictionary_type)·&amp;; 
85 ···entry&amp;·<strong>operator=</strong>·(span&lt;char·const&gt;)·&amp;; 
86 ···entry&amp;·<strong>operator=</strong>·(list_type)·&amp;;84 ···entry&amp;·<strong>operator=</strong>·(list_type)·&amp;;
87 ···entry&amp;·<strong>operator=</strong>·(entry&amp;&amp;)·&amp;·noexcept;85 ···entry&amp;·<strong>operator=</strong>·(integer_type)·&amp;;
88 ···entry&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;86 ···entry&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;
89 ···entry&amp;·<strong>operator=</strong>·(preformatted_type)·&amp;;87 ···entry&amp;·<strong>operator=</strong>·(dictionary_type)·&amp;;
 88 ···entry&amp;·<strong>operator=</strong>·(span&lt;char·const&gt;)·&amp;;
90 ···entry&amp;·<strong>operator=</strong>·(entry·const&amp;)·&amp;;89 ···entry&amp;·<strong>operator=</strong>·(entry·const&amp;)·&amp;;
91 ···entry&amp;·<strong>operator=</strong>·(integer_type)·&amp;;90 ···entry&amp;·<strong>operator=</strong>·(preformatted_type)·&amp;;
 91 ···entry&amp;·<strong>operator=</strong>·(entry&amp;&amp;)·&amp;·noexcept;
92 ···entry&amp;·<strong>operator=</strong>·(U·v)·&amp;;92 ···entry&amp;·<strong>operator=</strong>·(U·v)·&amp;;
 93 ···integer_type·const&amp;·<strong>integer</strong>·()·const;
 94 ···string_type·const&amp;·<strong>string</strong>·()·const;
93 ···string_type&amp;·<strong>string</strong>·();95 ···string_type&amp;·<strong>string</strong>·();
94 ···dictionary_type&amp;·<strong>dict</strong>·(); 
95 ···list_type·const&amp;·<strong>list</strong>·()·const; 
96 ···dictionary_type·const&amp;·<strong>dict</strong>·()·const;96 ···dictionary_type·const&amp;·<strong>dict</strong>·()·const;
97 ···integer_type&amp;·<strong>integer</strong>·(); 
98 ···preformatted_type·const&amp;·<strong>preformatted</strong>·()·const;97 ···list_type·const&amp;·<strong>list</strong>·()·const;
99 ···list_type&amp;·<strong>list</strong>·();98 ···list_type&amp;·<strong>list</strong>·();
100 ···string_type·const&amp;·<strong>string</strong>·()·const; 
101 ···integer_type·const&amp;·<strong>integer</strong>·()·const; 
102 ···preformatted_type&amp;·<strong>preformatted</strong>·();99 ···preformatted_type&amp;·<strong>preformatted</strong>·();
 100 ···integer_type&amp;·<strong>integer</strong>·();
 101 ···preformatted_type·const&amp;·<strong>preformatted</strong>·()·const;
 102 ···dictionary_type&amp;·<strong>dict</strong>·();
103 ···void·<strong>swap</strong>·(entry&amp;·e);103 ···void·<strong>swap</strong>·(entry&amp;·e);
104 ···entry&amp;·<strong>operator[]</strong>·(string_view·key); 
105 ···entry·const&amp;·<strong>operator[]</strong>·(string_view·key)·const;104 ···entry·const&amp;·<strong>operator[]</strong>·(string_view·key)·const;
106 ···entry·const*·<strong>find_key</strong>·(string_view·key)·const;105 ···entry&amp;·<strong>operator[]</strong>·(string_view·key);
107 ···entry*·<strong>find_key</strong>·(string_view·key);106 ···entry*·<strong>find_key</strong>·(string_view·key);
 107 ···entry·const*·<strong>find_key</strong>·(string_view·key)·const;
108 ···std::string·<strong>to_string</strong>·(bool·single_line·=·false)·const;108 ···std::string·<strong>to_string</strong>·(bool·single_line·=·false)·const;
  
109 ···enum·data_type109 ···enum·data_type
110 ···{110 ···{
111 ······int_t,111 ······int_t,
112 ······string_t,112 ······string_t,
113 ······list_t,113 ······list_t,
Offset 124, 19 lines modifiedOffset 124, 19 lines modified
124 data_type·<strong>type</strong>·()·const;124 data_type·<strong>type</strong>·()·const;
125 </pre>125 </pre>
126 <p>returns·the·concrete·type·of·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p>126 <p>returns·the·concrete·type·of·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p>
127 <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>127 <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
128 <div·class="section"·id="entry-1">128 <div·class="section"·id="entry-1">
129 <h2>entry()</h2>129 <h2>entry()</h2>
130 <pre·class="literal-block">130 <pre·class="literal-block">
131 <strong>entry</strong>·(list_type);131 <strong>entry</strong>·(dictionary_type);
132 <strong>entry</strong>·(span&lt;char·const&gt;);132 <strong>entry</strong>·(span&lt;char·const&gt;);
133 <strong>entry</strong>·(integer_type);133 <strong>entry</strong>·(integer_type);
 134 <strong>entry</strong>·(list_type);
134 <strong>entry</strong>·(preformatted_type);135 <strong>entry</strong>·(preformatted_type);
135 <strong>entry</strong>·(dictionary_type); 
136 </pre>136 </pre>
137 <p>constructors·directly·from·a·specific·type.137 <p>constructors·directly·from·a·specific·type.
138 The·content·of·the·argument·is·copied·into·the138 The·content·of·the·argument·is·copied·into·the
139 newly·constructed·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p>139 newly·constructed·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a></p>
140 <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>140 <a·name="entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Bentry%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Bentry%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
141 <div·class="section"·id="entry-2">141 <div·class="section"·id="entry-2">
142 <h2>entry()</h2>142 <h2>entry()</h2>
Offset 152, 43 lines modifiedOffset 152, 43 lines modified
152 <strong>entry</strong>·(bdecode_node·const&amp;·n);152 <strong>entry</strong>·(bdecode_node·const&amp;·n);
153 </pre>153 </pre>
154 <p>construct·from·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode_node">bdecode_node</a>·parsed·form·(see·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode()">bdecode()</a>)</p>154 <p>construct·from·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode_node">bdecode_node</a>·parsed·form·(see·<a·class="reference·external"·href="reference-Bdecoding.html#bdecode()">bdecode()</a>)</p>
155 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Boperator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Boperator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>155 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:entry%3A%3A%5Boperator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22entry%3A%3A%5Boperator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
156 <div·class="section"·id="operator">156 <div·class="section"·id="operator">
157 <h2>operator=()</h2>157 <h2>operator=()</h2>
158 <pre·class="literal-block">158 <pre·class="literal-block">
159 entry&amp;·<strong>operator=</strong>·(dictionary_type)·&amp;; 
160 entry&amp;·<strong>operator=</strong>·(span&lt;char·const&gt;)·&amp;; 
161 entry&amp;·<strong>operator=</strong>·(list_type)·&amp;;159 entry&amp;·<strong>operator=</strong>·(list_type)·&amp;;
162 entry&amp;·<strong>operator=</strong>·(entry&amp;&amp;)·&amp;·noexcept;160 entry&amp;·<strong>operator=</strong>·(integer_type)·&amp;;
163 entry&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;161 entry&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;
164 entry&amp;·<strong>operator=</strong>·(preformatted_type)·&amp;;162 entry&amp;·<strong>operator=</strong>·(dictionary_type)·&amp;;
 163 entry&amp;·<strong>operator=</strong>·(span&lt;char·const&gt;)·&amp;;
165 entry&amp;·<strong>operator=</strong>·(entry·const&amp;)·&amp;;164 entry&amp;·<strong>operator=</strong>·(entry·const&amp;)·&amp;;
166 entry&amp;·<strong>operator=</strong>·(integer_type)·&amp;;165 entry&amp;·<strong>operator=</strong>·(preformatted_type)·&amp;;
 166 entry&amp;·<strong>operator=</strong>·(entry&amp;&amp;)·&amp;·noexcept;
167 </pre>167 </pre>
168 <p>copies·the·structure·of·the·right·hand·side·into·this168 <p>copies·the·structure·of·the·right·hand·side·into·this
169 <a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>.</p>169 <a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>.</p>
170 <a·name="string()"></a>170 <a·name="string()"></a>
Max diff block lines reached; 5379/14570 bytes (36.92%) of diff not shown.
8.91 KB
html2text {}
    
Offset 5, 15 lines modifiedOffset 5, 15 lines modified
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8e_\x8n_\x8t_\x8r_\x8y6 ····*·_\x8e_\x8n_\x8t_\x8r_\x8y
7 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)7 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)
8 ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)8 ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)
9 ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)9 ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)
10 ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)10 ··········o·_\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)
11 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)11 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)
12 ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8p_.r_.e_.f_.o_.r_.m_.a_.t_.t_.e_.d_.(_.)_.·_.l_.i_.s_.t_.(_.)_.·_.i_.n_.t_.e_.g_.e_.r_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8(_\x8)12 ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8l_.i_.s_.t_.(_.)_.·_.i_.n_.t_.e_.g_.e_.r_.(_.)_.·_.p_.r_.e_.f_.o_.r_.m_.a_.t_.t_.e_.d_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8(_\x8)
13 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)13 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)
14 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8)14 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8)
15 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8k_\x8e_\x8y_\x8(_\x8)15 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8k_\x8e_\x8y_\x8(_\x8)
16 ··········o·_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)16 ··········o·_\x8t_\x8o_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)
17 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e17 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e
18 ····*·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)18 ····*·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)
19 ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<_\x8(_\x8)19 ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<_\x8(_\x8)
Offset 35, 46 lines modifiedOffset 35, 46 lines modified
35 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p"35 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p"
36 The·entry·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a36 The·entry·class·represents·one·node·in·a·bencoded·hierarchy.·It·works·as·a
37 variant·type,·it·can·be·either·a·list,·a·dictionary·(std::map),·an·integer·or·a37 variant·type,·it·can·be·either·a·list,·a·dictionary·(std::map),·an·integer·or·a
38 string.38 string.
39 class·entry39 class·entry
40 {40 {
41 ···data_type·t\x8ty\x8yp\x8pe\x8e·()·const;41 ···data_type·t\x8ty\x8yp\x8pe\x8e·()·const;
42 ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type);42 ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type);
43 ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>);43 ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>);
44 ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type);44 ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type);
 45 ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type);
45 ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type);46 ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type);
46 ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); 
47 ···e\x8en\x8nt\x8tr\x8ry\x8y·(U·v);47 ···e\x8en\x8nt\x8tr\x8ry\x8y·(U·v);
48 ···e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t);48 ···e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t);
49 ···e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n);49 ···e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n);
50 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; 
51 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; 
52 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&;50 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&;
53 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept;51 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&;
54 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;52 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;
55 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&;53 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&;
 54 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&;
56 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&;55 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&;
57 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&;56 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&;
 57 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept;
58 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(U·v)·&;58 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(U·v)·&;
 59 ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const;
 60 ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const;
59 ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·();61 ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·();
60 ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); 
61 ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const; 
62 ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const;62 ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const;
 63 ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const;
63 ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); 
64 ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; 
65 ···list_type&·l\x8li\x8is\x8st\x8t·();64 ···list_type&·l\x8li\x8is\x8st\x8t·();
66 ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; 
67 ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; 
68 ···preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·();65 ···preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·();
 66 ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·();
 67 ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const;
 68 ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·();
69 ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e);69 ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e);
70 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key); 
71 ···entry·const&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key)·const;70 ···entry·const&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key)·const;
72 ···entry·const*·f.fi.in.nd.d_._k.ke.ey.y·(string_view·key)·const;71 ···entry&·o.op.pe.er.ra.at.to.or.r[.[].]·(string_view·key);
73 ···entry*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key);72 ···entry*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key);
 73 ···entry·const*·f\x8fi\x8in\x8nd\x8d_\x8_k\x8ke\x8ey\x8y·(string_view·key)·const;
74 ···std::string·t\x8to\x8o_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(bool·single_line·=·false)·const;74 ···std::string·t\x8to\x8o_\x8_s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(bool·single_line·=·false)·const;
  
75 ···enum·data_type75 ···enum·data_type
76 ···{76 ···{
77 ······int_t,77 ······int_t,
78 ······string_t,78 ······string_t,
79 ······list_t,79 ······list_t,
Offset 85, 52 lines modifiedOffset 85, 52 lines modified
85 };85 };
86 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]86 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
87 *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*87 *\x8**\x8**\x8**\x8**\x8*·t\x8ty\x8yp\x8pe\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
88 data_type·t\x8ty\x8yp\x8pe\x8e·()·const;88 data_type·t\x8ty\x8yp\x8pe\x8e·()·const;
89 returns·the·concrete·type·of·the·_\x8e_\x8n_\x8t_\x8r_\x8y89 returns·the·concrete·type·of·the·_\x8e_\x8n_\x8t_\x8r_\x8y
90 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]90 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
91 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*91 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
92 e\x8en\x8nt\x8tr\x8ry\x8y·(list_type);92 e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type);
93 e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>);93 e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>);
94 e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type);94 e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type);
 95 e\x8en\x8nt\x8tr\x8ry\x8y·(list_type);
95 e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type);96 e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type);
96 e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type); 
97 constructors·directly·from·a·specific·type.·The·content·of·the·argument·is97 constructors·directly·from·a·specific·type.·The·content·of·the·argument·is
98 copied·into·the·newly·constructed·_\x8e_\x8n_\x8t_\x8r_\x8y98 copied·into·the·newly·constructed·_\x8e_\x8n_\x8t_\x8r_\x8y
99 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]99 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
100 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*100 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
101 e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t);101 e\x8en\x8nt\x8tr\x8ry\x8y·(data_type·t);
102 construct·an·empty·_\x8e_\x8n_\x8t_\x8r_\x8y·of·the·specified·type.·see·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e·enum.102 construct·an·empty·_\x8e_\x8n_\x8t_\x8r_\x8y·of·the·specified·type.·see·_\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8y_\x8p_\x8e·enum.
103 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]103 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
104 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*104 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
105 e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n);105 e\x8en\x8nt\x8tr\x8ry\x8y·(bdecode_node·const&·n);
106 construct·from·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e·parsed·form·(see·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8(_\x8))106 construct·from·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e·parsed·form·(see·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8(_\x8))
107 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]107 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
108 *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*108 *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
109 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&; 
110 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&; 
111 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&;109 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&;
112 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept;110 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&;
113 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;111 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;
114 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&;112 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&;
 113 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&;
115 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&;114 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&;
116 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&;115 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&;
 116 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept;
117 copies·the·structure·of·the·right·hand·side·into·this·_\x8e_\x8n_\x8t_\x8r_\x8y.117 copies·the·structure·of·the·right·hand·side·into·this·_\x8e_\x8n_\x8t_\x8r_\x8y.
118 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]118 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
119 *\x8**\x8**\x8**\x8**\x8*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g(\x8()\x8)·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d(.().)·l.li.is.st.t(.().)·i.in.nt.te.eg.ge.er.r(\x8()\x8)·d\x8di\x8ic\x8ct\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*119 *\x8**\x8**\x8**\x8**\x8*·s\x8st\x8tr\x8ri\x8in\x8ng\x8g(\x8()\x8)·l.li.is.st.t(.().)·i.in.nt.te.eg.ge.er.r(.().)·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d(\x8()\x8)·d\x8di\x8ic\x8ct\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 120 integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const;
 121 string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const;
120 string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·();122 string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·();
121 dictionary_type&·d\x8di\x8ic\x8ct\x8t·(); 
122 list_type·const&·l\x8li\x8is\x8st\x8t·()·const; 
123 dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const;123 dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const;
 124 list_type·const&·l\x8li\x8is\x8st\x8t·()·const;
124 integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·(); 
125 preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; 
126 list_type&·l\x8li\x8is\x8st\x8t·();125 list_type&·l\x8li\x8is\x8st\x8t·();
127 string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const; 
128 integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; 
129 preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·();126 preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·();
 127 integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·();
 128 preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const;
 129 dictionary_type&·d\x8di\x8ic\x8ct\x8t·();
Max diff block lines reached; 2108/9104 bytes (23.15%) of diff not shown.
75.3 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Core.html
    
Offset 28, 125 lines modifiedOffset 28, 71 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-1">peer_request</a><ul>35 <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-1">info_hash_t</a><ul>
 36 <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-2">info_hash_t()</a></li>
 37 <li><a·class="reference·internal"·href="#has-v1-has-has-v2"·id="toc-entry-3">has_v1()·has()·has_v2()</a></li>
36 <li><a·class="reference·internal"·href="#operator"·id="toc-entry-2">operator==()</a></li>38 <li><a·class="reference·internal"·href="#get"·id="toc-entry-4">get()</a></li>
 39 <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-5">get_best()</a></li>
 40 <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-6">for_each()</a></li>
37 </ul>41 </ul>
38 </li>42 </li>
39 <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-3">piece_block</a></li>43 <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-7">piece_block</a></li>
40 <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-4">info_hash_t</a><ul>44 <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-8">peer_request</a><ul>
41 <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-5">info_hash_t()</a></li> 
42 <li><a·class="reference·internal"·href="#has-v1-has-v2-has"·id="toc-entry-6">has_v1()·has_v2()·has()</a></li> 
43 <li><a·class="reference·internal"·href="#get"·id="toc-entry-7">get()</a></li>45 <li><a·class="reference·internal"·href="#operator"·id="toc-entry-9">operator==()</a></li>
44 <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-8">get_best()</a></li> 
45 <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-9">for_each()</a></li> 
46 </ul>46 </ul>
47 </li>47 </li>
48 <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-10">peer_info</a><ul>48 <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-10">peer_info</a><ul>
49 <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-11">i2p_destination()</a></li>49 <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-11">i2p_destination()</a></li>
50 </ul>50 </ul>
51 </li>51 </li>
 52 <li><a·class="reference·internal"·href="#version"·id="toc-entry-12">version()</a></li>
52 <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-12">torrent_peer_equal()</a></li>53 <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-13">torrent_peer_equal()</a></li>
 54 <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-14">truncate_files()</a></li>
53 <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-13">make_magnet_uri()</a></li>55 <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-15">make_magnet_uri()</a></li>
54 <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-14">parse_magnet_uri()</a></li>56 <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-16">parse_magnet_uri()</a></li>
55 <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-15">truncate_files()</a></li>57 <li><a·class="reference·internal"·href="#load-torrent-file-load-torrent-buffer-load-torrent-parsed"·id="toc-entry-17">load_torrent_file()·load_torrent_buffer()·load_torrent_parsed()</a></li>
 58 <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-18">enum·socket_type_t</a></li>
56 <li><a·class="reference·internal"·href="#version"·id="toc-entry-16">version()</a></li>59 <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-19">enum·protocol_version</a></li>
57 <li><a·class="reference·internal"·href="#load-torrent-parsed-load-torrent-file-load-torrent-buffer"·id="toc-entry-17">load_torrent_parsed()·load_torrent_file()·load_torrent_buffer()</a></li> 
58 <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-18">enum·event_t</a></li>60 <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-20">enum·event_t</a></li>
59 <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-19">enum·portmap_transport</a></li> 
60 <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-20">enum·portmap_protocol</a></li> 
61 <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-21">enum·connection_type</a></li>61 <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-21">enum·connection_type</a></li>
 62 <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-22">enum·portmap_transport</a></li>
62 <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-22">enum·protocol_version</a></li>63 <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-23">enum·portmap_protocol</a></li>
63 <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-23">enum·socket_type_t</a></li>64 <li><a·class="reference·internal"·href="#pex-flags-t"·id="toc-entry-24">pex_flags_t</a></li>
64 <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-24">torrent_flags_t</a></li>65 <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-25">torrent_flags_t</a></li>
 66 <li><a·class="reference·internal"·href="#int"·id="toc-entry-26">int</a></li>
 67 <li><a·class="reference·internal"·href="#char-const"·id="toc-entry-27">char·const*</a></li>
 68 <li><a·class="reference·internal"·href="#std-uint64-t"·id="toc-entry-28">std::uint64_t</a></li>
65 <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-25">download_priority_t</a></li>69 <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-29">download_priority_t</a></li>
66 <li><a·class="reference·internal"·href="#pex-flags-t"·id="toc-entry-26">pex_flags_t</a></li> 
67 <li><a·class="reference·internal"·href="#int"·id="toc-entry-27">int</a></li> 
68 <li><a·class="reference·internal"·href="#char-const"·id="toc-entry-28">char·const*</a></li> 
69 <li><a·class="reference·internal"·href="#std-uint64-t"·id="toc-entry-29">std::uint64_t</a></li> 
70 </ul>70 </ul>
71 </div>71 </div>
72 <a·name="peer_request"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_request&labels=documentation&body=Documentation+under+heading+%22class+peer_request%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="peer-request"> 
73 <h1>peer_request</h1> 
74 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/peer_request.hpp">libtorrent/peer_request.hpp</a>&quot;</p> 
75 <p>represents·a·byte·range·within·a·piece.·Internally·this·is·is·used·for 
76 incoming·piece·requests.</p> 
77 <pre·class="literal-block"> 
78 struct·peer_request 
79 { 
80 ···bool·<strong>operator==</strong>·(peer_request·const&amp;·r)·const; 
  
81 ···piece_index_t·piece; 
82 ···int·start; 
83 ···int·length; 
84 }; 
85 </pre> 
86 <a·name="operator==()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_request%3A%3A%5Boperator%3D%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_request%3A%3A%5Boperator%3D%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="operator"> 
87 <h2>operator==()</h2> 
88 <pre·class="literal-block"> 
89 bool·<strong>operator==</strong>·(peer_request·const&amp;·r)·const; 
90 </pre> 
91 <p>returns·true·if·the·right·hand·side·<a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a>·refers·to·the·same 
92 range·as·this·does.</p> 
93 <a·name="piece"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_request%3A%3A%5Bpiece%5D&labels=documentation&body=Documentation+under+heading+%22peer_request%3A%3A%5Bpiece%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
94 <dt>piece</dt> 
95 <dd>The·index·of·the·piece·in·which·the·range·starts.</dd> 
96 </dl> 
97 <a·name="start"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_request%3A%3A%5Bstart%5D&labels=documentation&body=Documentation+under+heading+%22peer_request%3A%3A%5Bstart%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
98 <dt>start</dt> 
99 <dd>The·byte·offset·within·that·piece·where·the·range·starts.</dd> 
100 </dl> 
101 <a·name="length"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_request%3A%3A%5Blength%5D&labels=documentation&body=Documentation+under+heading+%22peer_request%3A%3A%5Blength%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
102 <dt>length</dt> 
103 <dd>The·size·of·the·range,·in·bytes.</dd> 
104 </dl> 
105 <a·name="piece_block"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+piece_block&labels=documentation&body=Documentation+under+heading+%22class+piece_block%22+could+be+improved">report·issue</a>]</span></div> 
106 </div> 
107 <div·class="section"·id="piece-block"> 
108 <h1>piece_block</h1> 
109 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/piece_block.hpp">libtorrent/piece_block.hpp</a>&quot;</p> 
110 <pre·class="literal-block"> 
111 struct·piece_block 
112 { 
113 ···<strong>piece_block</strong>·(piece_index_t·p_index,·int·b_index); 
114 ···<strong>piece_block</strong>·()·=·default; 
115 ···bool·<strong>operator&lt;</strong>·(piece_block·const&amp;·b)·const; 
116 ···bool·<strong>operator==</strong>·(piece_block·const&amp;·b)·const; 
117 ···bool·<strong>operator!=</strong>·(piece_block·const&amp;·b)·const; 
  
118 ···static·const·piece_block·invalid; 
119 ···piece_index_t·piece_index·{0}; 
120 ···int·<strong>block_index</strong>··=·0; 
121 }; 
122 </pre> 
123 <a·name="info_hash_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+info_hash_t&labels=documentation&body=Documentation+under+heading+%22class+info_hash_t%22+could+be+improved">report·issue</a>]</span></div>72 <a·name="info_hash_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+info_hash_t&labels=documentation&body=Documentation+under+heading+%22class+info_hash_t%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="info-hash-t">
124 <div·class="section"·id="info-hash-t"> 
125 <h1>info_hash_t</h1>73 <h1>info_hash_t</h1>
126 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/info_hash.hpp">libtorrent/info_hash.hpp</a>&quot;</p>74 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/info_hash.hpp">libtorrent/info_hash.hpp</a>&quot;</p>
127 <p>class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash75 <p>class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash
128 (SHA-1)·or·a·v2·info-hash·(SHA-256)·or·both.</p>76 (SHA-1)·or·a·v2·info-hash·(SHA-256)·or·both.</p>
129 <div·class="admonition·note">77 <div·class="admonition·note">
130 <p·class="first·admonition-title">Note</p>78 <p·class="first·admonition-title">Note</p>
131 <p·class="last">If·<tt·class="docutils·literal">has_v2()</tt>·is·false·then·the·v1·hash·might·actually·be·a·truncated79 <p·class="last">If·<tt·class="docutils·literal">has_v2()</tt>·is·false·then·the·v1·hash·might·actually·be·a·truncated
132 v2·hash</p>80 v2·hash</p>
133 </div>81 </div>
134 <pre·class="literal-block">82 <pre·class="literal-block">
135 struct·info_hash_t83 struct·info_hash_t
136 {84 {
 85 ···explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept;
 86 ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept;
137 ···<strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept;87 ···<strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept;
138 ···<strong>info_hash_t</strong>·()·noexcept·=·default;88 ···<strong>info_hash_t</strong>·()·noexcept·=·default;
139 ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; 
Max diff block lines reached; 35639/46761 bytes (76.22%) of diff not shown.
29.5 KB
html2text {}
    
Offset 1, 126 lines modifiedOffset 1, 84 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t 
7 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) 
8 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k 
9 ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t6 ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t
10 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8)7 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8)
11 ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x81_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8__.v_.2_.(_.)_.·_.h_.a_.s_\x8(_\x8)8 ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x81_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8(_.)_.·_.h_.a_.s_.__.v_.2_\x8(_\x8)
12 ··········o·_\x8g_\x8e_\x8t_\x8(_\x8)9 ··········o·_\x8g_\x8e_\x8t_\x8(_\x8)
13 ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8)10 ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8)
14 ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8)11 ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8)
 12 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k
 13 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t
 14 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8)
15 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o15 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o
16 ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8)16 ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8)
 17 ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
17 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8)18 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8)
 19 ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
18 ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)20 ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)
19 ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)21 ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)
20 ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) 
21 ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) 
22 ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_.a_.r_.s_.e_.d_.(_.)_.·_.l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.f_.i_.l_.e_.(_.)_.·_.l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.b_.u_.f_.f_.e_.r_\x8(_\x8)22 ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_.i_.l_.e_.(_.)_.·_.l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.b_.u_.f_.f_.e_.r_.(_.)_.·_.l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.p_.a_.r_.s_.e_.d_\x8(_\x8)
 23 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t
 24 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n
23 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t25 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t
 26 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e
24 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t27 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t
25 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l28 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l
26 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e 
27 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n 
28 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t 
29 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t 
30 ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t 
31 ····*·_\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t29 ····*·_\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
 30 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
32 ····*·_\x8i_\x8n_\x8t31 ····*·_\x8i_\x8n_\x8t
33 ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*32 ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*
34 ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t33 ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t
 34 ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t
35 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
36 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·*\x8**\x8**\x8**\x8**\x8**\x8* 
37 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8._\x8h_\x8p_\x8p" 
38 represents·a·byte·range·within·a·piece.·Internally·this·is·is·used·for·incoming 
39 piece·requests. 
40 struct·peer_request 
41 { 
42 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_request·const&·r)·const; 
  
43 ···piece_index_t·piece; 
44 ···int·start; 
45 ···int·length; 
46 }; 
47 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
48 *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
49 bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_request·const&·r)·const; 
50 returns·true·if·the·right·hand·side·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t·refers·to·the·same·range·as 
51 this·does. 
52 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
53 ··piece 
54 ······The·index·of·the·piece·in·which·the·range·starts. 
55 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
56 ··start 
57 ······The·byte·offset·within·that·piece·where·the·range·starts. 
58 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
59 ··length 
60 ······The·size·of·the·range,·in·bytes. 
61 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
62 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·*\x8**\x8**\x8**\x8**\x8**\x8* 
63 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8._\x8h_\x8p_\x8p" 
64 struct·piece_block 
65 { 
66 ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·p_index,·int·b_index); 
67 ···p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·()·=·default; 
68 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(piece_block·const&·b)·const; 
69 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(piece_block·const&·b)·const; 
70 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(piece_block·const&·b)·const; 
  
71 ···static·const·piece_block·invalid; 
72 ···piece_index_t·piece_index·{0}; 
73 ···int·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nd\x8de\x8ex\x8x··=·0; 
74 }; 
75 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]35 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
76 *\x8**\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*36 *\x8**\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
77 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8._\x8h_\x8p_\x8p"37 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8._\x8h_\x8p_\x8p"
78 class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash·(SHA-1)·or38 class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash·(SHA-1)·or
79 a·v2·info-hash·(SHA-256)·or·both.39 a·v2·info-hash·(SHA-256)·or·both.
80 Note40 Note
81 If·has_v2()·is·false·then·the·v1·hash·might·actually·be·a·truncated·v2·hash41 If·has_v2()·is·false·then·the·v1·hash·might·actually·be·a·truncated·v2·hash
82 struct·info_hash_t42 struct·info_hash_t
83 {43 {
 44 ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept;
 45 ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept;
84 ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept;46 ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept;
85 ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default;47 ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default;
86 ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; 
87 ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; 
88 ···bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; 
89 ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const;48 ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const;
90 ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·const;49 ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·const;
 50 ···bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const;
91 ···sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const;51 ···sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const;
92 ···sha1_hash·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t·()·const;52 ···sha1_hash·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t·()·const;
93 ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs);53 ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs);
94 ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs)54 ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(info_hash_t·const&·lhs,·info_hash_t·const&·rhs)
95 noexcept;55 noexcept;
96 ···template·<typename·F>·void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(F·f)·const;56 ···template·<typename·F>·void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(F·f)·const;
97 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(info_hash_t·const&·o)·const;57 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(info_hash_t·const&·o)·const;
98 ···friend·std::ostream&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<<\x8<·(std::ostream&·os,·info_hash_t·const&·ih);58 ···friend·std::ostream&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<<\x8<·(std::ostream&·os,·info_hash_t·const&·ih);
  
99 ···sha1_hash·v1;59 ···sha1_hash·v1;
100 ···sha256_hash·v2;60 ···sha256_hash·v2;
101 };61 };
102 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]62 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
103 *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*63 *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 64 explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept;
 65 explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept;
104 i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept;66 i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept;
105 i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default;67 i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default;
106 explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; 
107 explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; 
108 The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2·hash.68 The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2·hash.
109 For·backwards·compatibility,·make·it·possible·to·construct·directly·from·a·v169 For·backwards·compatibility,·make·it·possible·to·construct·directly·from·a·v1
Max diff block lines reached; 23453/30215 bytes (77.62%) of diff not shown.
30.7 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Create_Torrents.html
    
Offset 30, 15 lines modifiedOffset 30, 15 lines modified
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#create-torrent"·id="toc-entry-1">create_torrent</a><ul>35 <li><a·class="reference·internal"·href="#create-torrent"·id="toc-entry-1">create_torrent</a><ul>
36 <li><a·class="reference·internal"·href="#create-torrent-1"·id="toc-entry-2">create_torrent()</a></li>36 <li><a·class="reference·internal"·href="#create-torrent-1"·id="toc-entry-2">create_torrent()</a></li>
37 <li><a·class="reference·internal"·href="#generate-buf-generate"·id="toc-entry-3">generate_buf()·generate()</a></li>37 <li><a·class="reference·internal"·href="#generate-generate-buf"·id="toc-entry-3">generate()·generate_buf()</a></li>
38 <li><a·class="reference·internal"·href="#files"·id="toc-entry-4">files()</a></li>38 <li><a·class="reference·internal"·href="#files"·id="toc-entry-4">files()</a></li>
39 <li><a·class="reference·internal"·href="#set-comment"·id="toc-entry-5">set_comment()</a></li>39 <li><a·class="reference·internal"·href="#set-comment"·id="toc-entry-5">set_comment()</a></li>
40 <li><a·class="reference·internal"·href="#set-creator"·id="toc-entry-6">set_creator()</a></li>40 <li><a·class="reference·internal"·href="#set-creator"·id="toc-entry-6">set_creator()</a></li>
41 <li><a·class="reference·internal"·href="#set-creation-date"·id="toc-entry-7">set_creation_date()</a></li>41 <li><a·class="reference·internal"·href="#set-creation-date"·id="toc-entry-7">set_creation_date()</a></li>
42 <li><a·class="reference·internal"·href="#set-hash"·id="toc-entry-8">set_hash()</a></li>42 <li><a·class="reference·internal"·href="#set-hash"·id="toc-entry-8">set_hash()</a></li>
43 <li><a·class="reference·internal"·href="#set-hash2"·id="toc-entry-9">set_hash2()</a></li>43 <li><a·class="reference·internal"·href="#set-hash2"·id="toc-entry-9">set_hash2()</a></li>
44 <li><a·class="reference·internal"·href="#add-http-seed-add-url-seed"·id="toc-entry-10">add_http_seed()·add_url_seed()</a></li>44 <li><a·class="reference·internal"·href="#add-http-seed-add-url-seed"·id="toc-entry-10">add_http_seed()·add_url_seed()</a></li>
Offset 47, 16 lines modifiedOffset 47, 16 lines modified
47 <li><a·class="reference·internal"·href="#set-root-cert"·id="toc-entry-13">set_root_cert()</a></li>47 <li><a·class="reference·internal"·href="#set-root-cert"·id="toc-entry-13">set_root_cert()</a></li>
48 <li><a·class="reference·internal"·href="#priv-set-priv"·id="toc-entry-14">priv()·set_priv()</a></li>48 <li><a·class="reference·internal"·href="#priv-set-priv"·id="toc-entry-14">priv()·set_priv()</a></li>
49 <li><a·class="reference·internal"·href="#num-pieces"·id="toc-entry-15">num_pieces()</a></li>49 <li><a·class="reference·internal"·href="#num-pieces"·id="toc-entry-15">num_pieces()</a></li>
50 <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-16">piece_range()</a></li>50 <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-16">piece_range()</a></li>
51 <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-17">file_range()</a></li>51 <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-17">file_range()</a></li>
52 <li><a·class="reference·internal"·href="#file-piece-range"·id="toc-entry-18">file_piece_range()</a></li>52 <li><a·class="reference·internal"·href="#file-piece-range"·id="toc-entry-18">file_piece_range()</a></li>
53 <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-19">total_size()</a></li>53 <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-19">total_size()</a></li>
54 <li><a·class="reference·internal"·href="#piece-length-piece-size"·id="toc-entry-20">piece_length()·piece_size()</a></li>54 <li><a·class="reference·internal"·href="#piece-size-piece-length"·id="toc-entry-20">piece_size()·piece_length()</a></li>
55 <li><a·class="reference·internal"·href="#add-collection-add-similar-torrent"·id="toc-entry-21">add_collection()·add_similar_torrent()</a></li>55 <li><a·class="reference·internal"·href="#add-similar-torrent-add-collection"·id="toc-entry-21">add_similar_torrent()·add_collection()</a></li>
56 </ul>56 </ul>
57 </li>57 </li>
58 <li><a·class="reference·internal"·href="#add-files"·id="toc-entry-22">add_files()</a></li>58 <li><a·class="reference·internal"·href="#add-files"·id="toc-entry-22">add_files()</a></li>
59 <li><a·class="reference·internal"·href="#set-piece-hashes"·id="toc-entry-23">set_piece_hashes()</a></li>59 <li><a·class="reference·internal"·href="#set-piece-hashes"·id="toc-entry-23">set_piece_hashes()</a></li>
60 </ul>60 </ul>
61 </div>61 </div>
62 <p>This·section·describes·the·functions·and·classes·that·are·used62 <p>This·section·describes·the·functions·and·classes·that·are·used
Offset 105, 27 lines modifiedOffset 105, 27 lines modified
105 <p>This·class·holds·state·for·creating·a·torrent.·After·having·added105 <p>This·class·holds·state·for·creating·a·torrent.·After·having·added
106 all·information·to·it,·call·<a·class="reference·external"·href="reference-Create_Torrents.html#generate()">create_torrent::generate()</a>·to·generate106 all·information·to·it,·call·<a·class="reference·external"·href="reference-Create_Torrents.html#generate()">create_torrent::generate()</a>·to·generate
107 the·torrent.·The·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·that's·returned·can·then·be·bencoded·into·a107 the·torrent.·The·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·that's·returned·can·then·be·bencoded·into·a
108 .torrent·file·using·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>.</p>108 .torrent·file·using·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>.</p>
109 <pre·class="literal-block">109 <pre·class="literal-block">
110 struct·create_torrent110 struct·create_torrent
111 {111 {
112 ···explicit·<strong>create_torrent</strong>·(torrent_info·const&amp;·ti); 
113 ···explicit·<strong>create_torrent</strong>·(file_storage&amp;·fs,·int·piece_size·=·0112 ···explicit·<strong>create_torrent</strong>·(file_storage&amp;·fs,·int·piece_size·=·0
114 ······,·create_flags_t·flags·=·{});113 ······,·create_flags_t·flags·=·{});
 114 ···explicit·<strong>create_torrent</strong>·(torrent_info·const&amp;·ti);
115 ···std::vector&lt;char&gt;·<strong>generate_buf</strong>·()·const;115 ···std::vector&lt;char&gt;·<strong>generate_buf</strong>·()·const;
116 ···entry·<strong>generate</strong>·()·const;116 ···entry·<strong>generate</strong>·()·const;
117 ···file_storage·const&amp;·<strong>files</strong>·()·const;117 ···file_storage·const&amp;·<strong>files</strong>·()·const;
118 ···void·<strong>set_comment</strong>·(char·const*·str);118 ···void·<strong>set_comment</strong>·(char·const*·str);
119 ···void·<strong>set_creator</strong>·(char·const*·str);119 ···void·<strong>set_creator</strong>·(char·const*·str);
120 ···void·<strong>set_creation_date</strong>·(std::time_t·timestamp);120 ···void·<strong>set_creation_date</strong>·(std::time_t·timestamp);
121 ···void·<strong>set_hash</strong>·(piece_index_t·index,·sha1_hash·const&amp;·h);121 ···void·<strong>set_hash</strong>·(piece_index_t·index,·sha1_hash·const&amp;·h);
122 ···void·<strong>set_hash2</strong>·(file_index_t·file,·piece_index_t::diff_type·piece,·sha256_hash·const&amp;·h);122 ···void·<strong>set_hash2</strong>·(file_index_t·file,·piece_index_t::diff_type·piece,·sha256_hash·const&amp;·h);
123 ···void·<strong>add_http_seed</strong>·(string_view·url); 
124 ···void·<strong>add_url_seed</strong>·(string_view·url);123 ···void·<strong>add_url_seed</strong>·(string_view·url);
 124 ···void·<strong>add_http_seed</strong>·(string_view·url);
125 ···void·<strong>add_node</strong>·(std::pair&lt;std::string,·int&gt;·node);125 ···void·<strong>add_node</strong>·(std::pair&lt;std::string,·int&gt;·node);
126 ···void·<strong>add_tracker</strong>·(string_view·url,·int·tier·=·0);126 ···void·<strong>add_tracker</strong>·(string_view·url,·int·tier·=·0);
127 ···void·<strong>set_root_cert</strong>·(string_view·cert);127 ···void·<strong>set_root_cert</strong>·(string_view·cert);
128 ···void·<strong>set_priv</strong>·(bool·p);128 ···void·<strong>set_priv</strong>·(bool·p);
129 ···bool·<strong>priv</strong>·()·const;129 ···bool·<strong>priv</strong>·()·const;
130 ···bool·<strong>is_v1_only</strong>·()·const;130 ···bool·<strong>is_v1_only</strong>·()·const;
131 ···bool·<strong>is_v2_only</strong>·()·const;131 ···bool·<strong>is_v2_only</strong>·()·const;
Offset 134, 32 lines modifiedOffset 134, 32 lines modified
134 ···index_range&lt;piece_index_t&gt;·<strong>piece_range</strong>·()·const·noexcept;134 ···index_range&lt;piece_index_t&gt;·<strong>piece_range</strong>·()·const·noexcept;
135 ···file_index_t·<strong>end_file</strong>·()·const;135 ···file_index_t·<strong>end_file</strong>·()·const;
136 ···index_range&lt;file_index_t&gt;·<strong>file_range</strong>·()·const·noexcept;136 ···index_range&lt;file_index_t&gt;·<strong>file_range</strong>·()·const·noexcept;
137 ···index_range&lt;piece_index_t::diff_type&gt;·<strong>file_piece_range</strong>·(file_index_t·f);137 ···index_range&lt;piece_index_t::diff_type&gt;·<strong>file_piece_range</strong>·(file_index_t·f);
138 ···std::int64_t·<strong>total_size</strong>·()·const;138 ···std::int64_t·<strong>total_size</strong>·()·const;
139 ···int·<strong>piece_size</strong>·(piece_index_t·i)·const;139 ···int·<strong>piece_size</strong>·(piece_index_t·i)·const;
140 ···int·<strong>piece_length</strong>·()·const;140 ···int·<strong>piece_length</strong>·()·const;
141 ···void·<strong>add_collection</strong>·(string_view·c); 
142 ···void·<strong>add_similar_torrent</strong>·(sha1_hash·ih);141 ···void·<strong>add_similar_torrent</strong>·(sha1_hash·ih);
 142 ···void·<strong>add_collection</strong>·(string_view·c);
  
143 ···static·constexpr·create_flags_t·<strong>modification_time</strong>··=·2_bit;143 ···static·constexpr·create_flags_t·<strong>modification_time</strong>··=·2_bit;
144 ···static·constexpr·create_flags_t·<strong>symlinks</strong>··=·3_bit;144 ···static·constexpr·create_flags_t·<strong>symlinks</strong>··=·3_bit;
145 ···static·constexpr·create_flags_t·<strong>v2_only</strong>··=·5_bit;145 ···static·constexpr·create_flags_t·<strong>v2_only</strong>··=·5_bit;
146 ···static·constexpr·create_flags_t·<strong>v1_only</strong>··=·6_bit;146 ···static·constexpr·create_flags_t·<strong>v1_only</strong>··=·6_bit;
147 ···static·constexpr·create_flags_t·<strong>canonical_files</strong>··=·7_bit;147 ···static·constexpr·create_flags_t·<strong>canonical_files</strong>··=·7_bit;
148 ···static·constexpr·create_flags_t·<strong>no_attributes</strong>··=·8_bit;148 ···static·constexpr·create_flags_t·<strong>no_attributes</strong>··=·8_bit;
149 ···static·constexpr·create_flags_t·<strong>canonical_files_no_tail_padding</strong>··=·9_bit;149 ···static·constexpr·create_flags_t·<strong>canonical_files_no_tail_padding</strong>··=·9_bit;
150 };150 };
151 </pre>151 </pre>
152 <a·name="create_torrent()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bcreate_torrent%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bcreate_torrent%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="create-torrent-1">152 <a·name="create_torrent()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bcreate_torrent%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bcreate_torrent%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="create-torrent-1">
153 <h2>create_torrent()</h2>153 <h2>create_torrent()</h2>
154 <pre·class="literal-block">154 <pre·class="literal-block">
155 explicit·<strong>create_torrent</strong>·(torrent_info·const&amp;·ti); 
156 explicit·<strong>create_torrent</strong>·(file_storage&amp;·fs,·int·piece_size·=·0155 explicit·<strong>create_torrent</strong>·(file_storage&amp;·fs,·int·piece_size·=·0
157 ······,·create_flags_t·flags·=·{});156 ······,·create_flags_t·flags·=·{});
 157 explicit·<strong>create_torrent</strong>·(torrent_info·const&amp;·ti);
158 </pre>158 </pre>
159 <p>The·<tt·class="docutils·literal">piece_size</tt>·is·the·size·of·each·piece·in·bytes.·It·must·be·a159 <p>The·<tt·class="docutils·literal">piece_size</tt>·is·the·size·of·each·piece·in·bytes.·It·must·be·a
160 power·of·2·and·a·minimum·of·16·kiB.·If·a·piece·size·of·0·is160 power·of·2·and·a·minimum·of·16·kiB.·If·a·piece·size·of·0·is
161 specified,·a·piece_size·will·be·set·automatically.</p>161 specified,·a·piece_size·will·be·set·automatically.</p>
162 <p>The·<tt·class="docutils·literal">flags</tt>·arguments·specifies·options·for·the·torrent·creation.·It·can162 <p>The·<tt·class="docutils·literal">flags</tt>·arguments·specifies·options·for·the·torrent·creation.·It·can
163 be·any·combination·of·the·flags·defined·by·create_flags_t.</p>163 be·any·combination·of·the·flags·defined·by·create_flags_t.</p>
164 <p>The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·(<tt·class="docutils·literal">fs</tt>)·parameter·defines·the·files,·sizes·and164 <p>The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·(<tt·class="docutils·literal">fs</tt>)·parameter·defines·the·files,·sizes·and
Offset 173, 18 lines modifiedOffset 173, 18 lines modified
173 have·any·affect.·Instead·of·using·this·overload,·consider·using173 have·any·affect.·Instead·of·using·this·overload,·consider·using
174 <a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·instead.</p>174 <a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·instead.</p>
175 <div·class="admonition·warning">175 <div·class="admonition·warning">
176 <p·class="first·admonition-title">Warning</p>176 <p·class="first·admonition-title">Warning</p>
177 <p·class="last">The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·and·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·objects·must·stay·alive·for·the177 <p·class="last">The·<a·class="reference·external"·href="reference-Storage.html#file_storage">file_storage</a>·and·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·objects·must·stay·alive·for·the
178 entire·duration·of·the·<a·class="reference·external"·href="reference-Create_Torrents.html#create_torrent">create_torrent</a>·object.</p>178 entire·duration·of·the·<a·class="reference·external"·href="reference-Create_Torrents.html#create_torrent">create_torrent</a>·object.</p>
179 </div>179 </div>
180 <a·name="generate_buf()"></a>180 <a·name="generate()"></a>
181 <a·name="generate()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bgenerate_buf%28%29+generate%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bgenerate_buf%[·...·truncated·by·diffoscope;·len:·14,·SHA:·da7ff81a04108ddc9d51fa94f7c6bf16b3b4e092fb43062679c84423292b8802·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>181 <a·name="generate_buf()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bgenerate%28%29+generate_buf%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bgenerate%[·...·truncated·by·diffoscope;·len:·18,·SHA:·8cb7c659f33e93d5d3aff9349c1bef1b8e7ef2c0651427c1ed42d1e9423f0de2·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
182 <div·class="section"·id="generate-buf-generate">182 <div·class="section"·id="generate-generate-buf">
183 <h2>generate_buf()·generate()</h2>183 <h2>generate()·generate_buf()</h2>
184 <pre·class="literal-block">184 <pre·class="literal-block">
185 std::vector&lt;char&gt;·<strong>generate_buf</strong>·()·const;185 std::vector&lt;char&gt;·<strong>generate_buf</strong>·()·const;
186 entry·<strong>generate</strong>·()·const;186 entry·<strong>generate</strong>·()·const;
187 </pre>187 </pre>
188 <p>This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a188 <p>This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a
189 bencoded·into·a·buffer.189 bencoded·into·a·buffer.
190 In·order·to·encode·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·into·a·flat·file,·use·the·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>·function.</p>190 In·order·to·encode·the·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·into·a·flat·file,·use·the·<a·class="reference·external"·href="reference-Bencoding.html#bencode()">bencode()</a>·function.</p>
Offset 275, 16 lines modifiedOffset 275, 16 lines modified
275 This·function·will·throw·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·if·it·is·called·on·an275 This·function·will·throw·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·if·it·is·called·on·an
276 object·constructed·with·the·v1_only·flag.</p>276 object·constructed·with·the·v1_only·flag.</p>
277 <a·name="add_http_seed()"></a>277 <a·name="add_http_seed()"></a>
278 <a·name="add_url_seed()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Badd_http_seed%28%29+add_url_seed%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Badd_http_seed%28%29+add_url_seed%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>278 <a·name="add_url_seed()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Badd_http_seed%28%29+add_url_seed%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Badd_http_seed%28%29+add_url_seed%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
279 <div·class="section"·id="add-http-seed-add-url-seed">279 <div·class="section"·id="add-http-seed-add-url-seed">
280 <h2>add_http_seed()·add_url_seed()</h2>280 <h2>add_http_seed()·add_url_seed()</h2>
281 <pre·class="literal-block">281 <pre·class="literal-block">
282 void·<strong>add_http_seed</strong>·(string_view·url); 
283 void·<strong>add_url_seed</strong>·(string_view·url);282 void·<strong>add_url_seed</strong>·(string_view·url);
 283 void·<strong>add_http_seed</strong>·(string_view·url);
Max diff block lines reached; 7529/17835 bytes (42.21%) of diff not shown.
13.1 KB
html2text {}
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t6 ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t
7 ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)7 ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
8 ··········o·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__.b_.u_.f_.(_.)_.·_.g_.e_.n_.e_.r_.a_.t_.e_\x8(_\x8)8 ··········o·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8(_.)_.·_.g_.e_.n_.e_.r_.a_.t_.e_.__.b_.u_.f_\x8(_\x8)
9 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)9 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
10 ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8)10 ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8o_\x8m_\x8m_\x8e_\x8n_\x8t_\x8(_\x8)
11 ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)11 ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8o_\x8r_\x8(_\x8)
12 ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8)12 ··········o·_\x8s_\x8e_\x8t_\x8__\x8c_\x8r_\x8e_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8a_\x8t_\x8e_\x8(_\x8)
13 ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)13 ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)
14 ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8)14 ··········o·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8)
15 ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)15 ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)
Offset 18, 16 lines modifiedOffset 18, 16 lines modified
18 ··········o·_\x8s_\x8e_\x8t_\x8__\x8r_\x8o_\x8o_\x8t_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8)18 ··········o·_\x8s_\x8e_\x8t_\x8__\x8r_\x8o_\x8o_\x8t_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8)
19 ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8r_\x8i_\x8v_\x8(_\x8)19 ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8r_\x8i_\x8v_\x8(_\x8)
20 ··········o·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)20 ··········o·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)
21 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)21 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)
22 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)22 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)
23 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)23 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)
24 ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)24 ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)
25 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) 
26 ··········o·_\x8a_.d_.d_.__.c_.o_.l_.l_.e_.c_.t_.i_.o_.n_.(_.)_.·_.a_.d_.d_.__.s_.i_.m_.i_.l_.a_.r_.__.t_.o_.r_.r_.e_.n_.t_\x8(_\x8)25 ··········o·_\x8p_.i_.e_.c_.e_.__.s_.i_.z_.e_.(_.)_.·_.p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_\x8(_\x8)
 26 ··········o·_\x8a_\x8d_\x8d_\x8__\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8)
27 ····*·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)27 ····*·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
28 ····*·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)28 ····*·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)
29 This·section·describes·the·functions·and·classes·that·are·used·to·create29 This·section·describes·the·functions·and·classes·that·are·used·to·create
30 torrent·files.·It·is·a·layered·API·with·low·level·classes·and·higher·level30 torrent·files.·It·is·a·layered·API·with·low·level·classes·and·higher·level
31 convenience·functions.·A·torrent·is·created·in·4·steps:31 convenience·functions.·A·torrent·is·created·in·4·steps:
32 ···1.·first·the·files·that·will·be·part·of·the·torrent·are·determined.32 ···1.·first·the·files·that·will·be·part·of·the·torrent·are·determined.
33 ···2.·the·torrent·properties·are·set,·such·as·tracker·url,·web·seeds,·DHT·nodes33 ···2.·the·torrent·properties·are·set,·such·as·tracker·url,·web·seeds,·DHT·nodes
Offset 66, 28 lines modifiedOffset 66, 28 lines modified
66 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8h_\x8p_\x8p"66 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8h_\x8p_\x8p"
67 This·class·holds·state·for·creating·a·torrent.·After·having·added·all67 This·class·holds·state·for·creating·a·torrent.·After·having·added·all
68 information·to·it,·call·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8:_\x8:_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8(_\x8)·to·generate·the·torrent.·The68 information·to·it,·call·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8:_\x8:_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8(_\x8)·to·generate·the·torrent.·The
69 _\x8e_\x8n_\x8t_\x8r_\x8y·that's·returned·can·then·be·bencoded·into·a·.torrent·file·using·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e69 _\x8e_\x8n_\x8t_\x8r_\x8y·that's·returned·can·then·be·bencoded·into·a·.torrent·file·using·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e
70 _\x8(_\x8).70 _\x8(_\x8).
71 struct·create_torrent71 struct·create_torrent
72 {72 {
73 ···explicit·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(torrent_info·const&·ti); 
74 ···explicit·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(file_storage&·fs,·int·piece_size·=·073 ···explicit·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(file_storage&·fs,·int·piece_size·=·0
75 ······,·create_flags_t·flags·=·{});74 ······,·create_flags_t·flags·=·{});
 75 ···explicit·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(torrent_info·const&·ti);
76 ···std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const;76 ···std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const;
77 ···entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const;77 ···entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const;
78 ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const;78 ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const;
79 ···void·s\x8se\x8et\x8t_\x8_c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·(char·const*·str);79 ···void·s\x8se\x8et\x8t_\x8_c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·(char·const*·str);
80 ···void·s\x8se\x8et\x8t_\x8_c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·(char·const*·str);80 ···void·s\x8se\x8et\x8t_\x8_c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·(char·const*·str);
81 ···void·s\x8se\x8et\x8t_\x8_c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·(std::time_t·timestamp);81 ···void·s\x8se\x8et\x8t_\x8_c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·(std::time_t·timestamp);
82 ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h·(piece_index_t·index,·sha1_hash·const&·h);82 ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h·(piece_index_t·index,·sha1_hash·const&·h);
83 ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h2\x82·(file_index_t·file,·piece_index_t::diff_type·piece,83 ···void·s\x8se\x8et\x8t_\x8_h\x8ha\x8as\x8sh\x8h2\x82·(file_index_t·file,·piece_index_t::diff_type·piece,
84 sha256_hash·const&·h);84 sha256_hash·const&·h);
85 ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); 
86 ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url);85 ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url);
 86 ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url);
87 ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·node);87 ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·node);
88 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(string_view·url,·int·tier·=·0);88 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(string_view·url,·int·tier·=·0);
89 ···void·s\x8se\x8et\x8t_\x8_r\x8ro\x8oo\x8ot\x8t_\x8_c\x8ce\x8er\x8rt\x8t·(string_view·cert);89 ···void·s\x8se\x8et\x8t_\x8_r\x8ro\x8oo\x8ot\x8t_\x8_c\x8ce\x8er\x8rt\x8t·(string_view·cert);
90 ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p);90 ···void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p);
91 ···bool·p\x8pr\x8ri\x8iv\x8v·()·const;91 ···bool·p\x8pr\x8ri\x8iv\x8v·()·const;
92 ···bool·i\x8is\x8s_\x8_v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y·()·const;92 ···bool·i\x8is\x8s_\x8_v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y·()·const;
93 ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const;93 ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const;
Offset 96, 30 lines modifiedOffset 96, 30 lines modified
96 ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept;96 ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept;
97 ···file_index_t·e\x8en\x8nd\x8d_\x8_f\x8fi\x8il\x8le\x8e·()·const;97 ···file_index_t·e\x8en\x8nd\x8d_\x8_f\x8fi\x8il\x8le\x8e·()·const;
98 ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept;98 ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept;
99 ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t·f);99 ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t·f);
100 ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const;100 ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const;
101 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const;101 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const;
102 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const;102 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const;
103 ···void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c); 
104 ···void·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(sha1_hash·ih);103 ···void·a\x8ad\x8dd\x8d_\x8_s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(sha1_hash·ih);
 104 ···void·a\x8ad\x8dd\x8d_\x8_c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8n·(string_view·c);
  
105 ···static·constexpr·create_flags_t·m\x8mo\x8od\x8di\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n_\x8_t\x8ti\x8im\x8me\x8e··=·2_bit;105 ···static·constexpr·create_flags_t·m\x8mo\x8od\x8di\x8if\x8fi\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n_\x8_t\x8ti\x8im\x8me\x8e··=·2_bit;
106 ···static·constexpr·create_flags_t·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8ks\x8s··=·3_bit;106 ···static·constexpr·create_flags_t·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8ks\x8s··=·3_bit;
107 ···static·constexpr·create_flags_t·v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y··=·5_bit;107 ···static·constexpr·create_flags_t·v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y··=·5_bit;
108 ···static·constexpr·create_flags_t·v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y··=·6_bit;108 ···static·constexpr·create_flags_t·v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y··=·6_bit;
109 ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s··=·7_bit;109 ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s··=·7_bit;
110 ···static·constexpr·create_flags_t·n\x8no\x8o_\x8_a\x8at\x8tt\x8tr\x8ri\x8ib\x8bu\x8ut\x8te\x8es\x8s··=·8_bit;110 ···static·constexpr·create_flags_t·n\x8no\x8o_\x8_a\x8at\x8tt\x8tr\x8ri\x8ib\x8bu\x8ut\x8te\x8es\x8s··=·8_bit;
111 ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s_\x8_n\x8no\x8o_\x8_t\x8ta\x8ai\x8il\x8l_\x8_p\x8pa\x8ad\x8dd\x8di\x8in\x8ng\x8g··=·9_bit;111 ···static·constexpr·create_flags_t·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8l_\x8_f\x8fi\x8il\x8le\x8es\x8s_\x8_n\x8no\x8o_\x8_t\x8ta\x8ai\x8il\x8l_\x8_p\x8pa\x8ad\x8dd\x8di\x8in\x8ng\x8g··=·9_bit;
112 };112 };
113 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]113 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
114 *\x8**\x8**\x8**\x8**\x8*·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*114 *\x8**\x8**\x8**\x8**\x8*·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
115 explicit·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(torrent_info·const&·ti); 
116 explicit·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(file_storage&·fs,·int·piece_size·=·0115 explicit·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(file_storage&·fs,·int·piece_size·=·0
117 ······,·create_flags_t·flags·=·{});116 ······,·create_flags_t·flags·=·{});
 117 explicit·c\x8cr\x8re\x8ea\x8at\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(torrent_info·const&·ti);
118 The·piece_size·is·the·size·of·each·piece·in·bytes.·It·must·be·a·power·of·2·and118 The·piece_size·is·the·size·of·each·piece·in·bytes.·It·must·be·a·power·of·2·and
119 a·minimum·of·16·kiB.·If·a·piece·size·of·0·is·specified,·a·piece_size·will·be119 a·minimum·of·16·kiB.·If·a·piece·size·of·0·is·specified,·a·piece_size·will·be
120 set·automatically.120 set·automatically.
121 The·flags·arguments·specifies·options·for·the·torrent·creation.·It·can·be·any121 The·flags·arguments·specifies·options·for·the·torrent·creation.·It·can·be·any
122 combination·of·the·flags·defined·by·create_flags_t.122 combination·of·the·flags·defined·by·create_flags_t.
123 The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·(fs)·parameter·defines·the·files,·sizes·and·their·properties123 The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·(fs)·parameter·defines·the·files,·sizes·and·their·properties
124 for·the·torrent·to·be·created.·Set·this·up·first,·before·passing·it·to·the124 for·the·torrent·to·be·created.·Set·this·up·first,·before·passing·it·to·the
Offset 130, 15 lines modifiedOffset 130, 15 lines modified
130 functions·of·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·that·affects·the·content·of·the·info·dictionary130 functions·of·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·that·affects·the·content·of·the·info·dictionary
131 (such·as·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)),·will·have·any·affect.·Instead·of·using·this·overload,131 (such·as·_\x8s_\x8e_\x8t_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)),·will·have·any·affect.·Instead·of·using·this·overload,
132 consider·using·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·instead.132 consider·using·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·instead.
133 Warning133 Warning
134 The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·and·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·objects·must·stay·alive·for·the·entire134 The·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·and·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·objects·must·stay·alive·for·the·entire
135 duration·of·the·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·object.135 duration·of·the·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t·object.
136 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]136 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
137 *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_._b.bu.uf.f(.().)·g.ge.en.ne.er.ra.at.te.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*137 *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e(.().)·g.ge.en.ne.er.ra.at.te.e_._b.bu.uf.f(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
138 std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const;138 std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const;
139 entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const;139 entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const;
140 This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a·bencoded140 This·function·will·generate·the·.torrent·file·as·a·bencode·tree,·or·a·bencoded
141 into·a·buffer.·In·order·to·encode·the·_\x8e_\x8n_\x8t_\x8r_\x8y·into·a·flat·file,·use·the·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)141 into·a·buffer.·In·order·to·encode·the·_\x8e_\x8n_\x8t_\x8r_\x8y·into·a·flat·file,·use·the·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)
142 function.142 function.
143 The·function·returning·an·_\x8e_\x8n_\x8t_\x8r_\x8y·may·be·useful·to·add·custom·entries·to·the143 The·function·returning·an·_\x8e_\x8n_\x8t_\x8r_\x8y·may·be·useful·to·add·custom·entries·to·the
144 torrent·file·before·bencoding·it·and·saving·it·to·disk.144 torrent·file·before·bencoding·it·and·saving·it·to·disk.
Offset 198, 16 lines modifiedOffset 198, 16 lines modified
198 be·powers-of-2,·so·all·per-piece·merkle·trees·are·complete.·A·SHA-256·hash·of198 be·powers-of-2,·so·all·per-piece·merkle·trees·are·complete.·A·SHA-256·hash·of
199 all·zeros·is·internally·used·to·indicate·a·hash·that·has·not·been·set.·Setting199 all·zeros·is·internally·used·to·indicate·a·hash·that·has·not·been·set.·Setting
200 such·hash·will·not·be·considered·set·when·calling·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8(_\x8).·This·function200 such·hash·will·not·be·considered·set·when·calling·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8(_\x8).·This·function
201 will·throw·std::system_error·if·it·is·called·on·an·object·constructed·with·the201 will·throw·std::system_error·if·it·is·called·on·an·object·constructed·with·the
202 v1_only·flag.202 v1_only·flag.
203 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]203 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
204 *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*204 *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
205 void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url); 
206 void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url);205 void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url);
 206 void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(string_view·url);
207 This·adds·a·url·seed·to·the·torrent.·You·can·have·any·number·of·url·seeds.·For207 This·adds·a·url·seed·to·the·torrent.·You·can·have·any·number·of·url·seeds.·For
208 a·single·file·torrent,·this·should·be·an·HTTP·url,·pointing·to·a·file·with208 a·single·file·torrent,·this·should·be·an·HTTP·url,·pointing·to·a·file·with
209 identical·content·as·the·file·of·the·torrent.·For·a·multi-file·torrent,·it209 identical·content·as·the·file·of·the·torrent.·For·a·multi-file·torrent,·it
Max diff block lines reached; 4804/13402 bytes (35.85%) of diff not shown.
17.2 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Custom_Storage.html
    
Offset 28, 24 lines modifiedOffset 28, 24 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#settings-interface"·id="toc-entry-1">settings_interface</a></li> 
36 <li><a·class="reference·internal"·href="#disk-observer"·id="toc-entry-2">disk_observer</a><ul>35 <li><a·class="reference·internal"·href="#disk-observer"·id="toc-entry-1">disk_observer</a><ul>
37 <li><a·class="reference·internal"·href="#on-disk"·id="toc-entry-3">on_disk()</a></li>36 <li><a·class="reference·internal"·href="#on-disk"·id="toc-entry-2">on_disk()</a></li>
38 </ul>37 </ul>
39 </li>38 </li>
 39 <li><a·class="reference·internal"·href="#settings-interface"·id="toc-entry-3">settings_interface</a></li>
40 <li><a·class="reference·internal"·href="#open-file-state"·id="toc-entry-4">open_file_state</a></li>40 <li><a·class="reference·internal"·href="#open-file-state"·id="toc-entry-4">open_file_state</a></li>
41 <li><a·class="reference·internal"·href="#disk-interface"·id="toc-entry-5">disk_interface</a><ul>41 <li><a·class="reference·internal"·href="#disk-interface"·id="toc-entry-5">disk_interface</a><ul>
42 <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-6">new_torrent()</a></li>42 <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-6">new_torrent()</a></li>
43 <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-7">remove_torrent()</a></li>43 <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-7">remove_torrent()</a></li>
44 <li><a·class="reference·internal"·href="#async-write-async-read"·id="toc-entry-8">async_write()·async_read()</a></li>44 <li><a·class="reference·internal"·href="#async-read-async-write"·id="toc-entry-8">async_read()·async_write()</a></li>
45 <li><a·class="reference·internal"·href="#async-hash"·id="toc-entry-9">async_hash()</a></li>45 <li><a·class="reference·internal"·href="#async-hash"·id="toc-entry-9">async_hash()</a></li>
46 <li><a·class="reference·internal"·href="#async-hash2"·id="toc-entry-10">async_hash2()</a></li>46 <li><a·class="reference·internal"·href="#async-hash2"·id="toc-entry-10">async_hash2()</a></li>
47 <li><a·class="reference·internal"·href="#async-move-storage"·id="toc-entry-11">async_move_storage()</a></li>47 <li><a·class="reference·internal"·href="#async-move-storage"·id="toc-entry-11">async_move_storage()</a></li>
48 <li><a·class="reference·internal"·href="#async-release-files"·id="toc-entry-12">async_release_files()</a></li>48 <li><a·class="reference·internal"·href="#async-release-files"·id="toc-entry-12">async_release_files()</a></li>
49 <li><a·class="reference·internal"·href="#async-check-files"·id="toc-entry-13">async_check_files()</a></li>49 <li><a·class="reference·internal"·href="#async-check-files"·id="toc-entry-13">async_check_files()</a></li>
50 <li><a·class="reference·internal"·href="#async-stop-torrent"·id="toc-entry-14">async_stop_torrent()</a></li>50 <li><a·class="reference·internal"·href="#async-stop-torrent"·id="toc-entry-14">async_stop_torrent()</a></li>
51 <li><a·class="reference·internal"·href="#async-rename-file"·id="toc-entry-15">async_rename_file()</a></li>51 <li><a·class="reference·internal"·href="#async-rename-file"·id="toc-entry-15">async_rename_file()</a></li>
Offset 340, 33 lines modifiedOffset 340, 15 lines modified
  
340 </span><span·class="name">std</span><span·class="operator">::</span><span·class="name">unique_ptr</span><span·class="operator">&lt;</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">disk_interface</span><span·class="operator">&gt;</span><span·class="whitespace">·</span><span·class="name">temp_disk_constructor</span><span·class="punctuation">(</span><span·class="whitespace">340 </span><span·class="name">std</span><span·class="operator">::</span><span·class="name">unique_ptr</span><span·class="operator">&lt;</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">disk_interface</span><span·class="operator">&gt;</span><span·class="whitespace">·</span><span·class="name">temp_disk_constructor</span><span·class="punctuation">(</span><span·class="whitespace">
341 ··</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">io_context</span><span·class="operator">&amp;</span><span·class="whitespace">·</span><span·class="name">ioc</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">settings_interface</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="operator">&amp;</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">counters</span><span·class="operator">&amp;</span><span·class="punctuation">)</span><span·class="whitespace">341 ··</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">io_context</span><span·class="operator">&amp;</span><span·class="whitespace">·</span><span·class="name">ioc</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">settings_interface</span><span·class="whitespace">·</span><span·class="keyword">const</span><span·class="operator">&amp;</span><span·class="punctuation">,</span><span·class="whitespace">·</span><span·class="name">lt</span><span·class="operator">::</span><span·class="name">counters</span><span·class="operator">&amp;</span><span·class="punctuation">)</span><span·class="whitespace">
342 </span><span·class="punctuation">{</span><span·class="whitespace">342 </span><span·class="punctuation">{</span><span·class="whitespace">
343 ··</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">std</span><span·class="operator">::</span><span·class="name">make_unique</span><span·class="operator">&lt;</span><span·class="name">temp_disk_io</span><span·class="operator">&gt;</span><span·class="punctuation">(</span><span·class="name">ioc</span><span·class="punctuation">);</span><span·class="whitespace">343 ··</span><span·class="keyword">return</span><span·class="whitespace">·</span><span·class="name">std</span><span·class="operator">::</span><span·class="name">make_unique</span><span·class="operator">&lt;</span><span·class="name">temp_disk_io</span><span·class="operator">&gt;</span><span·class="punctuation">(</span><span·class="name">ioc</span><span·class="punctuation">);</span><span·class="whitespace">
344 </span><span·class="punctuation">}</span>344 </span><span·class="punctuation">}</span>
345 </pre>345 </pre>
346 <a·name="settings_interface"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+settings_interface&labels=documentation&body=Documentation+under+heading+%22class+settings_interface%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="settings-interface"> 
347 <h1>settings_interface</h1> 
348 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/settings_pack.hpp">libtorrent/settings_pack.hpp</a>&quot;</p> 
349 <p>the·common·interface·to·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·and·the·internal·representation·of 
350 settings.</p> 
351 <pre·class="literal-block"> 
352 struct·settings_interface 
353 { 
354 ···virtual·void·<strong>set_bool</strong>·(int·name,·bool·val)·=·0; 
355 ···virtual·void·<strong>set_str</strong>·(int·name,·std::string·val)·=·0; 
356 ···virtual·void·<strong>set_int</strong>·(int·name,·int·val)·=·0; 
357 ···virtual·bool·<strong>has_val</strong>·(int·name)·const·=·0; 
358 ···virtual·int·<strong>get_int</strong>·(int·name)·const·=·0; 
359 ···virtual·bool·<strong>get_bool</strong>·(int·name)·const·=·0; 
360 ···virtual·std::string·const&amp;·<strong>get_str</strong>·(int·name)·const·=·0; 
361 }; 
362 </pre> 
363 <a·name="disk_observer"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+disk_observer&labels=documentation&body=Documentation+under+heading+%22class+disk_observer%22+could+be+improved">report·issue</a>]</span></div>346 <a·name="disk_observer"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+disk_observer&labels=documentation&body=Documentation+under+heading+%22class+disk_observer%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="disk-observer">
364 <div·class="section"·id="disk-observer"> 
365 <h1>disk_observer</h1>347 <h1>disk_observer</h1>
366 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/disk_observer.hpp">libtorrent/disk_observer.hpp</a>&quot;</p>348 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/disk_observer.hpp">libtorrent/disk_observer.hpp</a>&quot;</p>
367 <pre·class="literal-block">349 <pre·class="literal-block">
368 struct·disk_observer350 struct·disk_observer
369 {351 {
370 ···virtual·void·<strong>on_disk</strong>·()·=·0;352 ···virtual·void·<strong>on_disk</strong>·()·=·0;
371 };353 };
Offset 375, 16 lines modifiedOffset 357, 34 lines modified
375 <h2>on_disk()</h2>357 <h2>on_disk()</h2>
376 <pre·class="literal-block">358 <pre·class="literal-block">
377 virtual·void·<strong>on_disk</strong>·()·=·0;359 virtual·void·<strong>on_disk</strong>·()·=·0;
378 </pre>360 </pre>
379 <p>called·when·the·disk·cache·size·has·dropped361 <p>called·when·the·disk·cache·size·has·dropped
380 below·the·low·watermark·again·and·we·can362 below·the·low·watermark·again·and·we·can
381 resume·downloading·from·peers</p>363 resume·downloading·from·peers</p>
382 <a·name="open_file_state"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+open_file_state&labels=documentation&body=Documentation+under+heading+%22class+open_file_state%22+could+be+improved">report·issue</a>]</span></div>364 <a·name="settings_interface"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+settings_interface&labels=documentation&body=Documentation+under+heading+%22class+settings_interface%22+could+be+improved">report·issue</a>]</span></div>
383 </div>365 </div>
 366 <div·class="section"·id="settings-interface">
 367 <h1>settings_interface</h1>
 368 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/settings_pack.hpp">libtorrent/settings_pack.hpp</a>&quot;</p>
 369 <p>the·common·interface·to·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·and·the·internal·representation·of
 370 settings.</p>
 371 <pre·class="literal-block">
 372 struct·settings_interface
 373 {
 374 ···virtual·void·<strong>set_str</strong>·(int·name,·std::string·val)·=·0;
 375 ···virtual·void·<strong>set_bool</strong>·(int·name,·bool·val)·=·0;
 376 ···virtual·void·<strong>set_int</strong>·(int·name,·int·val)·=·0;
 377 ···virtual·bool·<strong>has_val</strong>·(int·name)·const·=·0;
 378 ···virtual·int·<strong>get_int</strong>·(int·name)·const·=·0;
 379 ···virtual·std::string·const&amp;·<strong>get_str</strong>·(int·name)·const·=·0;
 380 ···virtual·bool·<strong>get_bool</strong>·(int·name)·const·=·0;
 381 };
 382 </pre>
 383 <a·name="open_file_state"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+open_file_state&labels=documentation&body=Documentation+under+heading+%22class+open_file_state%22+could+be+improved">report·issue</a>]</span></div>
384 <div·class="section"·id="open-file-state">384 <div·class="section"·id="open-file-state">
385 <h1>open_file_state</h1>385 <h1>open_file_state</h1>
386 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/disk_interface.hpp">libtorrent/disk_interface.hpp</a>&quot;</p>386 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/disk_interface.hpp">libtorrent/disk_interface.hpp</a>&quot;</p>
387 <p>this·contains·information·about·a·file·that's·currently·open·by·the387 <p>this·contains·information·about·a·file·that's·currently·open·by·the
388 libtorrent·disk·I/O·subsystem.·It's·associated·with·a·single·torrent.</p>388 libtorrent·disk·I/O·subsystem.·It's·associated·with·a·single·torrent.</p>
389 <pre·class="literal-block">389 <pre·class="literal-block">
390 struct·open_file_state390 struct·open_file_state
Offset 494, 18 lines modifiedOffset 494, 18 lines modified
494 <h2>remove_torrent()</h2>494 <h2>remove_torrent()</h2>
495 <pre·class="literal-block">495 <pre·class="literal-block">
496 virtual·void·<strong>remove_torrent</strong>·(storage_index_t)·=·0;496 virtual·void·<strong>remove_torrent</strong>·(storage_index_t)·=·0;
497 </pre>497 </pre>
498 <p>remove·the·storage·with·the·specified·index.·This·is·not·expected·to498 <p>remove·the·storage·with·the·specified·index.·This·is·not·expected·to
499 delete·any·files·from·disk,·just·to·clean·up·any·resources·associated499 delete·any·files·from·disk,·just·to·clean·up·any·resources·associated
500 with·the·specified·storage.</p>500 with·the·specified·storage.</p>
501 <a·name="async_write()"></a>501 <a·name="async_read()"></a>
502 <a·name="async_read()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:disk_interface%3A%3A%5Basync_write%28%29+async_read%28%29%5D&labels=documentation&body=Documentation+under+heading+%22disk_interface%3A%3A%5Basync_wr[·...·truncated·by·diffoscope;·len:·20,·SHA:·bbb3030f237567ec63dd2cae9f643540d1fc96d73fc73c42eca6960ee862da40·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>502 <a·name="async_write()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:disk_interface%3A%3A%5Basync_read%28%29+async_write%28%29%5D&labels=documentation&body=Documentation+under+heading+%22disk_interface%3A%3A%5Basync_r[·...·truncated·by·diffoscope;·len:·21,·SHA:·fe2d182d983227304b76c2ff15c18da9436a48da7645ef89a713875bfd205774·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
503 <div·class="section"·id="async-write-async-read">503 <div·class="section"·id="async-read-async-write">
504 <h2>async_write()·async_read()</h2>504 <h2>async_read()·async_write()</h2>
505 <pre·class="literal-block">505 <pre·class="literal-block">
506 virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&amp;·r506 virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&amp;·r
507 ······,·std::function&lt;void(disk_buffer_holder,·storage_error·const&amp;)&gt;·handler507 ······,·std::function&lt;void(disk_buffer_holder,·storage_error·const&amp;)&gt;·handler
508 ······,·disk_job_flags_t·flags·=·{})·=·0;508 ······,·disk_job_flags_t·flags·=·{})·=·0;
509 virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&amp;·r509 virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&amp;·r
510 ······,·char·const*·buf,·std::shared_ptr&lt;disk_observer&gt;·o510 ······,·char·const*·buf,·std::shared_ptr&lt;disk_observer&gt;·o
511 ······,·std::function&lt;void(storage_error·const&amp;)&gt;·handler511 ······,·std::function&lt;void(storage_error·const&amp;)&gt;·handler
Offset 765, 16 lines modifiedOffset 765, 16 lines modified
765 for·a·torrent·to·the·lifetime·of·the·internal·torrent·object.·When·a765 for·a·torrent·to·the·lifetime·of·the·internal·torrent·object.·When·a
766 torrent·is·removed·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·this·holder·is·destructed·and·will766 torrent·is·removed·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·this·holder·is·destructed·and·will
767 inform·the·disk·object.</p>767 inform·the·disk·object.</p>
768 <pre·class="literal-block">768 <pre·class="literal-block">
769 struct·storage_holder769 struct·storage_holder
770 {770 {
771 ···<strong>storage_holder</strong>·(storage_index_t·idx,·disk_interface&amp;·disk_io);771 ···<strong>storage_holder</strong>·(storage_index_t·idx,·disk_interface&amp;·disk_io);
772 ···<strong>~storage_holder</strong>·(); 
773 ···<strong>storage_holder</strong>·()·=·default;772 ···<strong>storage_holder</strong>·()·=·default;
 773 ···<strong>~storage_holder</strong>·();
774 ···explicit·operator·<strong>bool</strong>·()·const;774 ···explicit·operator·<strong>bool</strong>·()·const;
775 ···operator·<strong>storage_index_t</strong>·()·const;775 ···operator·<strong>storage_index_t</strong>·()·const;
776 ···void·<strong>reset</strong>·();776 ···void·<strong>reset</strong>·();
Max diff block lines reached; 258/11269 bytes (2.29%) of diff not shown.
6.07 KB
html2text {}
    
Offset 1, 20 lines modifiedOffset 1, 20 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e 
7 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r6 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r
8 ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8k_\x8(_\x8)7 ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8k_\x8(_\x8)
 8 ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
9 ····*·_\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e9 ····*·_\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e
10 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e10 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
11 ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)11 ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
12 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)12 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
13 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8w_.r_.i_.t_.e_.(_.)_.·_.a_.s_.y_.n_.c_.__.r_.e_.a_.d_\x8(_\x8)13 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_.e_.a_.d_.(_.)_.·_.a_.s_.y_.n_.c_.__.w_.r_.i_.t_.e_\x8(_\x8)
14 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)14 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)
15 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8)15 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8)
16 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8)16 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8)
17 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)17 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
18 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)18 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
19 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)19 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
20 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)20 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
Offset 327, 41 lines modifiedOffset 327, 41 lines modified
  
327 std::unique_ptr<lt::disk_interface>·temp_disk_constructor(327 std::unique_ptr<lt::disk_interface>·temp_disk_constructor(
328 ··lt::io_context&·ioc,·lt::settings_interface·const&,·lt::counters&)328 ··lt::io_context&·ioc,·lt::settings_interface·const&,·lt::counters&)
329 {329 {
330 ··return·std::make_unique<temp_disk_io>(ioc);330 ··return·std::make_unique<temp_disk_io>(ioc);
331 }331 }
332 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]332 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 333 *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8di\x8is\x8sk\x8k_\x8_o\x8ob\x8bs\x8se\x8er\x8rv\x8ve\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8*
 334 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8._\x8h_\x8p_\x8p"
 335 struct·disk_observer
 336 {
 337 ···virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sk\x8k·()·=·0;
 338 };
 339 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 340 *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_d\x8di\x8is\x8sk\x8k(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 341 virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sk\x8k·()·=·0;
 342 called·when·the·disk·cache·size·has·dropped·below·the·low·watermark·again·and
 343 we·can·resume·downloading·from·peers
 344 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
333 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s_\x8_i\x8in\x8nt\x8te\x8er\x8rf\x8fa\x8ac\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*345 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8tt\x8ti\x8in\x8ng\x8gs\x8s_\x8_i\x8in\x8nt\x8te\x8er\x8rf\x8fa\x8ac\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
334 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p"346 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8._\x8h_\x8p_\x8p"
335 the·common·interface·to·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·and·the·internal·representation·of347 the·common·interface·to·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·and·the·internal·representation·of
336 settings.348 settings.
337 struct·settings_interface349 struct·settings_interface
338 {350 {
339 ···virtual·void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·=·0; 
340 ···virtual·void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·=·0;351 ···virtual·void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·=·0;
 352 ···virtual·void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·=·0;
341 ···virtual·void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·=·0;353 ···virtual·void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·=·0;
342 ···virtual·bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·=·0;354 ···virtual·bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·=·0;
343 ···virtual·int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·=·0;355 ···virtual·int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·=·0;
344 ···virtual·bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·=·0; 
345 ···virtual·std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·=·0;356 ···virtual·std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·=·0;
 357 ···virtual·bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·=·0;
346 };358 };
347 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]359 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
348 *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8di\x8is\x8sk\x8k_\x8_o\x8ob\x8bs\x8se\x8er\x8rv\x8ve\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* 
349 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" 
350 struct·disk_observer 
351 { 
352 ···virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sk\x8k·()·=·0; 
353 }; 
354 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
355 *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_d\x8di\x8is\x8sk\x8k(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
356 virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sk\x8k·()·=·0; 
357 called·when·the·disk·cache·size·has·dropped·below·the·low·watermark·again·and 
358 we·can·resume·downloading·from·peers 
359 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
360 *\x8**\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8en\x8n_\x8_f\x8fi\x8il\x8le\x8e_\x8_s\x8st\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*360 *\x8**\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8en\x8n_\x8_f\x8fi\x8il\x8le\x8e_\x8_s\x8st\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
361 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8._\x8h_\x8p_\x8p"361 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e_\x8._\x8h_\x8p_\x8p"
362 this·contains·information·about·a·file·that's·currently·open·by·the·libtorrent362 this·contains·information·about·a·file·that's·currently·open·by·the·libtorrent
363 disk·I/O·subsystem.·It's·associated·with·a·single·torrent.363 disk·I/O·subsystem.·It's·associated·with·a·single·torrent.
364 struct·open_file_state364 struct·open_file_state
365 {365 {
366 ···file_index_t·file_index;366 ···file_index_t·file_index;
Offset 466, 15 lines modifiedOffset 466, 15 lines modified
466 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]466 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
467 *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*467 *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
468 virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0;468 virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0;
469 remove·the·storage·with·the·specified·index.·This·is·not·expected·to·delete·any469 remove·the·storage·with·the·specified·index.·This·is·not·expected·to·delete·any
470 files·from·disk,·just·to·clean·up·any·resources·associated·with·the·specified470 files·from·disk,·just·to·clean·up·any·resources·associated·with·the·specified
471 storage.471 storage.
472 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]472 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
473 *\x8**\x8**\x8**\x8**\x8*·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w.wr.ri.it.te.e(.().)·a.as.sy.yn.nc.c_._r.re.ea.ad.d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*473 *\x8**\x8**\x8**\x8**\x8*·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r.re.ea.ad.d(.().)·a.as.sy.yn.nc.c_._w.wr.ri.it.te.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
474 virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r474 virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r
475 ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler475 ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler
476 ······,·disk_job_flags_t·flags·=·{})·=·0;476 ······,·disk_job_flags_t·flags·=·{})·=·0;
477 virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r477 virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r
478 ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o478 ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o
479 ······,·std::function<void(storage_error·const&)>·handler479 ······,·std::function<void(storage_error·const&)>·handler
480 ······,·disk_job_flags_t·flags·=·{})·=·0;480 ······,·disk_job_flags_t·flags·=·{})·=·0;
Offset 669, 16 lines modifiedOffset 669, 16 lines modified
669 (class·that·implements·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e).·This·is·held·by·the·internal·libtorrent669 (class·that·implements·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e).·This·is·held·by·the·internal·libtorrent
670 torrent·object·to·tie·the·storage·object·allocated·for·a·torrent·to·the670 torrent·object·to·tie·the·storage·object·allocated·for·a·torrent·to·the
671 lifetime·of·the·internal·torrent·object.·When·a·torrent·is·removed·from·the671 lifetime·of·the·internal·torrent·object.·When·a·torrent·is·removed·from·the
672 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·this·holder·is·destructed·and·will·inform·the·disk·object.672 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·this·holder·is·destructed·and·will·inform·the·disk·object.
673 struct·storage_holder673 struct·storage_holder
674 {674 {
675 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_index_t·idx,·disk_interface&·disk_io);675 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_index_t·idx,·disk_interface&·disk_io);
676 ···~\x8~s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(); 
677 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·=·default;676 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·=·default;
 677 ···~\x8~s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·();
678 ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const;678 ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const;
679 ···operator·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_t\x8t·()·const;679 ···operator·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_t\x8t·()·const;
680 ···void·r\x8re\x8es\x8se\x8et\x8t·();680 ···void·r\x8re\x8es\x8se\x8et\x8t·();
681 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder·const&)·=·delete;681 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder·const&)·=·delete;
682 ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder·const&)·=·delete;682 ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder·const&)·=·delete;
683 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder&&·rhs)·noexcept;683 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder&&·rhs)·noexcept;
684 ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder&&·rhs)·noexcept;684 ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder&&·rhs)·noexcept;
10.1 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-DHT.html
    
Offset 47, 16 lines modifiedOffset 47, 16 lines modified
47 <li><a·class="reference·internal"·href="#get-mutable-item"·id="toc-entry-11">get_mutable_item()</a></li>47 <li><a·class="reference·internal"·href="#get-mutable-item"·id="toc-entry-11">get_mutable_item()</a></li>
48 <li><a·class="reference·internal"·href="#put-mutable-item"·id="toc-entry-12">put_mutable_item()</a></li>48 <li><a·class="reference·internal"·href="#put-mutable-item"·id="toc-entry-12">put_mutable_item()</a></li>
49 <li><a·class="reference·internal"·href="#get-infohashes-sample"·id="toc-entry-13">get_infohashes_sample()</a></li>49 <li><a·class="reference·internal"·href="#get-infohashes-sample"·id="toc-entry-13">get_infohashes_sample()</a></li>
50 <li><a·class="reference·internal"·href="#tick"·id="toc-entry-14">tick()</a></li>50 <li><a·class="reference·internal"·href="#tick"·id="toc-entry-14">tick()</a></li>
51 <li><a·class="reference·internal"·href="#counters"·id="toc-entry-15">counters()</a></li>51 <li><a·class="reference·internal"·href="#counters"·id="toc-entry-15">counters()</a></li>
52 </ul>52 </ul>
53 </li>53 </li>
 54 <li><a·class="reference·internal"·href="#sign-mutable-item"·id="toc-entry-16">sign_mutable_item()</a></li>
54 <li><a·class="reference·internal"·href="#dht-default-storage-constructor"·id="toc-entry-16">dht_default_storage_constructor()</a></li>55 <li><a·class="reference·internal"·href="#dht-default-storage-constructor"·id="toc-entry-17">dht_default_storage_constructor()</a></li>
55 <li><a·class="reference·internal"·href="#sign-mutable-item"·id="toc-entry-17">sign_mutable_item()</a></li> 
56 <li><a·class="reference·internal"·href="#announce-flags-t"·id="toc-entry-18">announce_flags_t</a></li>56 <li><a·class="reference·internal"·href="#announce-flags-t"·id="toc-entry-18">announce_flags_t</a></li>
57 </ul>57 </ul>
58 </div>58 </div>
59 <a·name="dht_state"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+dht_state&labels=documentation&body=Documentation+under+heading+%22class+dht_state%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="dht-state">59 <a·name="dht_state"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+dht_state&labels=documentation&body=Documentation+under+heading+%22class+dht_state%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="dht-state">
60 <h1>dht_state</h1>60 <h1>dht_state</h1>
61 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/dht_state.hpp">libtorrent/kademlia/dht_state.hpp</a>&quot;</p>61 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/dht_state.hpp">libtorrent/kademlia/dht_state.hpp</a>&quot;</p>
62 <p>This·structure·helps·to·store·and·load·the·state62 <p>This·structure·helps·to·store·and·load·the·state
Offset 308, 27 lines modifiedOffset 308, 16 lines modified
308 <a·name="counters()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_storage_interface%3A%3A%5Bcounters%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_storage_interface%3A%3A%5Bcounters%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>308 <a·name="counters()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_storage_interface%3A%3A%5Bcounters%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_storage_interface%3A%3A%5Bcounters%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
309 <div·class="section"·id="counters">309 <div·class="section"·id="counters">
310 <h2>counters()</h2>310 <h2>counters()</h2>
311 <pre·class="literal-block">311 <pre·class="literal-block">
312 virtual·dht_storage_counters·<strong>counters</strong>·()·const·=·0;312 virtual·dht_storage_counters·<strong>counters</strong>·()·const·=·0;
313 </pre>313 </pre>
314 <p>return·stats·<a·class="reference·external"·href="reference-Stats.html#counters">counters</a>·for·the·store</p>314 <p>return·stats·<a·class="reference·external"·href="reference-Stats.html#counters">counters</a>·for·the·store</p>
315 <a·name="dht_default_storage_constructor()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_default_storage_constructor%28%29&labels=documentation&body=Documentation+under+heading+%22dht_default_storage_constructor%28%29%22+could+be+improved">report·issue</a>]</span></div> 
316 </div> 
317 <div·class="section"·id="dht-default-storage-constructor"> 
318 <h1>dht_default_storage_constructor()</h1> 
319 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/dht_storage.hpp">libtorrent/kademlia/dht_storage.hpp</a>&quot;</p> 
320 <pre·class="literal-block"> 
321 std::unique_ptr&lt;dht_storage_interface&gt;·<strong>dht_default_storage_constructor</strong>·( 
322 ···settings_interface·const&amp;·settings); 
323 </pre> 
324 <p>constructor·for·the·default·DHT·storage.·The·DHT·storage·is·responsible 
325 for·maintaining·peers·and·mutable·and·immutable·items·announced·and 
326 stored/put·to·the·DHT·node.</p> 
327 <a·name="sign_mutable_item()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:sign_mutable_item%28%29&labels=documentation&body=Documentation+under+heading+%22sign_mutable_item%28%29%22+could+be+improved">report·issue</a>]</span></div>315 <a·name="sign_mutable_item()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:sign_mutable_item%28%29&labels=documentation&body=Documentation+under+heading+%22sign_mutable_item%28%29%22+could+be+improved">report·issue</a>]</span></div>
 316 </div>
328 <div·class="section"·id="sign-mutable-item">317 <div·class="section"·id="sign-mutable-item">
329 <h1>sign_mutable_item()</h1>318 <h1>sign_mutable_item()</h1>
330 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/item.hpp">libtorrent/kademlia/item.hpp</a>&quot;</p>319 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/item.hpp">libtorrent/kademlia/item.hpp</a>&quot;</p>
331 <pre·class="literal-block">320 <pre·class="literal-block">
332 signature·<strong>sign_mutable_item</strong>·(321 signature·<strong>sign_mutable_item</strong>·(
333 ···span&lt;char·const&gt;·v322 ···span&lt;char·const&gt;·v
334 ···,·span&lt;char·const&gt;·salt323 ···,·span&lt;char·const&gt;·salt
Offset 338, 14 lines modifiedOffset 327, 25 lines modified
338 </pre>327 </pre>
339 <p>given·a·byte·range·<tt·class="docutils·literal">v</tt>·and·an·optional·byte·range·<tt·class="docutils·literal">salt</tt>,·a328 <p>given·a·byte·range·<tt·class="docutils·literal">v</tt>·and·an·optional·byte·range·<tt·class="docutils·literal">salt</tt>,·a
340 sequence·number,·public·key·<tt·class="docutils·literal">pk</tt>·(must·be·32·bytes)·and·a·secret·key329 sequence·number,·public·key·<tt·class="docutils·literal">pk</tt>·(must·be·32·bytes)·and·a·secret·key
341 <tt·class="docutils·literal">sk</tt>·(must·be·64·bytes),·this·function·produces·a·signature·which330 <tt·class="docutils·literal">sk</tt>·(must·be·64·bytes),·this·function·produces·a·signature·which
342 is·written·into·a·64·byte·buffer·pointed·to·by·<tt·class="docutils·literal">sig</tt>.·The·caller331 is·written·into·a·64·byte·buffer·pointed·to·by·<tt·class="docutils·literal">sig</tt>.·The·caller
343 is·responsible·for·allocating·the·destination·buffer·that's·passed·in332 is·responsible·for·allocating·the·destination·buffer·that's·passed·in
344 as·the·<tt·class="docutils·literal">sig</tt>·argument.·Typically·it·would·be·allocated·on·the·stack.</p>333 as·the·<tt·class="docutils·literal">sig</tt>·argument.·Typically·it·would·be·allocated·on·the·stack.</p>
 334 <a·name="dht_default_storage_constructor()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_default_storage_constructor%28%29&labels=documentation&body=Documentation+under+heading+%22dht_default_storage_constructor%28%29%22+could+be+improved">report·issue</a>]</span></div>
 335 <div·class="section"·id="dht-default-storage-constructor">
 336 <h1>dht_default_storage_constructor()</h1>
 337 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/dht_storage.hpp">libtorrent/kademlia/dht_storage.hpp</a>&quot;</p>
 338 <pre·class="literal-block">
 339 std::unique_ptr&lt;dht_storage_interface&gt;·<strong>dht_default_storage_constructor</strong>·(
 340 ···settings_interface·const&amp;·settings);
 341 </pre>
 342 <p>constructor·for·the·default·DHT·storage.·The·DHT·storage·is·responsible
 343 for·maintaining·peers·and·mutable·and·immutable·items·announced·and
 344 stored/put·to·the·DHT·node.</p>
345 <a·name="announce_flags_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_flags_t&labels=documentation&body=Documentation+under+heading+%22announce_flags_t%22+could+be+improved">report·issue</a>]</span></div>345 <a·name="announce_flags_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_flags_t&labels=documentation&body=Documentation+under+heading+%22announce_flags_t%22+could+be+improved">report·issue</a>]</span></div>
346 <div·class="section"·id="announce-flags-t">346 <div·class="section"·id="announce-flags-t">
347 <h1>announce_flags_t</h1>347 <h1>announce_flags_t</h1>
348 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/announce_flags.hpp">libtorrent/kademlia/announce_flags.hpp</a>&quot;</p>348 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/announce_flags.hpp">libtorrent/kademlia/announce_flags.hpp</a>&quot;</p>
349 <a·name="announce_flags_t::seed"></a><dl·class="docutils">349 <a·name="announce_flags_t::seed"></a><dl·class="docutils">
350 <dt>seed</dt>350 <dt>seed</dt>
351 <dd>announce·to·DHT·as·a·seed</dd>351 <dd>announce·to·DHT·as·a·seed</dd>
4.07 KB
html2text {}
    
Offset 14, 16 lines modifiedOffset 14, 16 lines modified
14 ··········o·_\x8p_\x8u_\x8t_\x8__\x8i_\x8m_\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)14 ··········o·_\x8p_\x8u_\x8t_\x8__\x8i_\x8m_\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
15 ··········o·_\x8g_\x8e_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8__\x8s_\x8e_\x8q_\x8(_\x8)15 ··········o·_\x8g_\x8e_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8__\x8s_\x8e_\x8q_\x8(_\x8)
16 ··········o·_\x8g_\x8e_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)16 ··········o·_\x8g_\x8e_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
17 ··········o·_\x8p_\x8u_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)17 ··········o·_\x8p_\x8u_\x8t_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
18 ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8(_\x8)18 ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8(_\x8)
19 ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8)19 ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8)
20 ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8)20 ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8)
21 ····*·_\x8d_\x8h_\x8t_\x8__\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) 
22 ····*·_\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)21 ····*·_\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
 22 ····*·_\x8d_\x8h_\x8t_\x8__\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8)
23 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t23 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
24 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]24 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
25 *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8st\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*25 *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8st\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
26 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8._\x8h_\x8p_\x8p"26 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8._\x8h_\x8p_\x8p"
27 This·structure·helps·to·store·and·load·the·state·of·the·dht_tracker.·At·this27 This·structure·helps·to·store·and·load·the·state·of·the·dht_tracker.·At·this
28 moment·the·library·is·only·a·dual·stack·implementation·of·the·DHT.·See·_\x8B_\x8E_\x8P_\x8·_\x83_\x8228 moment·the·library·is·only·a·dual·stack·implementation·of·the·DHT.·See·_\x8B_\x8E_\x8P_\x8·_\x83_\x82
29 struct·dht_state29 struct·dht_state
Offset 210, 36 lines modifiedOffset 210, 36 lines modified
210 For·implementers:·Use·this·functions·for·expire·peers·or·items·or·any·other210 For·implementers:·Use·this·functions·for·expire·peers·or·items·or·any·other
211 storage·cleanup.211 storage·cleanup.
212 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]212 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
213 *\x8**\x8**\x8**\x8**\x8*·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*213 *\x8**\x8**\x8**\x8**\x8*·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
214 virtual·dht_storage_counters·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·const·=·0;214 virtual·dht_storage_counters·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·const·=·0;
215 return·stats·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s·for·the·store215 return·stats·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s·for·the·store
216 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]216 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
217 *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8on\x8ns\x8st\x8tr\x8ru\x8uc\x8ct\x8to\x8or\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* 
218 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p" 
219 std::unique_ptr<dht_storage_interface>·d\x8dh\x8ht\x8t_\x8_d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8on\x8ns\x8st\x8tr\x8ru\x8uc\x8ct\x8to\x8or\x8r·( 
220 ···settings_interface·const&·settings); 
221 constructor·for·the·default·DHT·storage.·The·DHT·storage·is·responsible·for 
222 maintaining·peers·and·mutable·and·immutable·items·announced·and·stored/put·to 
223 the·DHT·node. 
224 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
225 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8si\x8ig\x8gn\x8n_\x8_m\x8mu\x8ut\x8ta\x8ab\x8bl\x8le\x8e_\x8_i\x8it\x8te\x8em\x8m(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*217 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8si\x8ig\x8gn\x8n_\x8_m\x8mu\x8ut\x8ta\x8ab\x8bl\x8le\x8e_\x8_i\x8it\x8te\x8em\x8m(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
226 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8i_\x8t_\x8e_\x8m_\x8._\x8h_\x8p_\x8p"218 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8i_\x8t_\x8e_\x8m_\x8._\x8h_\x8p_\x8p"
227 signature·s\x8si\x8ig\x8gn\x8n_\x8_m\x8mu\x8ut\x8ta\x8ab\x8bl\x8le\x8e_\x8_i\x8it\x8te\x8em\x8m·(219 signature·s\x8si\x8ig\x8gn\x8n_\x8_m\x8mu\x8ut\x8ta\x8ab\x8bl\x8le\x8e_\x8_i\x8it\x8te\x8em\x8m·(
228 ···span<char·const>·v220 ···span<char·const>·v
229 ···,·span<char·const>·salt221 ···,·span<char·const>·salt
230 ···,·sequence_number·seq222 ···,·sequence_number·seq
231 ···,·public_key·const&·pk223 ···,·public_key·const&·pk
232 ···,·secret_key·const&·sk);224 ···,·secret_key·const&·sk);
233 given·a·byte·range·v·and·an·optional·byte·range·salt,·a·sequence·number,·public225 given·a·byte·range·v·and·an·optional·byte·range·salt,·a·sequence·number,·public
234 key·pk·(must·be·32·bytes)·and·a·secret·key·sk·(must·be·64·bytes),·this·function226 key·pk·(must·be·32·bytes)·and·a·secret·key·sk·(must·be·64·bytes),·this·function
235 produces·a·signature·which·is·written·into·a·64·byte·buffer·pointed·to·by·sig.227 produces·a·signature·which·is·written·into·a·64·byte·buffer·pointed·to·by·sig.
236 The·caller·is·responsible·for·allocating·the·destination·buffer·that's·passed228 The·caller·is·responsible·for·allocating·the·destination·buffer·that's·passed
237 in·as·the·sig·argument.·Typically·it·would·be·allocated·on·the·stack.229 in·as·the·sig·argument.·Typically·it·would·be·allocated·on·the·stack.
238 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]230 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 231 *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8on\x8ns\x8st\x8tr\x8ru\x8uc\x8ct\x8to\x8or\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
 232 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p"
 233 std::unique_ptr<dht_storage_interface>·d\x8dh\x8ht\x8t_\x8_d\x8de\x8ef\x8fa\x8au\x8ul\x8lt\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8on\x8ns\x8st\x8tr\x8ru\x8uc\x8ct\x8to\x8or\x8r·(
 234 ···settings_interface·const&·settings);
 235 constructor·for·the·default·DHT·storage.·The·DHT·storage·is·responsible·for
 236 maintaining·peers·and·mutable·and·immutable·items·announced·and·stored/put·to
 237 the·DHT·node.
 238 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
239 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_f\x8fl\x8la\x8ag\x8gs\x8s_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*239 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_f\x8fl\x8la\x8ag\x8gs\x8s_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
240 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8._\x8h_\x8p_\x8p"240 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8._\x8h_\x8p_\x8p"
241 ··seed241 ··seed
242 ······announce·to·DHT·as·a·seed242 ······announce·to·DHT·as·a·seed
243 ··implied_port243 ··implied_port
244 ······announce·to·DHT·with·the·implied-port·flag·set.·This·tells·the·network·to244 ······announce·to·DHT·with·the·implied-port·flag·set.·This·tells·the·network·to
245 ······use·your·source·UDP·port·as·your·listen·port,·rather·than·the·one245 ······use·your·source·UDP·port·as·your·listen·port,·rather·than·the·one
37.0 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Error_Codes.html
    
Offset 34, 27 lines modifiedOffset 34, 27 lines modified
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#storage-error"·id="toc-entry-1">storage_error</a><ul>35 <li><a·class="reference·internal"·href="#storage-error"·id="toc-entry-1">storage_error</a><ul>
36 <li><a·class="reference·internal"·href="#bool"·id="toc-entry-2">bool()</a></li>36 <li><a·class="reference·internal"·href="#bool"·id="toc-entry-2">bool()</a></li>
37 <li><a·class="reference·internal"·href="#file"·id="toc-entry-3">file()</a></li>37 <li><a·class="reference·internal"·href="#file"·id="toc-entry-3">file()</a></li>
38 </ul>38 </ul>
39 </li>39 </li>
40 <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-4">pcp_category()</a></li>40 <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-4">pcp_category()</a></li>
41 <li><a·class="reference·internal"·href="#gzip-category"·id="toc-entry-5">gzip_category()</a></li> 
42 <li><a·class="reference·internal"·href="#bdecode-category"·id="toc-entry-6">bdecode_category()</a></li>41 <li><a·class="reference·internal"·href="#bdecode-category"·id="toc-entry-5">bdecode_category()</a></li>
43 <li><a·class="reference·internal"·href="#upnp-category"·id="toc-entry-7">upnp_category()</a></li> 
44 <li><a·class="reference·internal"·href="#i2p-category"·id="toc-entry-8">i2p_category()</a></li>42 <li><a·class="reference·internal"·href="#gzip-category"·id="toc-entry-6">gzip_category()</a></li>
45 <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry-9">socks_category()</a></li>43 <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry-7">socks_category()</a></li>
 44 <li><a·class="reference·internal"·href="#upnp-category"·id="toc-entry-8">upnp_category()</a></li>
 45 <li><a·class="reference·internal"·href="#i2p-category"·id="toc-entry-9">i2p_category()</a></li>
46 <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry-10">libtorrent_category()</a></li>46 <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry-10">libtorrent_category()</a></li>
47 <li><a·class="reference·internal"·href="#http-category"·id="toc-entry-11">http_category()</a></li>47 <li><a·class="reference·internal"·href="#http-category"·id="toc-entry-11">http_category()</a></li>
48 <li><a·class="reference·internal"·href="#enum-pcp-errors"·id="toc-entry-12">enum·pcp_errors</a></li>48 <li><a·class="reference·internal"·href="#enum-pcp-errors"·id="toc-entry-12">enum·pcp_errors</a></li>
49 <li><a·class="reference·internal"·href="#enum-error-code-enum"·id="toc-entry-13">enum·error_code_enum</a></li>49 <li><a·class="reference·internal"·href="#enum-error-code-enum"·id="toc-entry-13">enum·error_code_enum</a></li>
50 <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-14">enum·error_code_enum</a></li>50 <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-14">enum·error_code_enum</a></li>
51 <li><a·class="reference·internal"·href="#enum-error-code-enum-2"·id="toc-entry-15">enum·error_code_enum</a></li> 
52 <li><a·class="reference·internal"·href="#enum-i2p-error-code"·id="toc-entry-16">enum·i2p_error_code</a></li> 
53 <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-17">enum·socks_error_code</a></li>51 <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-15">enum·socks_error_code</a></li>
 52 <li><a·class="reference·internal"·href="#enum-error-code-enum-2"·id="toc-entry-16">enum·error_code_enum</a></li>
 53 <li><a·class="reference·internal"·href="#enum-i2p-error-code"·id="toc-entry-17">enum·i2p_error_code</a></li>
54 <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-18">enum·error_code_enum</a></li>54 <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-18">enum·error_code_enum</a></li>
55 <li><a·class="reference·internal"·href="#enum-http-errors"·id="toc-entry-19">enum·http_errors</a></li>55 <li><a·class="reference·internal"·href="#enum-http-errors"·id="toc-entry-19">enum·http_errors</a></li>
56 </ul>56 </ul>
57 </div>57 </div>
58 <a·name="storage_error"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_error&labels=documentation&body=Documentation+under+heading+%22class+storage_error%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="storage-error">58 <a·name="storage_error"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_error&labels=documentation&body=Documentation+under+heading+%22class+storage_error%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="storage-error">
59 <h1>storage_error</h1>59 <h1>storage_error</h1>
60 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>&quot;</p>60 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>&quot;</p>
Offset 102, 29 lines modifiedOffset 102, 37 lines modified
102 </div>102 </div>
103 <div·class="section"·id="pcp-category">103 <div·class="section"·id="pcp-category">
104 <h1>pcp_category()</h1>104 <h1>pcp_category()</h1>
105 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/natpmp.hpp">libtorrent/natpmp.hpp</a>&quot;</p>105 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/natpmp.hpp">libtorrent/natpmp.hpp</a>&quot;</p>
106 <pre·class="literal-block">106 <pre·class="literal-block">
107 boost::system::error_category&amp;·<strong>pcp_category</strong>·();107 boost::system::error_category&amp;·<strong>pcp_category</strong>·();
108 </pre>108 </pre>
 109 <a·name="bdecode_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_category%28%29&labels=documentation&body=Documentation+under+heading+%22bdecode_category%28%29%22+could+be+improved">report·issue</a>]</span></div>
 110 <div·class="section"·id="bdecode-category">
 111 <h1>bdecode_category()</h1>
 112 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>&quot;</p>
 113 <pre·class="literal-block">
 114 boost::system::error_category&amp;·<strong>bdecode_category</strong>·();
 115 </pre>
109 <a·name="gzip_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:gzip_category%28%29&labels=documentation&body=Documentation+under+heading+%22gzip_category%28%29%22+could+be+improved">report·issue</a>]</span></div>116 <a·name="gzip_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:gzip_category%28%29&labels=documentation&body=Documentation+under+heading+%22gzip_category%28%29%22+could+be+improved">report·issue</a>]</span></div>
110 <div·class="section"·id="gzip-category">117 <div·class="section"·id="gzip-category">
111 <h1>gzip_category()</h1>118 <h1>gzip_category()</h1>
112 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/gzip.hpp">libtorrent/gzip.hpp</a>&quot;</p>119 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/gzip.hpp">libtorrent/gzip.hpp</a>&quot;</p>
113 <pre·class="literal-block">120 <pre·class="literal-block">
114 boost::system::error_category&amp;·<strong>gzip_category</strong>·();121 boost::system::error_category&amp;·<strong>gzip_category</strong>·();
115 </pre>122 </pre>
116 <p>get·the·<tt·class="docutils·literal">error_category</tt>·for·zip·errors</p>123 <p>get·the·<tt·class="docutils·literal">error_category</tt>·for·zip·errors</p>
117 <a·name="bdecode_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_category%28%29&labels=documentation&body=Documentation+under+heading+%22bdecode_category%28%29%22+could+be+improved">report·issue</a>]</span></div>124 <a·name="socks_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:socks_category%28%29&labels=documentation&body=Documentation+under+heading+%22socks_category%28%29%22+could+be+improved">report·issue</a>]</span></div>
118 <div·class="section"·id="bdecode-category">125 <div·class="section"·id="socks-category">
119 <h1>bdecode_category()</h1>126 <h1>socks_category()</h1>
120 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>&quot;</p>127 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/socks5_stream.hpp">libtorrent/socks5_stream.hpp</a>&quot;</p>
121 <pre·class="literal-block">128 <pre·class="literal-block">
122 boost::system::error_category&amp;·<strong>bdecode_category</strong>·();129 boost::system::error_category&amp;·<strong>socks_category</strong>·();
123 </pre>130 </pre>
 131 <p>returns·the·error_category·for·SOCKS5·errors</p>
124 <a·name="upnp_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:upnp_category%28%29&labels=documentation&body=Documentation+under+heading+%22upnp_category%28%29%22+could+be+improved">report·issue</a>]</span></div>132 <a·name="upnp_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:upnp_category%28%29&labels=documentation&body=Documentation+under+heading+%22upnp_category%28%29%22+could+be+improved">report·issue</a>]</span></div>
125 <div·class="section"·id="upnp-category">133 <div·class="section"·id="upnp-category">
126 <h1>upnp_category()</h1>134 <h1>upnp_category()</h1>
127 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/upnp.hpp">libtorrent/upnp.hpp</a>&quot;</p>135 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/upnp.hpp">libtorrent/upnp.hpp</a>&quot;</p>
128 <pre·class="literal-block">136 <pre·class="literal-block">
129 boost::system::error_category&amp;·<strong>upnp_category</strong>·();137 boost::system::error_category&amp;·<strong>upnp_category</strong>·();
130 </pre>138 </pre>
Offset 133, 22 lines modifiedOffset 141, 14 lines modified
133 <div·class="section"·id="i2p-category">141 <div·class="section"·id="i2p-category">
134 <h1>i2p_category()</h1>142 <h1>i2p_category()</h1>
135 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/i2p_stream.hpp">libtorrent/i2p_stream.hpp</a>&quot;</p>143 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/i2p_stream.hpp">libtorrent/i2p_stream.hpp</a>&quot;</p>
136 <pre·class="literal-block">144 <pre·class="literal-block">
137 boost::system::error_category&amp;·<strong>i2p_category</strong>·();145 boost::system::error_category&amp;·<strong>i2p_category</strong>·();
138 </pre>146 </pre>
139 <p>returns·the·error·category·for·I2P·errors</p>147 <p>returns·the·error·category·for·I2P·errors</p>
140 <a·name="socks_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:socks_category%28%29&labels=documentation&body=Documentation+under+heading+%22socks_category%28%29%22+could+be+improved">report·issue</a>]</span></div> 
141 <div·class="section"·id="socks-category"> 
142 <h1>socks_category()</h1> 
143 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/socks5_stream.hpp">libtorrent/socks5_stream.hpp</a>&quot;</p> 
144 <pre·class="literal-block"> 
145 boost::system::error_category&amp;·<strong>socks_category</strong>·(); 
146 </pre> 
147 <p>returns·the·error_category·for·SOCKS5·errors</p> 
148 <a·name="libtorrent_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:libtorrent_category%28%29&labels=documentation&body=Documentation+under+heading+%22libtorrent_category%28%29%22+could+be+improved">report·issue</a>]</span></div>148 <a·name="libtorrent_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:libtorrent_category%28%29&labels=documentation&body=Documentation+under+heading+%22libtorrent_category%28%29%22+could+be+improved">report·issue</a>]</span></div>
149 <div·class="section"·id="libtorrent-category">149 <div·class="section"·id="libtorrent-category">
150 <h1>libtorrent_category()</h1>150 <h1>libtorrent_category()</h1>
151 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>&quot;</p>151 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>&quot;</p>
152 <pre·class="literal-block">152 <pre·class="literal-block">
153 boost::system::error_category&amp;·<strong>libtorrent_category</strong>·();153 boost::system::error_category&amp;·<strong>libtorrent_category</strong>·();
154 </pre>154 </pre>
Offset 236, 14 lines modifiedOffset 236, 69 lines modified
236 <td>&nbsp;</td>236 <td>&nbsp;</td>
237 </tr>237 </tr>
238 </tbody>238 </tbody>
239 </table>239 </table>
240 <a·name="error_code_enum"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+error_code_enum&labels=documentation&body=Documentation+under+heading+%22enum+error_code_enum%22+could+be+improved">report·issue</a>]</span></div>240 <a·name="error_code_enum"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+error_code_enum&labels=documentation&body=Documentation+under+heading+%22enum+error_code_enum%22+could+be+improved">report·issue</a>]</span></div>
241 <div·class="section"·id="enum-error-code-enum">241 <div·class="section"·id="enum-error-code-enum">
242 <h1>enum·error_code_enum</h1>242 <h1>enum·error_code_enum</h1>
 243 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>&quot;</p>
 244 <table·border="1"·class="docutils">
 245 <colgroup>
 246 <col·width="18%"·/>
 247 <col·width="8%"·/>
 248 <col·width="74%"·/>
 249 </colgroup>
 250 <thead·valign="bottom">
 251 <tr><th·class="head">name</th>
 252 <th·class="head">value</th>
 253 <th·class="head">description</th>
 254 </tr>
 255 </thead>
 256 <tbody·valign="top">
 257 <tr><td>no_error</td>
 258 <td>0</td>
 259 <td>Not·an·error</td>
 260 </tr>
 261 <tr><td>expected_digit</td>
 262 <td>1</td>
 263 <td>expected·digit·in·bencoded·string</td>
 264 </tr>
 265 <tr><td>expected_colon</td>
 266 <td>2</td>
 267 <td>expected·colon·in·bencoded·string</td>
 268 </tr>
 269 <tr><td>unexpected_eof</td>
Max diff block lines reached; 5779/16331 bytes (35.39%) of diff not shown.
20.9 KB
html2text {}
    
Offset 3, 27 lines modifiedOffset 3, 27 lines modified
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r6 ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r
7 ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8)7 ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8)
8 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8(_\x8)8 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
9 ····*·_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)9 ····*·_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
10 ····*·_\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) 
11 ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)10 ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
 11 ····*·_\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
 12 ····*·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
12 ····*·_\x8u_\x8p_\x8n_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)13 ····*·_\x8u_\x8p_\x8n_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
13 ····*·_\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)14 ····*·_\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
14 ····*·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) 
15 ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)15 ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
16 ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)16 ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
17 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s17 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s
18 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m18 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m
19 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m19 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m
 20 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e
20 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m21 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m
21 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e22 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e
22 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e 
23 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m23 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m
24 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s24 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s
25 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]25 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
26 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_e\x8er\x8rr\x8ro\x8or\x8r·*\x8**\x8**\x8**\x8**\x8**\x8*26 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_e\x8er\x8rr\x8ro\x8or\x8r·*\x8**\x8**\x8**\x8**\x8**\x8*
27 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p"27 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p"
28 used·by·storage·to·return·errors·also·includes·which·underlying·file·the·error28 used·by·storage·to·return·errors·also·includes·which·underlying·file·the·error
29 happened·on29 happened·on
Offset 54, 38 lines modifiedOffset 54, 38 lines modified
54 ··operation54 ··operation
55 ······A·code·from·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t·enum,·indicating·what·kind·of·operation·failed.55 ······A·code·from·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8t·enum,·indicating·what·kind·of·operation·failed.
56 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]56 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
57 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*57 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
58 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8n_\x8a_\x8t_\x8p_\x8m_\x8p_\x8._\x8h_\x8p_\x8p"58 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8n_\x8a_\x8t_\x8p_\x8m_\x8p_\x8._\x8h_\x8p_\x8p"
59 boost::system::error_category&·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();59 boost::system::error_category&·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
60 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]60 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 61 *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
 62 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p"
 63 boost::system::error_category&·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
 64 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
61 *\x8**\x8**\x8**\x8**\x8**\x8*·g\x8gz\x8zi\x8ip\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*65 *\x8**\x8**\x8**\x8**\x8**\x8*·g\x8gz\x8zi\x8ip\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
62 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_\x8z_\x8i_\x8p_\x8._\x8h_\x8p_\x8p"66 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_\x8z_\x8i_\x8p_\x8._\x8h_\x8p_\x8p"
63 boost::system::error_category&·g\x8gz\x8zi\x8ip\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();67 boost::system::error_category&·g\x8gz\x8zi\x8ip\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
64 get·the·error_category·for·zip·errors68 get·the·error_category·for·zip·errors
65 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]69 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
66 *\x8**\x8**\x8**\x8**\x8**\x8*·b.bd.de.ec.co.od.de.e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*70 *\x8**\x8**\x8**\x8**\x8**\x8*·s.so.oc.ck.ks.s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
67 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_.d_.e_.c_.o_.d_.e_\x8._\x8h_\x8p_\x8p"71 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_.o_.c_.k_.s_.5_.__.s_.t_.r_.e_.a_.m_\x8._\x8h_\x8p_\x8p"
68 boost::system::error_category&·b.bd.de.ec.co.od.de.e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();72 boost::system::error_category&·s.so.oc.ck.ks.s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
 73 returns·the·error_category·for·SOCKS5·errors
69 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]74 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
70 *\x8**\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pn\x8np\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*75 *\x8**\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pn\x8np\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
71 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8u_\x8p_\x8n_\x8p_\x8._\x8h_\x8p_\x8p"76 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8u_\x8p_\x8n_\x8p_\x8._\x8h_\x8p_\x8p"
72 boost::system::error_category&·u\x8up\x8pn\x8np\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();77 boost::system::error_category&·u\x8up\x8pn\x8np\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
73 the·boost.system·error·category·for·UPnP·errors78 the·boost.system·error·category·for·UPnP·errors
74 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]79 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
75 *\x8**\x8**\x8**\x8**\x8**\x8*·i\x8i2\x82p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*80 *\x8**\x8**\x8**\x8**\x8**\x8*·i\x8i2\x82p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
76 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x82_\x8p_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8._\x8h_\x8p_\x8p"81 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x82_\x8p_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8._\x8h_\x8p_\x8p"
77 boost::system::error_category&·i\x8i2\x82p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();82 boost::system::error_category&·i\x8i2\x82p\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
78 returns·the·error·category·for·I2P·errors83 returns·the·error·category·for·I2P·errors
79 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]84 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
80 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* 
81 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8o_\x8c_\x8k_\x8s_\x85_\x8__\x8s_\x8t_\x8r_\x8e_\x8a_\x8m_\x8._\x8h_\x8p_\x8p" 
82 boost::system::error_category&·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); 
83 returns·the·error_category·for·SOCKS5·errors 
84 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
85 *\x8**\x8**\x8**\x8**\x8**\x8*·l\x8li\x8ib\x8bt\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*85 *\x8**\x8**\x8**\x8**\x8**\x8*·l\x8li\x8ib\x8bt\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
86 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p"86 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p"
87 boost::system::error_category&·l\x8li\x8ib\x8bt\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();87 boost::system::error_category&·l\x8li\x8ib\x8bt\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
88 return·the·instance·of·the·libtorrent_error_category·which·maps·libtorrent88 return·the·instance·of·the·libtorrent_error_category·which·maps·libtorrent
89 error·codes·to·human·readable·error·messages.89 error·codes·to·human·readable·error·messages.
90 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]90 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
91 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*91 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
Offset 109, 14 lines modifiedOffset 109, 29 lines modified
109 |_\x8p_\x8c_\x8p_\x8__\x8u_\x8n_\x8s_\x8u_\x8p_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x89_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|109 |_\x8p_\x8c_\x8p_\x8__\x8u_\x8n_\x8s_\x8u_\x8p_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x89_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
110 |_\x8p_\x8c_\x8p_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8x_\x8__\x8q_\x8u_\x8o_\x8t_\x8a_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x80_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|110 |_\x8p_\x8c_\x8p_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8e_\x8x_\x8__\x8q_\x8u_\x8o_\x8t_\x8a_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x80_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
111 |_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8n_\x8n_\x8o_\x8t_\x8__\x8p_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8__\x8e_\x8x_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8|_\x81_\x81_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|111 |_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8n_\x8n_\x8o_\x8t_\x8__\x8p_\x8r_\x8o_\x8v_\x8i_\x8d_\x8e_\x8__\x8e_\x8x_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8|_\x81_\x81_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
112 |_\x8p_\x8c_\x8p_\x8__\x8a_\x8d_\x8d_\x8r_\x8e_\x8s_\x8s_\x8__\x8m_\x8i_\x8s_\x8m_\x8a_\x8t_\x8c_\x8h_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x82_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|112 |_\x8p_\x8c_\x8p_\x8__\x8a_\x8d_\x8d_\x8r_\x8e_\x8s_\x8s_\x8__\x8m_\x8i_\x8s_\x8m_\x8a_\x8t_\x8c_\x8h_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x82_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
113 |_\x8p_\x8c_\x8p_\x8__\x8e_\x8x_\x8c_\x8e_\x8s_\x8s_\x8i_\x8v_\x8e_\x8__\x8r_\x8e_\x8m_\x8o_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8·_\x8|_\x81_\x83_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|113 |_\x8p_\x8c_\x8p_\x8__\x8e_\x8x_\x8c_\x8e_\x8s_\x8s_\x8i_\x8v_\x8e_\x8__\x8r_\x8e_\x8m_\x8o_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8·_\x8|_\x81_\x83_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
114 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]114 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
115 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·e\x8er\x8rr\x8ro\x8or\x8r_\x8_c\x8co\x8od\x8de\x8e_\x8_e\x8en\x8nu\x8um\x8m·*\x8**\x8**\x8**\x8**\x8**\x8*115 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·e\x8er\x8rr\x8ro\x8or\x8r_\x8_c\x8co\x8od\x8de\x8e_\x8_e\x8en\x8nu\x8um\x8m·*\x8**\x8**\x8**\x8**\x8**\x8*
 116 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p"
 117 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·
 118 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8v\x8v_\x8a\x8a_\x8l\x8l_\x8u\x8u_\x8e\x8e_\x8|_\x8d\x8d_\x8e\x8e_\x8s\x8s_\x8c\x8c_\x8r\x8r_\x8i\x8i_\x8p\x8p_\x8t\x8t_\x8i\x8i_\x8o\x8o_\x8n\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 119 |_\x8n_\x8o_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x80_\x8·_\x8·_\x8·_\x8·_\x8|_\x8N_\x8o_\x8t_\x8·_\x8a_\x8n_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 120 |_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8__\x8d_\x8i_\x8g_\x8i_\x8t_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8·_\x8d_\x8i_\x8g_\x8i_\x8t_\x8·_\x8i_\x8n_\x8·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 121 |_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8__\x8c_\x8o_\x8l_\x8o_\x8n_\x8|_\x82_\x8·_\x8·_\x8·_\x8·_\x8|_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8·_\x8c_\x8o_\x8l_\x8o_\x8n_\x8·_\x8i_\x8n_\x8·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 122 |_\x8u_\x8n_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8__\x8e_\x8o_\x8f_\x8|_\x83_\x8·_\x8·_\x8·_\x8·_\x8|_\x8u_\x8n_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8·_\x8e_\x8n_\x8d_\x8·_\x8o_\x8f_\x8·_\x8f_\x8i_\x8l_\x8e_\x8·_\x8i_\x8n_\x8·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 123 |expected_value|4····|expected·value·(list,·dict,·_\x8i_\x8n_\x8t·or·string)·in·bencoded|
 124 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 125 |_\x8d_\x8e_\x8p_\x8t_\x8h_\x8__\x8e_\x8x_\x8c_\x8e_\x8e_\x8d_\x8e_\x8d_\x8|_\x85_\x8·_\x8·_\x8·_\x8·_\x8|_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8r_\x8e_\x8c_\x8u_\x8r_\x8s_\x8i_\x8o_\x8n_\x8·_\x8d_\x8e_\x8p_\x8t_\x8h_\x8·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8·_\x8e_\x8x_\x8c_\x8e_\x8e_\x8d_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 126 |_\x8l_\x8i_\x8m_\x8i_\x8t_\x8__\x8e_\x8x_\x8c_\x8e_\x8e_\x8d_\x8e_\x8d_\x8|_\x86_\x8·_\x8·_\x8·_\x8·_\x8|_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8i_\x8t_\x8e_\x8m_\x8·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8·_\x8e_\x8x_\x8c_\x8e_\x8e_\x8d_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 127 |_\x8o_\x8v_\x8e_\x8r_\x8f_\x8l_\x8o_\x8w_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x87_\x8·_\x8·_\x8·_\x8·_\x8|_\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8·_\x8o_\x8v_\x8e_\x8r_\x8f_\x8l_\x8o_\x8w_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 128 |_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8m_\x8a_\x8x_\x8|_\x88_\x8·_\x8·_\x8·_\x8·_\x8|_\x8t_\x8h_\x8e_\x8·_\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8·_\x8o_\x8f_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8c_\x8o_\x8d_\x8e_\x8s_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 129 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 130 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·e\x8er\x8rr\x8ro\x8or\x8r_\x8_c\x8co\x8od\x8de\x8e_\x8_e\x8en\x8nu\x8um\x8m·*\x8**\x8**\x8**\x8**\x8**\x8*
116 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_\x8z_\x8i_\x8p_\x8._\x8h_\x8p_\x8p"131 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_\x8z_\x8i_\x8p_\x8._\x8h_\x8p_\x8p"
117 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·132 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·
118 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8v\x8v_\x8a\x8a_\x8l\x8l_\x8u\x8u_\x8e\x8e_\x8|_\x8d\x8d_\x8e\x8e_\x8s\x8s_\x8c\x8c_\x8r\x8r_\x8i\x8i_\x8p\x8p_\x8t\x8t_\x8i\x8i_\x8o\x8o_\x8n\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|133 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8v\x8v_\x8a\x8a_\x8l\x8l_\x8u\x8u_\x8e\x8e_\x8|_\x8d\x8d_\x8e\x8e_\x8s\x8s_\x8c\x8c_\x8r\x8r_\x8i\x8i_\x8p\x8p_\x8t\x8t_\x8i\x8i_\x8o\x8o_\x8n\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
119 |_\x8n_\x8o_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x80_\x8·_\x8·_\x8·_\x8·_\x8|_\x8N_\x8o_\x8t_\x8·_\x8a_\x8n_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|134 |_\x8n_\x8o_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x80_\x8·_\x8·_\x8·_\x8·_\x8|_\x8N_\x8o_\x8t_\x8·_\x8a_\x8n_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
120 |invalid_gzip_header················|1····|the·supplied·gzip·buffer·has·······|135 |invalid_gzip_header················|1····|the·supplied·gzip·buffer·has·······|
121 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8i_\x8n_\x8v_\x8a_\x8l_\x8i_\x8d_\x8·_\x8h_\x8e_\x8a_\x8d_\x8e_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|136 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8i_\x8n_\x8v_\x8a_\x8l_\x8i_\x8d_\x8·_\x8h_\x8e_\x8a_\x8d_\x8e_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
122 |···································|·····|the·gzip·buffer·would·inflate·to···|137 |···································|·····|the·gzip·buffer·would·inflate·to···|
Offset 145, 28 lines modifiedOffset 160, 29 lines modified
145 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8c_\x8o_\x8d_\x8e_\x8·_\x8i_\x8n_\x8·_\x8f_\x8i_\x8x_\x8e_\x8d_\x8·_\x8o_\x8r_\x8·_\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8·_\x8·_\x8·_\x8·_\x8·|160 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8c_\x8o_\x8d_\x8e_\x8·_\x8i_\x8n_\x8·_\x8f_\x8i_\x8x_\x8e_\x8d_\x8·_\x8o_\x8r_\x8·_\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8·_\x8·_\x8·_\x8·_\x8·|
146 |distance_too_far_back_in_block·····|14···|distance·is·too·far·back·in·fixed··|161 |distance_too_far_back_in_block·····|14···|distance·is·too·far·back·in·fixed··|
147 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8o_\x8r_\x8·_\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|162 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8o_\x8r_\x8·_\x8d_\x8y_\x8n_\x8a_\x8m_\x8i_\x8c_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
148 |unknown_gzip_error·················|15···|an·unknown·error·occurred·during···|163 |unknown_gzip_error·················|15···|an·unknown·error·occurred·during···|
149 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8g_\x8z_\x8i_\x8p_\x8·_\x8i_\x8n_\x8f_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|164 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8g_\x8z_\x8i_\x8p_\x8·_\x8i_\x8n_\x8f_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
150 |_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8m_\x8a_\x8x_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x86_\x8·_\x8·_\x8·_\x8|_\x8t_\x8h_\x8e_\x8·_\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8·_\x8o_\x8f_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8c_\x8o_\x8d_\x8e_\x8s_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|165 |_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8m_\x8a_\x8x_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x86_\x8·_\x8·_\x8·_\x8|_\x8t_\x8h_\x8e_\x8·_\x8n_\x8u_\x8m_\x8b_\x8e_\x8r_\x8·_\x8o_\x8f_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8c_\x8o_\x8d_\x8e_\x8s_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
151 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]166 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
152 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·e.er.rr.ro.or.r_._c.co.od.de.e_._e.en.nu.um.m·*\x8**\x8**\x8**\x8**\x8**\x8*167 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·s.so.oc.ck.ks.s_._e.er.rr.ro.or.r_._c.co.od.de.e·*\x8**\x8**\x8**\x8**\x8**\x8*
153 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_.d_.e_.c_.o_.d_.e_\x8._\x8h_\x8p_\x8p"168 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_.o_.c_.k_.s_.5_.__.s_.t_.r_.e_.a_.m_\x8._\x8h_\x8p_\x8p"
154 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·169 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·
155 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_.v.v_.a.a_.l.l_.u.u_.e.e_.|_.d.d_.e.e_.s.s_.c.c_.r.r_.i.i_.p.p_.t.t_.i.i_.o.o_.n.n_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·|170 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.|_.v.v_.a.a_.l.l_.u.u_.e.e_.|_.d.d_.e.e_.s.s_.c.c_.r.r_.i.i_.p.p_.t.t_.i.i_.o.o_.n.n|
156 |_\x8n_\x8o_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_.0_.·_.·_.·_.·_.|_.N_.o_.t_.·_.a_.n_.·_.e_.r_.r_.o_.r_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|171 |_\x8n_\x8o_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.|_.0_.·_.·_.·_.·_.|_. _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
157 |_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8__\x8d_\x8i_\x8g_\x8i_\x8t_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8·_\x8d_\x8i_\x8g_\x8i_\x8t_\x8·_\x8i_\x8n_\x8·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
158 |_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8__\x8c_\x8o_\x8l_\x8o_\x8n_\x8|_\x82_\x8·_\x8·_\x8·_\x8·_\x8|_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8·_\x8c_\x8o_\x8l_\x8o_\x8n_\x8·_\x8i_\x8n_\x8·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
159 |_\x8u_\x8n_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8__\x8e_\x8o_\x8f_\x8|_\x83_\x8·_\x8·_\x8·_\x8·_\x8|_\x8u_\x8n_\x8e_\x8x_\x8p_\x8e_\x8c_\x8t_\x8e_\x8d_\x8·_\x8e_\x8n_\x8d_\x8·_\x8o_\x8f_\x8·_\x8f_\x8i_\x8l_\x8e_\x8·_\x8i_\x8n_\x8·_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
160 |expected_value|4····|expected·value·(list,·dict,·_\x8i_\x8n_\x8t·or·string)·in·bencoded| 
161 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
162 |_\x8d_\x8e_\x8p_\x8t_\x8h_\x8__\x8e_\x8x_\x8c_\x8e_\x8e_\x8d_\x8e_\x8d_\x8|_\x85_\x8·_\x8·_\x8·_\x8·_\x8|_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8r_\x8e_\x8c_\x8u_\x8r_\x8s_\x8i_\x8o_\x8n_\x8·_\x8d_\x8e_\x8p_\x8t_\x8h_\x8·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8·_\x8e_\x8x_\x8c_\x8e_\x8e_\x8d_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
163 |_\x8l_\x8i_\x8m_\x8i_\x8t_\x8__\x8e_\x8x_\x8c_\x8e_\x8e_\x8d_\x8e_\x8d_\x8|_\x86_\x8·_\x8·_\x8·_\x8·_\x8|_\x8b_\x8e_\x8n_\x8c_\x8o_\x8d_\x8e_\x8d_\x8·_\x8i_\x8t_\x8e_\x8m_\x8·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8·_\x8l_\x8i_\x8m_\x8i_\x8t_\x8·_\x8e_\x8x_\x8c_\x8e_\x8e_\x8d_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
164 |_\x8o_\x8v_\x8e_\x8r_\x8f_\x8l_\x8o_\x8w_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x87_\x8·_\x8·_\x8·_\x8·_\x8|_\x8i_\x8n_\x8t_\x8e_\x8g_\x8e_\x8r_\x8·_\x8o_\x8v_\x8e_\x8r_\x8f_\x8l_\x8o_\x8w_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
165 |_\x8e_.r_.r_.o_.r_.__.c_.o_.d_.e_.__.m_.a_.x_.|_.8_.·_.·_.·_.·_.|_.t_.h_.e_.·_.n_.u_.m_.b_.e_.r_.·_.o_.f_.·_.e_.r_.r_.o_.r_.·_.c_.o_.d_.e_.s_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|172 |_\x8u_.n_.s_.u_.p_.p_.o_.r_.t_.e_.d_.__.v_.e_.r_.s_.i_.o_.n_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.|_.1_.·_.·_.·_.·_.|_. _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 173 |_\x8u_\x8n_\x8s_\x8u_\x8p_\x8p_\x8o_\x8r_\x8t_\x8e_\x8d_\x8__\x8a_\x8u_\x8t_\x8h_\x8e_\x8n_\x8t_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8m_\x8e_\x8t_\x8h_\x8o_\x8d_\x8·_\x8|_\x82_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
Max diff block lines reached; 5285/21424 bytes (24.67%) of diff not shown.
4.45 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Filter.html
Ordering differences only
    
Offset 56, 20 lines modifiedOffset 56, 20 lines modified
56 a·single·rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for56 a·single·rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for
57 the·IPv4·range,·and·the·equivalent·range·covering·all·addresses·for·the57 the·IPv4·range,·and·the·equivalent·range·covering·all·addresses·for·the
58 IPv6·range).</p>58 IPv6·range).</p>
59 <p>A·default·constructed·<a·class="reference·external"·href="reference-Filter.html#ip_filter">ip_filter</a>·does·not·filter·any·address.</p>59 <p>A·default·constructed·<a·class="reference·external"·href="reference-Filter.html#ip_filter">ip_filter</a>·does·not·filter·any·address.</p>
60 <pre·class="literal-block">60 <pre·class="literal-block">
61 struct·ip_filter61 struct·ip_filter
62 {62 {
 63 ···<strong>ip_filter</strong>·();
63 ···<strong>ip_filter</strong>·(ip_filter&amp;&amp;);64 ···<strong>ip_filter</strong>·(ip_filter&amp;&amp;);
64 ···ip_filter&amp;·<strong>operator=</strong>·(ip_filter·const&amp;);65 ···ip_filter&amp;·<strong>operator=</strong>·(ip_filter·const&amp;);
65 ···ip_filter&amp;·<strong>operator=</strong>·(ip_filter&amp;&amp;);66 ···ip_filter&amp;·<strong>operator=</strong>·(ip_filter&amp;&amp;);
66 ···<strong>ip_filter</strong>·(ip_filter·const&amp;); 
67 ···<strong>ip_filter</strong>·(); 
68 ···<strong>~ip_filter</strong>·();67 ···<strong>~ip_filter</strong>·();
 68 ···<strong>ip_filter</strong>·(ip_filter·const&amp;);
69 ···bool·<strong>empty</strong>·()·const;69 ···bool·<strong>empty</strong>·()·const;
70 ···void·<strong>add_rule</strong>·(address·const&amp;·first,·address·const&amp;·last,·std::uint32_t·flags);70 ···void·<strong>add_rule</strong>·(address·const&amp;·first,·address·const&amp;·last,·std::uint32_t·flags);
71 ···std::uint32_t·<strong>access</strong>·(address·const&amp;·addr)·const;71 ···std::uint32_t·<strong>access</strong>·(address·const&amp;·addr)·const;
72 ···filter_tuple_t·<strong>export_filter</strong>·()·const;72 ···filter_tuple_t·<strong>export_filter</strong>·()·const;
  
73 ···enum·access_flags73 ···enum·access_flags
74 ···{74 ···{
Offset 153, 19 lines modifiedOffset 153, 19 lines modified
153 <p>the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This153 <p>the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This
154 is·primarily·used·to·indicate·whether·a·range·of·ports·should154 is·primarily·used·to·indicate·whether·a·range·of·ports·should
155 be·connected·to·or·not.·The·default·is·to·have·the·full·port155 be·connected·to·or·not.·The·default·is·to·have·the·full·port
156 range·(0-65535)·set·to·flag·0.</p>156 range·(0-65535)·set·to·flag·0.</p>
157 <pre·class="literal-block">157 <pre·class="literal-block">
158 class·port_filter158 class·port_filter
159 {159 {
160 ···<strong>port_filter</strong>·(port_filter&amp;&amp;); 
161 ···<strong>port_filter</strong>·(port_filter·const&amp;); 
162 ···port_filter&amp;·<strong>operator=</strong>·(port_filter·const&amp;);160 ···port_filter&amp;·<strong>operator=</strong>·(port_filter·const&amp;);
163 ···port_filter&amp;·<strong>operator=</strong>·(port_filter&amp;&amp;);161 ···<strong>port_filter</strong>·(port_filter·const&amp;);
164 ···<strong>~port_filter</strong>·();162 ···<strong>~port_filter</strong>·();
 163 ···port_filter&amp;·<strong>operator=</strong>·(port_filter&amp;&amp;);
 164 ···<strong>port_filter</strong>·(port_filter&amp;&amp;);
165 ···<strong>port_filter</strong>·();165 ···<strong>port_filter</strong>·();
166 ···void·<strong>add_rule</strong>·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t·flags);166 ···void·<strong>add_rule</strong>·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t·flags);
167 ···std::uint32_t·<strong>access</strong>·(std::uint16_t·port)·const;167 ···std::uint32_t·<strong>access</strong>·(std::uint16_t·port)·const;
  
168 ···enum·access_flags168 ···enum·access_flags
169 ···{169 ···{
170 ······blocked,170 ······blocked,
2.2 KB
html2text {}
    
Offset 19, 20 lines modifiedOffset 19, 20 lines modified
19 The·ip_filter·class·is·a·set·of·rules·that·uniquely·categorizes·all·ip19 The·ip_filter·class·is·a·set·of·rules·that·uniquely·categorizes·all·ip
20 addresses·as·allowed·or·disallowed.·The·default·constructor·creates·a·single20 addresses·as·allowed·or·disallowed.·The·default·constructor·creates·a·single
21 rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for·the·IPv4·range,21 rule·that·allows·all·addresses·(0.0.0.0·-·255.255.255.255·for·the·IPv4·range,
22 and·the·equivalent·range·covering·all·addresses·for·the·IPv6·range).22 and·the·equivalent·range·covering·all·addresses·for·the·IPv6·range).
23 A·default·constructed·_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r·does·not·filter·any·address.23 A·default·constructed·_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r·does·not·filter·any·address.
24 struct·ip_filter24 struct·ip_filter
25 {25 {
 26 ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();
26 ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&);27 ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter&&);
27 ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&);28 ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&);
28 ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter&&);29 ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter&&);
29 ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter·const&); 
30 ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(); 
31 ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();30 ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();
 31 ···i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(ip_filter·const&);
32 ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const;32 ···bool·e\x8em\x8mp\x8pt\x8ty\x8y·()·const;
33 ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(address·const&·first,·address·const&·last,·std::uint32_t33 ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(address·const&·first,·address·const&·last,·std::uint32_t
34 flags);34 flags);
35 ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(address·const&·addr)·const;35 ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(address·const&·addr)·const;
36 ···filter_tuple_t·e\x8ex\x8xp\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·()·const;36 ···filter_tuple_t·e\x8ex\x8xp\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·()·const;
  
37 ···enum·access_flags37 ···enum·access_flags
Offset 81, 19 lines modifiedOffset 81, 19 lines modified
81 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8*81 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8*
82 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p"82 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p"
83 the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This·is·primarily83 the·port·filter·maps·non-overlapping·port·ranges·to·flags.·This·is·primarily
84 used·to·indicate·whether·a·range·of·ports·should·be·connected·to·or·not.·The84 used·to·indicate·whether·a·range·of·ports·should·be·connected·to·or·not.·The
85 default·is·to·have·the·full·port·range·(0-65535)·set·to·flag·0.85 default·is·to·have·the·full·port·range·(0-65535)·set·to·flag·0.
86 class·port_filter86 class·port_filter
87 {87 {
88 ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter&&); 
89 ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter·const&); 
90 ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&);88 ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&);
91 ···port_filter&·o.op.pe.er.ra.at.to.or.r=.=·(port_filter&&);89 ···p.po.or.rt.t_._f.fi.il.lt.te.er.r·(port_filter·const&);
92 ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();90 ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();
 91 ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter&&);
 92 ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter&&);
93 ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();93 ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();
94 ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t94 ···void·a\x8ad\x8dd\x8d_\x8_r\x8ru\x8ul\x8le\x8e·(std::uint16_t·first,·std::uint16_t·last,·std::uint32_t
95 flags);95 flags);
96 ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(std::uint16_t·port)·const;96 ···std::uint32_t·a\x8ac\x8cc\x8ce\x8es\x8ss\x8s·(std::uint16_t·port)·const;
  
97 ···enum·access_flags97 ···enum·access_flags
98 ···{98 ···{
21.1 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-PeerClass.html
    
Offset 28, 82 lines modifiedOffset 28, 25 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#peer-class-info"·id="toc-entry-1">peer_class_info</a></li> 
36 <li><a·class="reference·internal"·href="#peer-class-type-filter"·id="toc-entry-2">peer_class_type_filter</a><ul>35 <li><a·class="reference·internal"·href="#peer-class-type-filter"·id="toc-entry-1">peer_class_type_filter</a><ul>
37 <li><a·class="reference·internal"·href="#add-remove"·id="toc-entry-3">add()·remove()</a></li>36 <li><a·class="reference·internal"·href="#remove-add"·id="toc-entry-2">remove()·add()</a></li>
38 <li><a·class="reference·internal"·href="#disallow-allow"·id="toc-entry-4">disallow()·allow()</a></li>37 <li><a·class="reference·internal"·href="#disallow-allow"·id="toc-entry-3">disallow()·allow()</a></li>
39 <li><a·class="reference·internal"·href="#apply"·id="toc-entry-5">apply()</a></li>38 <li><a·class="reference·internal"·href="#apply"·id="toc-entry-4">apply()</a></li>
40 <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-6">enum·socket_type_t</a></li>39 <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-5">enum·socket_type_t</a></li>
41 </ul>40 </ul>
42 </li>41 </li>
 42 <li><a·class="reference·internal"·href="#peer-class-info"·id="toc-entry-6">peer_class_info</a></li>
43 </ul>43 </ul>
44 </div>44 </div>
45 <a·name="peer_class_info"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_class_info&labels=documentation&body=Documentation+under+heading+%22class+peer_class_info%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="peer-class-info"> 
46 <h1>peer_class_info</h1> 
47 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/peer_class.hpp">libtorrent/peer_class.hpp</a>&quot;</p> 
48 <p>holds·settings·for·a·peer·class.·Used·in·<a·class="reference·external"·href="reference-Session.html#set_peer_class()">set_peer_class()</a>·and 
49 <a·class="reference·external"·href="reference-Session.html#get_peer_class()">get_peer_class()</a>·calls.</p> 
50 <pre·class="literal-block"> 
51 struct·peer_class_info 
52 { 
53 ···bool·ignore_unchoke_slots; 
54 ···int·connection_limit_factor; 
55 ···std::string·label; 
56 ···int·upload_limit; 
57 ···int·download_limit; 
58 ···int·upload_priority; 
59 ···int·download_priority; 
60 }; 
61 </pre> 
62 <a·name="ignore_unchoke_slots"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Bignore_unchoke_slots%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Bignore_unchoke_slots%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
63 <dt>ignore_unchoke_slots</dt> 
64 <dd><tt·class="docutils·literal">ignore_unchoke_slots</tt>·determines·whether·peers·should·always 
65 unchoke·a·peer,·regardless·of·the·choking·algorithm,·or·if·it·should 
66 honor·the·unchoke·slot·limits.·It's·used·for·local·peers·by·default. 
67 If·<em>any</em>·of·the·peer·classes·a·peer·belongs·to·has·this·set·to·true, 
68 that·peer·will·be·unchoked·at·all·times.</dd> 
69 </dl> 
70 <a·name="connection_limit_factor"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Bconnection_limit_factor%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Bconnection_limit_factor%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
71 <dt>connection_limit_factor</dt> 
72 <dd>adjusts·the·connection·limit·(global·and·per·torrent)·that·applies·to 
73 this·peer·class.·By·default,·local·peers·are·allowed·to·exceed·the 
74 normal·connection·limit·for·instance.·This·is·specified·as·a·percent 
75 factor.·100·makes·the·peer·class·apply·normally·to·the·limit.·200 
76 means·as·long·as·there·are·fewer·connections·than·twice·the·limit,·we 
77 accept·this·peer.·This·factor·applies·both·to·the·global·connection 
78 limit·and·the·per-torrent·limit.·Note·that·if·not·used·carefully·one 
79 peer·class·can·potentially·completely·starve·out·all·other·over·time.</dd> 
80 </dl> 
81 <a·name="label"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Blabel%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Blabel%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
82 <dt>label</dt> 
83 <dd>not·used·by·libtorrent.·It's·intended·as·a·potentially·user-facing 
84 identifier·of·this·peer·class.</dd> 
85 </dl> 
86 <a·name="upload_limit"></a> 
87 <a·name="download_limit"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Bupload_limit+download_limit%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Bupload_limit+download_limit%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
88 <dt>upload_limit·download_limit</dt> 
89 <dd>transfer·rates·limits·for·the·whole·peer·class.·They·are·specified·in 
90 bytes·per·second·and·apply·to·the·sum·of·all·peers·that·are·members·of 
91 this·class.</dd> 
92 </dl> 
93 <a·name="upload_priority"></a> 
94 <a·name="download_priority"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_info%3A%3A%5Bupload_priority+download_priority%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_info%3A%3A%5Bupload_priority+download_priority%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
95 <dt>upload_priority·download_priority</dt> 
96 <dd>relative·priorities·used·by·the·bandwidth·allocator·in·the·rate 
97 limiter.·If·no·rate·limits·are·in·use,·the·priority·is·not·used 
98 either.·Priorities·start·at·1·(0·is·not·a·valid·priority)·and·may·not 
99 exceed·255.</dd> 
100 </dl> 
101 <a·name="peer_class_type_filter"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_class_type_filter&labels=documentation&body=Documentation+under+heading+%22class+peer_class_type_filter%22+could+be+improved">report·issue</a>]</span></div>45 <a·name="peer_class_type_filter"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_class_type_filter&labels=documentation&body=Documentation+under+heading+%22class+peer_class_type_filter%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="peer-class-type-filter">
102 <div·class="section"·id="peer-class-type-filter"> 
103 <h1>peer_class_type_filter</h1>46 <h1>peer_class_type_filter</h1>
104 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/peer_class_type_filter.hpp">libtorrent/peer_class_type_filter.hpp</a>&quot;</p>47 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/peer_class_type_filter.hpp">libtorrent/peer_class_type_filter.hpp</a>&quot;</p>
105 <p><tt·class="docutils·literal">peer_class_type_filter</tt>·is·a·simple·container·for·rules·for·adding·and·subtracting48 <p><tt·class="docutils·literal">peer_class_type_filter</tt>·is·a·simple·container·for·rules·for·adding·and·subtracting
106 peer-classes·from·peers.·It·is·applied·<em>after</em>·the·peer·class·filter·is·applied·(which49 peer-classes·from·peers.·It·is·applied·<em>after</em>·the·peer·class·filter·is·applied·(which
107 is·based·on·the·peer's·IP·address).</p>50 is·based·on·the·peer's·IP·address).</p>
108 <pre·class="literal-block">51 <pre·class="literal-block">
109 struct·peer_class_type_filter52 struct·peer_class_type_filter
Offset 123, 17 lines modifiedOffset 66, 17 lines modified
123 ······ssl_tcp_socket,66 ······ssl_tcp_socket,
124 ······ssl_utp_socket,67 ······ssl_utp_socket,
125 ······i2p_socket,68 ······i2p_socket,
126 ······num_socket_types,69 ······num_socket_types,
127 ···};70 ···};
128 };71 };
129 </pre>72 </pre>
130 <a·name="add()"></a>73 <a·name="remove()"></a>
131 <a·name="remove()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Badd%28%29+remove%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bad[·...·truncated·by·diffoscope;·len:·105,·SHA:·1eb48dacb7050f27ab7419194f0a8113d2934b13be72ec2050c7e5a32f6cf102·...·]">74 <a·name="add()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bremove%28%29+add%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bremov[·...·truncated·by·diffoscope;·len:·102,·SHA:·c40f3b2e2de81d19556aa32d64cbabec58a324f3665cb33e006a18f8dbae0e18·...·]">
132 <h2>add()·remove()</h2>75 <h2>remove()·add()</h2>
133 <pre·class="literal-block">76 <pre·class="literal-block">
134 void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);77 void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);
135 void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);78 void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);
136 </pre>79 </pre>
137 <p><tt·class="docutils·literal">add()</tt>·and·<tt·class="docutils·literal">remove()</tt>·adds·and·removes·a·peer·class·to·be·added80 <p><tt·class="docutils·literal">add()</tt>·and·<tt·class="docutils·literal">remove()</tt>·adds·and·removes·a·peer·class·to·be·added
138 to·new·peers·based·on·socket·type.</p>81 to·new·peers·based·on·socket·type.</p>
139 <a·name="disallow()"></a>82 <a·name="disallow()"></a>
Offset 197, 15 lines modifiedOffset 140, 72 lines modified
197 </tr>140 </tr>
198 <tr><td>num_socket_types</td>141 <tr><td>num_socket_types</td>
199 <td>5</td>142 <td>5</td>
200 <td>&nbsp;</td>143 <td>&nbsp;</td>
201 </tr>144 </tr>
202 </tbody>145 </tbody>
203 </table>146 </table>
 147 <a·name="peer_class_info"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_class_info&labels=documentation&body=Documentation+under+heading+%22class+peer_class_info%22+could+be+improved">report·issue</a>]</span></div>
204 </div>148 </div>
 149 <div·class="section"·id="peer-class-info">
 150 <h1>peer_class_info</h1>
 151 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/peer_class.hpp">libtorrent/peer_class.hpp</a>&quot;</p>
 152 <p>holds·settings·for·a·peer·class.·Used·in·<a·class="reference·external"·href="reference-Session.html#set_peer_class()">set_peer_class()</a>·and
 153 <a·class="reference·external"·href="reference-Session.html#get_peer_class()">get_peer_class()</a>·calls.</p>
 154 <pre·class="literal-block">
 155 struct·peer_class_info
 156 {
 157 ···bool·ignore_unchoke_slots;
 158 ···int·connection_limit_factor;
 159 ···std::string·label;
 160 ···int·upload_limit;
 161 ···int·download_limit;
 162 ···int·upload_priority;
 163 ···int·download_priority;
 164 };
Max diff block lines reached; 103/13161 bytes (0.78%) of diff not shown.
8.12 KB
html2text {}
    
Offset 1, 64 lines modifiedOffset 1, 18 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8i_\x8n_\x8f_\x8o 
7 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r6 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r
8 ··········o·_\x8a_.d_.d_.(_.)_.·_.r_.e_.m_.o_.v_.e_\x8(_\x8)7 ··········o·_\x8r_.e_.m_.o_.v_.e_.(_.)_.·_.a_.d_.d_\x8(_\x8)
9 ··········o·_\x8d_\x8i_\x8s_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8)_\x8·_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8)8 ··········o·_\x8d_\x8i_\x8s_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8)_\x8·_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8)
10 ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8)9 ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8)
11 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t10 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t
 11 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8i_\x8n_\x8f_\x8o
12 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
13 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8* 
14 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8._\x8h_\x8p_\x8p" 
15 holds·settings·for·a·peer·class.·Used·in·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)·and·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8) 
16 calls. 
17 struct·peer_class_info 
18 { 
19 ···bool·ignore_unchoke_slots; 
20 ···int·connection_limit_factor; 
21 ···std::string·label; 
22 ···int·upload_limit; 
23 ···int·download_limit; 
24 ···int·upload_priority; 
25 ···int·download_priority; 
26 }; 
27 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
28 ··ignore_unchoke_slots 
29 ······ignore_unchoke_slots·determines·whether·peers·should·always·unchoke·a 
30 ······peer,·regardless·of·the·choking·algorithm,·or·if·it·should·honor·the 
31 ······unchoke·slot·limits.·It's·used·for·local·peers·by·default.·If·a\x8an\x8ny\x8y·of·the 
32 ······peer·classes·a·peer·belongs·to·has·this·set·to·true,·that·peer·will·be 
33 ······unchoked·at·all·times. 
34 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
35 ··connection_limit_factor 
36 ······adjusts·the·connection·limit·(global·and·per·torrent)·that·applies·to 
37 ······this·peer·class.·By·default,·local·peers·are·allowed·to·exceed·the·normal 
38 ······connection·limit·for·instance.·This·is·specified·as·a·percent·factor.·100 
39 ······makes·the·peer·class·apply·normally·to·the·limit.·200·means·as·long·as 
40 ······there·are·fewer·connections·than·twice·the·limit,·we·accept·this·peer. 
41 ······This·factor·applies·both·to·the·global·connection·limit·and·the·per- 
42 ······torrent·limit.·Note·that·if·not·used·carefully·one·peer·class·can 
43 ······potentially·completely·starve·out·all·other·over·time. 
44 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
45 ··label 
46 ······not·used·by·libtorrent.·It's·intended·as·a·potentially·user-facing 
47 ······identifier·of·this·peer·class. 
48 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
49 ··upload_limit·download_limit 
50 ······transfer·rates·limits·for·the·whole·peer·class.·They·are·specified·in 
51 ······bytes·per·second·and·apply·to·the·sum·of·all·peers·that·are·members·of 
52 ······this·class. 
53 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
54 ··upload_priority·download_priority 
55 ······relative·priorities·used·by·the·bandwidth·allocator·in·the·rate·limiter. 
56 ······If·no·rate·limits·are·in·use,·the·priority·is·not·used·either.·Priorities 
57 ······start·at·1·(0·is·not·a·valid·priority)·and·may·not·exceed·255. 
58 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]12 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
59 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_t\x8ty\x8yp\x8pe\x8e_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8*13 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_t\x8ty\x8yp\x8pe\x8e_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8*
60 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p"14 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8._\x8h_\x8p_\x8p"
61 peer_class_type_filter·is·a·simple·container·for·rules·for·adding·and15 peer_class_type_filter·is·a·simple·container·for·rules·for·adding·and
62 subtracting·peer-classes·from·peers.·It·is·applied·a\x8af\x8ft\x8te\x8er\x8r·the·peer·class·filter16 subtracting·peer-classes·from·peers.·It·is·applied·a\x8af\x8ft\x8te\x8er\x8r·the·peer·class·filter
63 is·applied·(which·is·based·on·the·peer's·IP·address).17 is·applied·(which·is·based·on·the·peer's·IP·address).
64 struct·peer_class_type_filter18 struct·peer_class_type_filter
Offset 78, 15 lines modifiedOffset 32, 15 lines modified
78 ······ssl_tcp_socket,32 ······ssl_tcp_socket,
79 ······ssl_utp_socket,33 ······ssl_utp_socket,
80 ······i2p_socket,34 ······i2p_socket,
81 ······num_socket_types,35 ······num_socket_types,
82 ···};36 ···};
83 };37 };
84 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]38 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
85 *\x8**\x8**\x8**\x8**\x8*·a.ad.dd.d(.().)·r.re.em.mo.ov.ve.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*39 *\x8**\x8**\x8**\x8**\x8*·r.re.em.mo.ov.ve.e(.().)·a.ad.dd.d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
86 void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class);40 void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class);
87 void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class);41 void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class);
88 add()·and·remove()·adds·and·removes·a·peer·class·to·be·added·to·new·peers·based42 add()·and·remove()·adds·and·removes·a·peer·class·to·be·added·to·new·peers·based
89 on·socket·type.43 on·socket·type.
90 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]44 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
91 *\x8**\x8**\x8**\x8**\x8*·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·a\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*45 *\x8**\x8**\x8**\x8**\x8*·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·a\x8al\x8ll\x8lo\x8ow\x8w(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
92 void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class);46 void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class);
Offset 108, 14 lines modifiedOffset 62, 60 lines modified
108 |tcp_socket······|0····|these·match·the·socket·types·from·socket_type.hpp|62 |tcp_socket······|0····|these·match·the·socket·types·from·socket_type.hpp|
109 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8s_\x8h_\x8i_\x8f_\x8t_\x8e_\x8d_\x8·_\x8o_\x8n_\x8e_\x8·_\x8d_\x8o_\x8w_\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|63 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8s_\x8h_\x8i_\x8f_\x8t_\x8e_\x8d_\x8·_\x8o_\x8n_\x8e_\x8·_\x8d_\x8o_\x8w_\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
110 |_\x8u_\x8t_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|64 |_\x8u_\x8t_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
111 |_\x8s_\x8s_\x8l_\x8__\x8t_\x8c_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8|_\x82_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|65 |_\x8s_\x8s_\x8l_\x8__\x8t_\x8c_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8|_\x82_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
112 |_\x8s_\x8s_\x8l_\x8__\x8u_\x8t_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8|_\x83_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|66 |_\x8s_\x8s_\x8l_\x8__\x8u_\x8t_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8|_\x83_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
113 |_\x8i_\x82_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|67 |_\x8i_\x82_\x8p_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
114 |_\x8n_\x8u_\x8m_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8|_\x85_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|68 |_\x8n_\x8u_\x8m_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8|_\x85_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 69 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 70 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8cl\x8la\x8as\x8ss\x8s_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*
 71 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8._\x8h_\x8p_\x8p"
 72 holds·settings·for·a·peer·class.·Used·in·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)·and·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)
 73 calls.
 74 struct·peer_class_info
 75 {
 76 ···bool·ignore_unchoke_slots;
 77 ···int·connection_limit_factor;
 78 ···std::string·label;
 79 ···int·upload_limit;
 80 ···int·download_limit;
 81 ···int·upload_priority;
 82 ···int·download_priority;
 83 };
 84 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 85 ··ignore_unchoke_slots
 86 ······ignore_unchoke_slots·determines·whether·peers·should·always·unchoke·a
 87 ······peer,·regardless·of·the·choking·algorithm,·or·if·it·should·honor·the
 88 ······unchoke·slot·limits.·It's·used·for·local·peers·by·default.·If·a\x8an\x8ny\x8y·of·the
 89 ······peer·classes·a·peer·belongs·to·has·this·set·to·true,·that·peer·will·be
 90 ······unchoked·at·all·times.
 91 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 92 ··connection_limit_factor
 93 ······adjusts·the·connection·limit·(global·and·per·torrent)·that·applies·to
 94 ······this·peer·class.·By·default,·local·peers·are·allowed·to·exceed·the·normal
 95 ······connection·limit·for·instance.·This·is·specified·as·a·percent·factor.·100
 96 ······makes·the·peer·class·apply·normally·to·the·limit.·200·means·as·long·as
 97 ······there·are·fewer·connections·than·twice·the·limit,·we·accept·this·peer.
 98 ······This·factor·applies·both·to·the·global·connection·limit·and·the·per-
 99 ······torrent·limit.·Note·that·if·not·used·carefully·one·peer·class·can
 100 ······potentially·completely·starve·out·all·other·over·time.
 101 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 102 ··label
 103 ······not·used·by·libtorrent.·It's·intended·as·a·potentially·user-facing
 104 ······identifier·of·this·peer·class.
 105 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 106 ··upload_limit·download_limit
Max diff block lines reached; 192/8286 bytes (2.32%) of diff not shown.
46.3 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Plugins.html
    
Offset 61, 17 lines modifiedOffset 61, 17 lines modified
61 <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-23">peer_plugin</a><ul>61 <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-23">peer_plugin</a><ul>
62 <li><a·class="reference·internal"·href="#type"·id="toc-entry-24">type()</a></li>62 <li><a·class="reference·internal"·href="#type"·id="toc-entry-24">type()</a></li>
63 <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-25">add_handshake()</a></li>63 <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-25">add_handshake()</a></li>
64 <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-26">on_disconnect()</a></li>64 <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-26">on_disconnect()</a></li>
65 <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-27">on_connected()</a></li>65 <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-27">on_connected()</a></li>
66 <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-28">on_handshake()</a></li>66 <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-28">on_handshake()</a></li>
67 <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-29">on_extension_handshake()</a></li>67 <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-29">on_extension_handshake()</a></li>
68 <li><a·class="reference·internal"·href="#on-allowed-fast-on-have-on-have-none-on-interested-on-choke-on-unchoke-on-have-all-on-bitfield-on-dont-have-on-request-on-not-interested"·id="toc-entry-30">on_allowed_fast()·on_have()·on_have_none()·on_interested()·on_choke()·on_unchoke()·on_have_all()·on_bit[·...·truncated·by·diffoscope;·len:·53,·SHA:·be9daea49747632926288b2812a9c85073c25a721f72c27cb6992b2828d000c1·...·]()</a></li>68 <li><a·class="reference·internal"·href="#on-have-all-on-request-on-have-on-allowed-fast-on-interested-on-have-none-on-not-interested-on-bitfield-on-dont-have-on-unchoke-on-choke"·id="toc-entry-30">on_have_all()·on_request()·on_have()·on_allowed_fast()·on_interested()·on_have_none()·on_not_interested[·...·truncated·by·diffoscope;·len:·53,·SHA:·240a064167adbf97c8e09c7a2d1746f8978444b4ac6bb7c66496fd7d9236b76b·...·]()</a></li>
69 <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-31">on_piece()</a></li>69 <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-31">on_piece()</a></li>
70 <li><a·class="reference·internal"·href="#sent-unchoke-sent-interested-sent-piece-sent-not-interested-sent-have"·id="toc-entry-32">sent_unchoke()·sent_interested()·sent_piece()·sent_not_interested()·sent_have()</a></li>70 <li><a·class="reference·internal"·href="#sent-unchoke-sent-not-interested-sent-piece-sent-interested-sent-have"·id="toc-entry-32">sent_unchoke()·sent_not_interested()·sent_piece()·sent_interested()·sent_have()</a></li>
71 <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-33">sent_payload()</a></li>71 <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-33">sent_payload()</a></li>
72 <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-34">can_disconnect()</a></li>72 <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-34">can_disconnect()</a></li>
73 <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-35">on_extended()</a></li>73 <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-35">on_extended()</a></li>
74 <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-36">on_unknown_message()</a></li>74 <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-36">on_unknown_message()</a></li>
75 <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed-1"·id="toc-entry-37">on_piece_pass()·on_piece_failed()</a></li>75 <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed-1"·id="toc-entry-37">on_piece_pass()·on_piece_failed()</a></li>
76 <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-38">tick()</a></li>76 <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-38">tick()</a></li>
77 <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-39">write_request()</a></li>77 <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-39">write_request()</a></li>
Offset 79, 16 lines modifiedOffset 79, 16 lines modified
79 </li>79 </li>
80 <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-40">crypto_plugin</a><ul>80 <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-40">crypto_plugin</a><ul>
81 <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-41">decrypt()</a></li>81 <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-41">decrypt()</a></li>
82 </ul>82 </ul>
83 </li>83 </li>
84 <li><a·class="reference·internal"·href="#peer-connection-handle"·id="toc-entry-42">peer_connection_handle</a></li>84 <li><a·class="reference·internal"·href="#peer-connection-handle"·id="toc-entry-42">peer_connection_handle</a></li>
85 <li><a·class="reference·internal"·href="#bt-peer-connection-handle"·id="toc-entry-43">bt_peer_connection_handle</a></li>85 <li><a·class="reference·internal"·href="#bt-peer-connection-handle"·id="toc-entry-43">bt_peer_connection_handle</a></li>
86 <li><a·class="reference·internal"·href="#create-ut-pex-plugin"·id="toc-entry-44">create_ut_pex_plugin()</a></li> 
87 <li><a·class="reference·internal"·href="#create-ut-metadata-plugin"·id="toc-entry-45">create_ut_metadata_plugin()</a></li>86 <li><a·class="reference·internal"·href="#create-ut-metadata-plugin"·id="toc-entry-44">create_ut_metadata_plugin()</a></li>
 87 <li><a·class="reference·internal"·href="#create-ut-pex-plugin"·id="toc-entry-45">create_ut_pex_plugin()</a></li>
88 <li><a·class="reference·internal"·href="#create-smart-ban-plugin"·id="toc-entry-46">create_smart_ban_plugin()</a></li>88 <li><a·class="reference·internal"·href="#create-smart-ban-plugin"·id="toc-entry-46">create_smart_ban_plugin()</a></li>
89 </ul>89 </ul>
90 </div>90 </div>
91 <p>libtorrent·has·a·<a·class="reference·external"·href="reference-Plugins.html#plugin">plugin</a>·interface·for·implementing·extensions·to·the·protocol.91 <p>libtorrent·has·a·<a·class="reference·external"·href="reference-Plugins.html#plugin">plugin</a>·interface·for·implementing·extensions·to·the·protocol.
92 These·can·be·general·extensions·for·transferring·metadata·or·peer·exchange92 These·can·be·general·extensions·for·transferring·metadata·or·peer·exchange
93 extensions,·or·it·could·be·used·to·provide·a·way·to·customize·the·protocol93 extensions,·or·it·could·be·used·to·provide·a·way·to·customize·the·protocol
94 to·fit·a·particular·(closed)·network.</p>94 to·fit·a·particular·(closed)·network.</p>
Offset 475, 43 lines modifiedOffset 475, 43 lines modified
475 {475 {
476 ···virtual·string_view·<strong>type</strong>·()·const;476 ···virtual·string_view·<strong>type</strong>·()·const;
477 ···virtual·void·<strong>add_handshake</strong>·(entry&amp;);477 ···virtual·void·<strong>add_handshake</strong>·(entry&amp;);
478 ···virtual·void·<strong>on_disconnect</strong>·(error_code·const&amp;);478 ···virtual·void·<strong>on_disconnect</strong>·(error_code·const&amp;);
479 ···virtual·void·<strong>on_connected</strong>·();479 ···virtual·void·<strong>on_connected</strong>·();
480 ···virtual·bool·<strong>on_handshake</strong>·(span&lt;char·const&gt;);480 ···virtual·bool·<strong>on_handshake</strong>·(span&lt;char·const&gt;);
481 ···virtual·bool·<strong>on_extension_handshake</strong>·(bdecode_node·const&amp;);481 ···virtual·bool·<strong>on_extension_handshake</strong>·(bdecode_node·const&amp;);
482 ···virtual·bool·<strong>on_allowed_fast</strong>·(piece_index_t); 
483 ···virtual·bool·<strong>on_unchoke</strong>·(); 
484 ···virtual·bool·<strong>on_not_interested</strong>·();482 ···virtual·bool·<strong>on_not_interested</strong>·();
 483 ···virtual·bool·<strong>on_unchoke</strong>·();
 484 ···virtual·bool·<strong>on_allowed_fast</strong>·(piece_index_t);
 485 ···virtual·bool·<strong>on_bitfield</strong>·(bitfield·const&amp;·<em>/*bitfield*/</em>);
 486 ···virtual·bool·<strong>on_have_all</strong>·();
485 ···virtual·bool·<strong>on_choke</strong>·();487 ···virtual·bool·<strong>on_choke</strong>·();
486 ···virtual·bool·<strong>on_request</strong>·(peer_request·const&amp;); 
487 ···virtual·bool·<strong>on_interested</strong>·(); 
488 ···virtual·bool·<strong>on_have</strong>·(piece_index_t);488 ···virtual·bool·<strong>on_have</strong>·(piece_index_t);
489 ···virtual·bool·<strong>on_dont_have</strong>·(piece_index_t);489 ···virtual·bool·<strong>on_dont_have</strong>·(piece_index_t);
490 ···virtual·bool·<strong>on_bitfield</strong>·(bitfield·const&amp;·<em>/*bitfield*/</em>);490 ···virtual·bool·<strong>on_request</strong>·(peer_request·const&amp;);
491 ···virtual·bool·<strong>on_have_none</strong>·();491 ···virtual·bool·<strong>on_have_none</strong>·();
492 ···virtual·bool·<strong>on_have_all</strong>·();492 ···virtual·bool·<strong>on_interested</strong>·();
493 ···virtual·bool·<strong>on_piece</strong>·(peer_request·const&amp;·<em>/*piece*/</em>493 ···virtual·bool·<strong>on_piece</strong>·(peer_request·const&amp;·<em>/*piece*/</em>
494 ······,·span&lt;char·const&gt;·<em>/*buf*/</em>);494 ······,·span&lt;char·const&gt;·<em>/*buf*/</em>);
495 ···virtual·bool·<strong>on_suggest</strong>·(piece_index_t); 
496 ···virtual·bool·<strong>on_cancel</strong>·(peer_request·const&amp;); 
497 ···virtual·bool·<strong>on_reject</strong>·(peer_request·const&amp;);495 ···virtual·bool·<strong>on_reject</strong>·(peer_request·const&amp;);
498 ···virtual·void·<strong>sent_reject_request</strong>·(peer_request·const&amp;);496 ···virtual·bool·<strong>on_cancel</strong>·(peer_request·const&amp;);
 497 ···virtual·bool·<strong>on_suggest</strong>·(piece_index_t);
499 ···virtual·void·<strong>sent_suggest</strong>·(piece_index_t);498 ···virtual·void·<strong>sent_suggest</strong>·(piece_index_t);
500 ···virtual·void·<strong>sent_cancel</strong>·(peer_request·const&amp;);499 ···virtual·void·<strong>sent_have_all</strong>·();
 500 ···virtual·void·<strong>sent_have_none</strong>·();
501 ···virtual·void·<strong>sent_choke</strong>·();501 ···virtual·void·<strong>sent_choke</strong>·();
 502 ···virtual·void·<strong>sent_reject_request</strong>·(peer_request·const&amp;);
502 ···virtual·void·<strong>sent_request</strong>·(peer_request·const&amp;);503 ···virtual·void·<strong>sent_request</strong>·(peer_request·const&amp;);
 504 ···virtual·void·<strong>sent_cancel</strong>·(peer_request·const&amp;);
503 ···virtual·void·<strong>sent_allow_fast</strong>·(piece_index_t);505 ···virtual·void·<strong>sent_allow_fast</strong>·(piece_index_t);
504 ···virtual·void·<strong>sent_have_all</strong>·(); 
505 ···virtual·void·<strong>sent_have_none</strong>·(); 
506 ···virtual·void·<strong>sent_not_interested</strong>·(); 
507 ···virtual·void·<strong>sent_piece</strong>·(peer_request·const&amp;); 
508 ···virtual·void·<strong>sent_have</strong>·(piece_index_t);506 ···virtual·void·<strong>sent_have</strong>·(piece_index_t);
 507 ···virtual·void·<strong>sent_piece</strong>·(peer_request·const&amp;);
509 ···virtual·void·<strong>sent_interested</strong>·();508 ···virtual·void·<strong>sent_interested</strong>·();
510 ···virtual·void·<strong>sent_unchoke</strong>·();509 ···virtual·void·<strong>sent_unchoke</strong>·();
 510 ···virtual·void·<strong>sent_not_interested</strong>·();
511 ···virtual·void·<strong>sent_payload</strong>·(int·<em>/*·bytes·*/</em>);511 ···virtual·void·<strong>sent_payload</strong>·(int·<em>/*·bytes·*/</em>);
512 ···virtual·bool·<strong>can_disconnect</strong>·(error_code·const&amp;·<em>/*ec*/</em>);512 ···virtual·bool·<strong>can_disconnect</strong>·(error_code·const&amp;·<em>/*ec*/</em>);
513 ···virtual·bool·<strong>on_extended</strong>·(int·<em>/*length*/</em>,·int·<em>/*msg*/</em>,513 ···virtual·bool·<strong>on_extended</strong>·(int·<em>/*length*/</em>,·int·<em>/*msg*/</em>,
514 ······span&lt;char·const&gt;·<em>/*body*/</em>);514 ······span&lt;char·const&gt;·<em>/*body*/</em>);
515 ···virtual·bool·<strong>on_unknown_message</strong>·(int·<em>/*length*/</em>,·int·<em>/*msg*/</em>,515 ···virtual·bool·<strong>on_unknown_message</strong>·(int·<em>/*length*/</em>,·int·<em>/*msg*/</em>,
516 ······span&lt;char·const&gt;·<em>/*body*/</em>);516 ······span&lt;char·const&gt;·<em>/*body*/</em>);
517 ···virtual·void·<strong>on_piece_failed</strong>·(piece_index_t);517 ···virtual·void·<strong>on_piece_failed</strong>·(piece_index_t);
Offset 569, 39 lines modifiedOffset 569, 39 lines modified
569 virtual·bool·<strong>on_extension_handshake</strong>·(bdecode_node·const&amp;);569 virtual·bool·<strong>on_extension_handshake</strong>·(bdecode_node·const&amp;);
570 </pre>570 </pre>
571 <p>called·when·the·extension·handshake·from·the·other·end·is·received571 <p>called·when·the·extension·handshake·from·the·other·end·is·received
572 if·this·returns·false,·it·means·that·this·extension·isn't572 if·this·returns·false,·it·means·that·this·extension·isn't
573 supported·by·this·peer.·It·will·result·in·this·<a·class="reference·external"·href="reference-Plugins.html#peer_plugin">peer_plugin</a>573 supported·by·this·peer.·It·will·result·in·this·<a·class="reference·external"·href="reference-Plugins.html#peer_plugin">peer_plugin</a>
574 being·removed·from·the·peer_connection·and·destructed.574 being·removed·from·the·peer_connection·and·destructed.
575 this·is·not·called·for·web·seeds</p>575 this·is·not·called·for·web·seeds</p>
 576 <a·name="on_have_all()"></a>
576 <a·name="on_allowed_fast()"></a>577 <a·name="on_request()"></a>
577 <a·name="on_have()"></a>578 <a·name="on_have()"></a>
578 <a·name="on_have_none()"></a>579 <a·name="on_allowed_fast()"></a>
579 <a·name="on_interested()"></a>580 <a·name="on_interested()"></a>
580 <a·name="on_choke()"></a> 
581 <a·name="on_unchoke()"></a> 
582 <a·name="on_have_all()"></a>581 <a·name="on_have_none()"></a>
 582 <a·name="on_not_interested()"></a>
583 <a·name="on_bitfield()"></a>583 <a·name="on_bitfield()"></a>
584 <a·name="on_dont_have()"></a>584 <a·name="on_dont_have()"></a>
585 <a·name="on_request()"></a>585 <a·name="on_unchoke()"></a>
586 <a·name="on_not_interested()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_plugin%3A%3A%5Bon_allowed_fast%28%29+on_have%28%29+on_have_none%28%29+on_interested%28%29+on_choke%28%29+on_unchoke%28%29+on_have_all%28%29+on_bitfield%28%29+on_dont_have%28%29+on_request%28%29+on_not_interested%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_plugin%3A%3A%5Bon_allowed_fast%28%29+on_have%28%29+on_have_none%28%29+on_interested%28%29+on_choke%28%29+on_unchoke%28%29+on_have_all%28%29+on_bitfield%28%29+on_dont_have%28%29+on_request%28%29+on_not_interested%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> 
587 <div·class="section"·id="on-allowed-fast-on-have-on-have-none-on-interested-on-choke-on-unchoke-on-have-all-on-bitfield-on-dont-have-on-request-on-not-interested"> 
588 <h2>on_allowed_fast()·on_have()·on_have_none()·on_interested()·on_choke()·on_unchoke()·on_have_all()·on_bitfield()·on_dont_have()·on_request()·on_not_interested()</h2>586 <a·name="on_choke()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_plugin%3A%3A%5Bon_have_all%28%29+on_request%28%29+on_have%28%29+on_allowed_fast%28%29+on_interested%28%29+on_have_none%28%29+on_not_[·...·truncated·by·diffoscope;·len:·423,·SHA:·05df54abdf8c47339310e1e764525fdbffd53a95724f9a9d0452c9f55db410e4·...·]>
 587 <div·class="section"·id="on-have-all-on-request-on-have-on-allowed-fast-on-interested-on-have-none-on-not-interested-on-bitfield-on-dont-have-on-unchoke-on-choke">
 588 <h2>on_have_all()·on_request()·on_have()·on_allowed_fast()·on_interested()·on_have_none()·on_not_interested()·on_bitfield()·on_dont_have()·on_unchoke()·on_choke()</h2>
589 <pre·class="literal-block">589 <pre·class="literal-block">
590 virtual·bool·<strong>on_allowed_fast</strong>·(piece_index_t); 
591 virtual·bool·<strong>on_unchoke</strong>·(); 
592 virtual·bool·<strong>on_not_interested</strong>·();590 virtual·bool·<strong>on_not_interested</strong>·();
 591 virtual·bool·<strong>on_unchoke</strong>·();
 592 virtual·bool·<strong>on_allowed_fast</strong>·(piece_index_t);
 593 virtual·bool·<strong>on_bitfield</strong>·(bitfield·const&amp;·<em>/*bitfield*/</em>);
 594 virtual·bool·<strong>on_have_all</strong>·();
593 virtual·bool·<strong>on_choke</strong>·();595 virtual·bool·<strong>on_choke</strong>·();
594 virtual·bool·<strong>on_request</strong>·(peer_request·const&amp;); 
595 virtual·bool·<strong>on_interested</strong>·(); 
596 virtual·bool·<strong>on_have</strong>·(piece_index_t);596 virtual·bool·<strong>on_have</strong>·(piece_index_t);
597 virtual·bool·<strong>on_dont_have</strong>·(piece_index_t);597 virtual·bool·<strong>on_dont_have</strong>·(piece_index_t);
Max diff block lines reached; 14091/25798 bytes (54.62%) of diff not shown.
20.9 KB
html2text {}
    
Offset 28, 33 lines modifiedOffset 28, 33 lines modified
28 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n28 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n
29 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)29 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)
30 ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8)30 ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8)
31 ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8)31 ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8)
32 ··········o·_\x8o_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8(_\x8)32 ··········o·_\x8o_\x8n_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8(_\x8)
33 ··········o·_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8)33 ··········o·_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8)
34 ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8)34 ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8)
35 ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8l_\x8o_\x8w_\x8e_\x8d_\x8__\x8f_\x8a_\x8s_\x8t_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8n_\x8o_\x8n_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e 
36 ············_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8) 
37 ············_.o_.n_.__.r_.e_.q_.u_.e_.s_.t_.(_.)_.·_.o_.n_.__.n_.o_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_\x8(_\x8)35 ··········o·_.o_.n_.__.h_.a_.v_.e_.__.a_.l_.l_.(_.)_.·_.o_.n_.__.r_.e_.q_.u_.e_.s_.t_.(_.)_.·_.o_.n_.__.h_.a_.v_.e_.(_.)_.·_.o_.n_.__.a_.l_.l_.o_.w_.e_.d_.__.f_.a_.s_.t_\x8(_\x8)
 36 ············_\x8o_\x8n_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8n_\x8o_\x8n_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8n_\x8o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)
 37 ············_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)
38 ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)38 ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
39 ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8n_\x8t_\x8__\x8i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.s_.e_.n_.t_.__.p_.i_.e_.c_.e_.(_.)_.·_.s_.e_.n_.t_.__.n_.o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)39 ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8u_\x8n_\x8c_\x8h_\x8o_\x8k_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8n_\x8t_\x8__\x8n_.o_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.s_.e_.n_.t_.__.p_.i_.e_.c_.e_.(_.)_.·_.s_.e_.n_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)
40 ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)40 ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)
41 ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8y_\x8l_\x8o_\x8a_\x8d_\x8(_\x8)41 ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8y_\x8l_\x8o_\x8a_\x8d_\x8(_\x8)
42 ··········o·_\x8c_\x8a_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8)42 ··········o·_\x8c_\x8a_\x8n_\x8__\x8d_\x8i_\x8s_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8(_\x8)
43 ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8e_\x8d_\x8(_\x8)43 ··········o·_\x8o_\x8n_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8d_\x8e_\x8d_\x8(_\x8)
44 ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8)44 ··········o·_\x8o_\x8n_\x8__\x8u_\x8n_\x8k_\x8n_\x8o_\x8w_\x8n_\x8__\x8m_\x8e_\x8s_\x8s_\x8a_\x8g_\x8e_\x8(_\x8)
45 ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8(_\x8)45 ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8(_\x8)
46 ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8)46 ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8)
47 ··········o·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)47 ··········o·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)
48 ····*·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n48 ····*·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n
49 ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\x8(_\x8)49 ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\x8(_\x8)
50 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e50 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
51 ····*·_\x8b_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e51 ····*·_\x8b_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
52 ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8p_\x8e_\x8x_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8) 
53 ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8)52 ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8)
 53 ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8u_\x8t_\x8__\x8p_\x8e_\x8x_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8)
54 ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8s_\x8m_\x8a_\x8r_\x8t_\x8__\x8b_\x8a_\x8n_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8)54 ····*·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8s_\x8m_\x8a_\x8r_\x8t_\x8__\x8b_\x8a_\x8n_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8(_\x8)
55 libtorrent·has·a·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·interface·for·implementing·extensions·to·the·protocol.55 libtorrent·has·a·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·interface·for·implementing·extensions·to·the·protocol.
56 These·can·be·general·extensions·for·transferring·metadata·or·peer·exchange56 These·can·be·general·extensions·for·transferring·metadata·or·peer·exchange
57 extensions,·or·it·could·be·used·to·provide·a·way·to·customize·the·protocol·to57 extensions,·or·it·could·be·used·to·provide·a·way·to·customize·the·protocol·to
58 fit·a·particular·(closed)·network.58 fit·a·particular·(closed)·network.
59 In·short,·the·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·interface·makes·it·possible·to:59 In·short,·the·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·interface·makes·it·possible·to:
60 ····*·register·extension·messages·(sent·in·the·extension·handshake),·see60 ····*·register·extension·messages·(sent·in·the·extension·handshake),·see
Offset 354, 43 lines modifiedOffset 354, 43 lines modified
354 {354 {
355 ···virtual·string_view·t\x8ty\x8yp\x8pe\x8e·()·const;355 ···virtual·string_view·t\x8ty\x8yp\x8pe\x8e·()·const;
356 ···virtual·void·a\x8ad\x8dd\x8d_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(entry&);356 ···virtual·void·a\x8ad\x8dd\x8d_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(entry&);
357 ···virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&);357 ···virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&);
358 ···virtual·void·o\x8on\x8n_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8te\x8ed\x8d·();358 ···virtual·void·o\x8on\x8n_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8te\x8ed\x8d·();
359 ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(span<char·const>);359 ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(span<char·const>);
360 ···virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(bdecode_node·const&);360 ···virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(bdecode_node·const&);
361 ···virtual·bool·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); 
362 ···virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·(); 
363 ···virtual·bool·o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·();361 ···virtual·bool·o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·();
 362 ···virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·();
 363 ···virtual·bool·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t);
 364 ···virtual·bool·o\x8on\x8n_\x8_b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·/\x8/*\x8*b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d*\x8*/\x8/);
 365 ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·();
364 ···virtual·bool·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·();366 ···virtual·bool·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·();
365 ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); 
366 ···virtual·bool·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); 
367 ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);367 ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);
368 ···virtual·bool·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);368 ···virtual·bool·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);
369 ···virtual·bool·o\x8on\x8n_\x8_b.bi.it.tf.fi.ie.el.ld.d·(bitfield·const&·/./*.*b.bi.it.tf.fi.ie.el.ld.d*.*/./);369 ···virtual·bool·o\x8on\x8n_\x8_r.re.eq.qu.ue.es.st.t·(peer_request·const&);
370 ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·();370 ···virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·();
371 ···virtual·bool·o\x8on\x8n_\x8_h.ha.av.ve.e_._a.al.ll.l·();371 ···virtual·bool·o\x8on\x8n_\x8_i.in.nt.te.er.re.es.st.te.ed.d·();
372 ···virtual·bool·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&·/\x8/*\x8*p\x8pi\x8ie\x8ec\x8ce\x8e*\x8*/\x8/372 ···virtual·bool·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&·/\x8/*\x8*p\x8pi\x8ie\x8ec\x8ce\x8e*\x8*/\x8/
373 ······,·span<char·const>·/\x8/*\x8*b\x8bu\x8uf\x8f*\x8*/\x8/);373 ······,·span<char·const>·/\x8/*\x8*b\x8bu\x8uf\x8f*\x8*/\x8/);
374 ···virtual·bool·o\x8on\x8n_\x8_s\x8su\x8ug\x8gg\x8ge\x8es\x8st\x8t·(piece_index_t); 
375 ···virtual·bool·o\x8on\x8n_\x8_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&); 
376 ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8ej\x8je\x8ec\x8ct\x8t·(peer_request·const&);374 ···virtual·bool·o\x8on\x8n_\x8_r\x8re\x8ej\x8je\x8ec\x8ct\x8t·(peer_request·const&);
377 ···virtual·void·s.se.en.nt.t_._r.re.ej.je.ec.ct.t_._r.re.eq.qu.ue.es.st.t·(peer_request·const&);375 ···virtual·bool·o.on.n_._c.ca.an.nc.ce.el.l·(peer_request·const&);
 376 ···virtual·bool·o\x8on\x8n_\x8_s\x8su\x8ug\x8gg\x8ge\x8es\x8st\x8t·(piece_index_t);
378 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_s\x8su\x8ug\x8gg\x8ge\x8es\x8st\x8t·(piece_index_t);377 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_s\x8su\x8ug\x8gg\x8ge\x8es\x8st\x8t·(piece_index_t);
379 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c.ca.an.nc.ce.el.l·(peer_request·const&);378 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h.ha.av.ve.e_._a.al.ll.l·();
 379 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·();
380 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·();380 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·();
 381 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_r\x8re\x8ej\x8je\x8ec\x8ct\x8t_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&);
381 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&);382 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&);
 383 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_c\x8ca\x8an\x8nc\x8ce\x8el\x8l·(peer_request·const&);
382 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_a\x8al\x8ll\x8lo\x8ow\x8w_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t);384 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_a\x8al\x8ll\x8lo\x8ow\x8w_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t);
383 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·(); 
384 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·(); 
385 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); 
386 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&); 
387 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);385 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);
 386 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&);
388 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·();387 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·();
389 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·();388 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·();
 389 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·();
390 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_p\x8pa\x8ay\x8yl\x8lo\x8oa\x8ad\x8d·(int·/\x8/*\x8*·b\x8by\x8yt\x8te\x8es\x8s·*\x8*/\x8/);390 ···virtual·void·s\x8se\x8en\x8nt\x8t_\x8_p\x8pa\x8ay\x8yl\x8lo\x8oa\x8ad\x8d·(int·/\x8/*\x8*·b\x8by\x8yt\x8te\x8es\x8s·*\x8*/\x8/);
391 ···virtual·bool·c\x8ca\x8an\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·/\x8/*\x8*e\x8ec\x8c*\x8*/\x8/);391 ···virtual·bool·c\x8ca\x8an\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·/\x8/*\x8*e\x8ec\x8c*\x8*/\x8/);
392 ···virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8nd\x8de\x8ed\x8d·(int·/\x8/*\x8*l\x8le\x8en\x8ng\x8gt\x8th\x8h*\x8*/\x8/,·int·/\x8/*\x8*m\x8ms\x8sg\x8g*\x8*/\x8/,392 ···virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8nd\x8de\x8ed\x8d·(int·/\x8/*\x8*l\x8le\x8en\x8ng\x8gt\x8th\x8h*\x8*/\x8/,·int·/\x8/*\x8*m\x8ms\x8sg\x8g*\x8*/\x8/,
393 ······span<char·const>·/\x8/*\x8*b\x8bo\x8od\x8dy\x8y*\x8*/\x8/);393 ······span<char·const>·/\x8/*\x8*b\x8bo\x8od\x8dy\x8y*\x8*/\x8/);
394 ···virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nk\x8kn\x8no\x8ow\x8wn\x8n_\x8_m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·(int·/\x8/*\x8*l\x8le\x8en\x8ng\x8gt\x8th\x8h*\x8*/\x8/,·int·/\x8/*\x8*m\x8ms\x8sg\x8g*\x8*/\x8/,394 ···virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nk\x8kn\x8no\x8ow\x8wn\x8n_\x8_m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·(int·/\x8/*\x8*l\x8le\x8en\x8ng\x8gt\x8th\x8h*\x8*/\x8/,·int·/\x8/*\x8*m\x8ms\x8sg\x8g*\x8*/\x8/,
395 ······span<char·const>·/\x8/*\x8*b\x8bo\x8od\x8dy\x8y*\x8*/\x8/);395 ······span<char·const>·/\x8/*\x8*b\x8bo\x8od\x8dy\x8y*\x8*/\x8/);
396 ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d·(piece_index_t);396 ···virtual·void·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d·(piece_index_t);
Offset 426, 48 lines modifiedOffset 426, 48 lines modified
426 *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*426 *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
427 virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(bdecode_node·const&);427 virtual·bool·o\x8on\x8n_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·(bdecode_node·const&);
428 called·when·the·extension·handshake·from·the·other·end·is·received·if·this428 called·when·the·extension·handshake·from·the·other·end·is·received·if·this
429 returns·false,·it·means·that·this·extension·isn't·supported·by·this·peer.·It429 returns·false,·it·means·that·this·extension·isn't·supported·by·this·peer.·It
430 will·result·in·this·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·being·removed·from·the·peer_connection·and430 will·result·in·this·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·being·removed·from·the·peer_connection·and
431 destructed.·this·is·not·called·for·web·seeds431 destructed.·this·is·not·called·for·web·seeds
432 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]432 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 433 *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l(\x8()\x8)·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t(\x8()\x8)·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e(\x8()\x8)·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t(\x8()\x8)·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d(\x8()\x8)
 434 o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e(\x8()\x8)·o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d(\x8()\x8)·o\x8on\x8n_\x8_b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d(\x8()\x8)·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e(\x8()\x8)·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e(\x8()\x8)
 435 o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
433 *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t(\x8()\x8)·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e(\x8()\x8)·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e(\x8()\x8)·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d(\x8()\x8)·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e(\x8()\x8) 
434 o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e(\x8()\x8)·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l(\x8()\x8)·o\x8on\x8n_\x8_b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d(\x8()\x8)·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e(\x8()\x8)·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t(\x8()\x8) 
435 o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
436 virtual·bool·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t); 
437 virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·(); 
438 virtual·bool·o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·();436 virtual·bool·o\x8on\x8n_\x8_n\x8no\x8ot\x8t_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·();
 437 virtual·bool·o\x8on\x8n_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·();
 438 virtual·bool·o\x8on\x8n_\x8_a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d_\x8_f\x8fa\x8as\x8st\x8t·(piece_index_t);
 439 virtual·bool·o\x8on\x8n_\x8_b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d·(bitfield·const&·/\x8/*\x8*b\x8bi\x8it\x8tf\x8fi\x8ie\x8el\x8ld\x8d*\x8*/\x8/);
 440 virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_a\x8al\x8ll\x8l·();
439 virtual·bool·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·();441 virtual·bool·o\x8on\x8n_\x8_c\x8ch\x8ho\x8ok\x8ke\x8e·();
440 virtual·bool·o\x8on\x8n_\x8_r\x8re\x8eq\x8qu\x8ue\x8es\x8st\x8t·(peer_request·const&); 
441 virtual·bool·o\x8on\x8n_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·(); 
442 virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);442 virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);
443 virtual·bool·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);443 virtual·bool·o\x8on\x8n_\x8_d\x8do\x8on\x8nt\x8t_\x8_h\x8ha\x8av\x8ve\x8e·(piece_index_t);
444 virtual·bool·o\x8on\x8n_\x8_b.bi.it.tf.fi.ie.el.ld.d·(bitfield·const&·/./*.*b.bi.it.tf.fi.ie.el.ld.d*.*/./);444 virtual·bool·o\x8on\x8n_\x8_r.re.eq.qu.ue.es.st.t·(peer_request·const&);
445 virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·();445 virtual·bool·o\x8on\x8n_\x8_h\x8ha\x8av\x8ve\x8e_\x8_n\x8no\x8on\x8ne\x8e·();
446 virtual·bool·o\x8on\x8n_\x8_h.ha.av.ve.e_._a.al.ll.l·();446 virtual·bool·o\x8on\x8n_\x8_i.in.nt.te.er.re.es.st.te.ed.d·();
447 returning·true·from·any·of·the·message·handlers·indicates·that·the·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·has447 returning·true·from·any·of·the·message·handlers·indicates·that·the·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·has
448 handled·the·message.·it·will·break·the·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·chain·traversing·and·not·let448 handled·the·message.·it·will·break·the·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n·chain·traversing·and·not·let
449 anyone·else·handle·the·message,·including·the·default·handler.449 anyone·else·handle·the·message,·including·the·default·handler.
450 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]450 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
451 *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*451 *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
452 virtual·bool·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&·/\x8/*\x8*p\x8pi\x8ie\x8ec\x8ce\x8e*\x8*/\x8/452 virtual·bool·o\x8on\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(peer_request·const&·/\x8/*\x8*p\x8pi\x8ie\x8ec\x8ce\x8e*\x8*/\x8/
453 ······,·span<char·const>·/\x8/*\x8*b\x8bu\x8uf\x8f*\x8*/\x8/);453 ······,·span<char·const>·/\x8/*\x8*b\x8bu\x8uf\x8f*\x8*/\x8/);
454 This·function·is·called·when·the·peer·connection·is·receiving·a·piece.·buf454 This·function·is·called·when·the·peer·connection·is·receiving·a·piece.·buf
Max diff block lines reached; 10648/21405 bytes (49.75%) of diff not shown.
16.8 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Resume_Data.html
    
Offset 28, 79 lines modifiedOffset 28, 79 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
 35 <li><a·class="reference·internal"·href="#read-resume-data"·id="toc-entry-1">read_resume_data()</a></li>
35 <li><a·class="reference·internal"·href="#write-resume-data-buf-write-resume-data"·id="toc-entry-1">write_resume_data_buf()·write_resume_data()</a></li>36 <li><a·class="reference·internal"·href="#write-resume-data-buf-write-resume-data"·id="toc-entry-2">write_resume_data_buf()·write_resume_data()</a></li>
36 <li><a·class="reference·internal"·href="#write-torrent-file-write-torrent-file-buf"·id="toc-entry-2">write_torrent_file()·write_torrent_file_buf()</a></li>37 <li><a·class="reference·internal"·href="#write-torrent-file-write-torrent-file-buf"·id="toc-entry-3">write_torrent_file()·write_torrent_file_buf()</a></li>
37 <li><a·class="reference·internal"·href="#read-resume-data"·id="toc-entry-3">read_resume_data()</a></li> 
38 <li><a·class="reference·internal"·href="#write-torrent-flags-t"·id="toc-entry-4">write_torrent_flags_t</a></li>38 <li><a·class="reference·internal"·href="#write-torrent-flags-t"·id="toc-entry-4">write_torrent_flags_t</a></li>
39 </ul>39 </ul>
40 </div>40 </div>
 41 <a·name="read_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:read_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22read_resume_data%28%29%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="read-resume-data">
 42 <h1>read_resume_data()</h1>
 43 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/read_resume_data.hpp">libtorrent/read_resume_data.hpp</a>&quot;</p>
 44 <pre·class="literal-block">
 45 add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&amp;·rd
 46 ···,·int·piece_limit·=·0x200000);
 47 add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&amp;·rd
 48 ···,·error_code&amp;·ec,·int·piece_limit·=·0x200000);
 49 add_torrent_params·<strong>read_resume_data</strong>·(span&lt;char·const&gt;·buffer
 50 ···,·error_code&amp;·ec,·load_torrent_limits·const&amp;·cfg·=·{});
 51 add_torrent_params·<strong>read_resume_data</strong>·(span&lt;char·const&gt;·buffer
 52 ···,·load_torrent_limits·const&amp;·cfg·=·{});
 53 </pre>
 54 <p>these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate
 55 fields·in·an·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object.·This·object·can·then·be·used·to·add
 56 the·actual·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·object·to·and·pass·to·session::add_torrent()·or
 57 session::async_add_torrent().</p>
 58 <p>If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume
 59 data,·e.g.·save_path,·those·fields·must·be·changed·after·loading·resume
 60 data·but·before·adding·the·torrent.</p>
 61 <p>The·<tt·class="docutils·literal">piece_limit</tt>·parameter·determines·the·largest·number·of·pieces
 62 allowed·in·the·torrent·that·may·be·loaded·as·part·of·the·resume·data,·if
 63 it·contains·an·<tt·class="docutils·literal">info</tt>·field.·The·overloads·that·take·a·flat·buffer·are
 64 instead·configured·with·limits·on·torrent·sizes·via·load_torrent·limits.</p>
 65 <p>In·order·to·support·large·torrents,·it·may·also·be·necessary·to·raise·the
 66 <a·class="reference·external"·href="reference-Settings.html#max_piece_count">settings_pack::max_piece_count</a>·setting·and·pass·a·higher·limit·to·calls
 67 to·<a·class="reference·external"·href="reference-Torrent_Info.html#parse_info_section()">torrent_info::parse_info_section()</a>.</p>
41 <a·name="write_resume_data_buf()"></a>68 <a·name="write_resume_data_buf()"></a>
42 <a·name="write_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data_buf%28%29+write_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data_buf%28%29+write_resume_data%28%29%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="write-resume-data-buf-write-resume-data">69 <a·name="write_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data_buf%28%29+write_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data_buf%28%29+write_resume_data%28%29%22+could+be+improved">report·issue</a>]</span></div>
 70 <div·class="section"·id="write-resume-data-buf-write-resume-data">
43 <h1>write_resume_data_buf()·write_resume_data()</h1>71 <h1>write_resume_data_buf()·write_resume_data()</h1>
44 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>&quot;</p>72 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>&quot;</p>
45 <pre·class="literal-block">73 <pre·class="literal-block">
46 std::vector&lt;char&gt;·<strong>write_resume_data_buf</strong>·(add_torrent_params·const&amp;·atp);74 std::vector&lt;char&gt;·<strong>write_resume_data_buf</strong>·(add_torrent_params·const&amp;·atp);
47 entry·<strong>write_resume_data</strong>·(add_torrent_params·const&amp;·atp);75 entry·<strong>write_resume_data</strong>·(add_torrent_params·const&amp;·atp);
48 </pre>76 </pre>
49 <p>this·function·turns·the·resume·data·in·an·<tt·class="docutils·literal">add_torrent_params</tt>·object77 <p>this·function·turns·the·resume·data·in·an·<tt·class="docutils·literal">add_torrent_params</tt>·object
50 into·a·bencoded·structure</p>78 into·a·bencoded·structure</p>
51 <a·name="write_torrent_file()"></a>79 <a·name="write_torrent_file()"></a>
52 <a·name="write_torrent_file_buf()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_file%28%29+write_torrent_file_buf%28%29&labels=documentation&body=Documentation+under+heading+%22write_torrent_file%28%29+write_torrent_file_buf%28%29%22+could+be+improved">report·issue</a>]</span></div>80 <a·name="write_torrent_file_buf()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_file%28%29+write_torrent_file_buf%28%29&labels=documentation&body=Documentation+under+heading+%22write_torrent_file%28%29+write_torrent_file_buf%28%29%22+could+be+improved">report·issue</a>]</span></div>
53 <div·class="section"·id="write-torrent-file-write-torrent-file-buf">81 <div·class="section"·id="write-torrent-file-write-torrent-file-buf">
54 <h1>write_torrent_file()·write_torrent_file_buf()</h1>82 <h1>write_torrent_file()·write_torrent_file_buf()</h1>
55 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>&quot;</p>83 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>&quot;</p>
56 <pre·class="literal-block">84 <pre·class="literal-block">
57 entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&amp;·atp); 
58 std::vector&lt;char&gt;·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&amp;·atp85 std::vector&lt;char&gt;·<strong>write_torrent_file_buf</strong>·(add_torrent_params·const&amp;·atp
59 ···,·write_torrent_flags_t·flags);86 ···,·write_torrent_flags_t·flags);
60 entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&amp;·atp,·write_torrent_flags_t·flags);87 entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&amp;·atp,·write_torrent_flags_t·flags);
 88 entry·<strong>write_torrent_file</strong>·(add_torrent_params·const&amp;·atp);
61 </pre>89 </pre>
62 <p>writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail90 <p>writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail
63 with·a·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·exception·if:</p>91 with·a·<tt·class="docutils·literal"><span·class="pre">std::system_error</span></tt>·exception·if:</p>
64 <ul·class="simple">92 <ul·class="simple">
65 <li>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object·passed·to·this·function·does·not·contain·the93 <li>The·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object·passed·to·this·function·does·not·contain·the
66 info·dictionary·(the·<tt·class="docutils·literal">ti</tt>·field)</li>94 info·dictionary·(the·<tt·class="docutils·literal">ti</tt>·field)</li>
67 <li>The·piece·layers·are·not·complete·for·all·files·that·need·them</li>95 <li>The·piece·layers·are·not·complete·for·all·files·that·need·them</li>
68 </ul>96 </ul>
69 <p>The·<tt·class="docutils·literal">write_torrent_file_buf()</tt>·overload·returns·the·torrent·file·in97 <p>The·<tt·class="docutils·literal">write_torrent_file_buf()</tt>·overload·returns·the·torrent·file·in
70 bencoded·buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost98 bencoded·buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost
71 flexibility·to·add·custom·fields.</p>99 flexibility·to·add·custom·fields.</p>
72 <a·name="read_resume_data()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:read_resume_data%28%29&labels=documentation&body=Documentation+under+heading+%22read_resume_data%28%29%22+could+be+improved">report·issue</a>]</span></div> 
73 <div·class="section"·id="read-resume-data"> 
74 <h1>read_resume_data()</h1> 
75 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/read_resume_data.hpp">libtorrent/read_resume_data.hpp</a>&quot;</p> 
76 <pre·class="literal-block"> 
77 add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&amp;·rd 
78 ···,·error_code&amp;·ec,·int·piece_limit·=·0x200000); 
79 add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&amp;·rd 
80 ···,·int·piece_limit·=·0x200000); 
81 add_torrent_params·<strong>read_resume_data</strong>·(span&lt;char·const&gt;·buffer 
82 ···,·load_torrent_limits·const&amp;·cfg·=·{}); 
83 add_torrent_params·<strong>read_resume_data</strong>·(span&lt;char·const&gt;·buffer 
84 ···,·error_code&amp;·ec,·load_torrent_limits·const&amp;·cfg·=·{}); 
85 </pre> 
86 <p>these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate 
87 fields·in·an·<a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a>·object.·This·object·can·then·be·used·to·add 
88 the·actual·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·object·to·and·pass·to·session::add_torrent()·or 
89 session::async_add_torrent().</p> 
90 <p>If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume 
91 data,·e.g.·save_path,·those·fields·must·be·changed·after·loading·resume 
92 data·but·before·adding·the·torrent.</p> 
93 <p>The·<tt·class="docutils·literal">piece_limit</tt>·parameter·determines·the·largest·number·of·pieces 
94 allowed·in·the·torrent·that·may·be·loaded·as·part·of·the·resume·data,·if 
95 it·contains·an·<tt·class="docutils·literal">info</tt>·field.·The·overloads·that·take·a·flat·buffer·are 
96 instead·configured·with·limits·on·torrent·sizes·via·load_torrent·limits.</p> 
97 <p>In·order·to·support·large·torrents,·it·may·also·be·necessary·to·raise·the 
98 <a·class="reference·external"·href="reference-Settings.html#max_piece_count">settings_pack::max_piece_count</a>·setting·and·pass·a·higher·limit·to·calls 
99 to·<a·class="reference·external"·href="reference-Torrent_Info.html#parse_info_section()">torrent_info::parse_info_section()</a>.</p> 
100 <a·name="write_torrent_flags_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_flags_t&labels=documentation&body=Documentation+under+heading+%22write_torrent_flags_t%22+could+be+improved">report·issue</a>]</span></div>100 <a·name="write_torrent_flags_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_torrent_flags_t&labels=documentation&body=Documentation+under+heading+%22write_torrent_flags_t%22+could+be+improved">report·issue</a>]</span></div>
101 <div·class="section"·id="write-torrent-flags-t">101 <div·class="section"·id="write-torrent-flags-t">
102 <h1>write_torrent_flags_t</h1>102 <h1>write_torrent_flags_t</h1>
103 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>&quot;</p>103 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/write_resume_data.hpp">libtorrent/write_resume_data.hpp</a>&quot;</p>
104 <a·name="write_torrent_flags_t::allow_missing_piece_layer"></a><dl·class="docutils">104 <a·name="write_torrent_flags_t::allow_missing_piece_layer"></a><dl·class="docutils">
105 <dt>allow_missing_piece_layer</dt>105 <dt>allow_missing_piece_layer</dt>
106 <dd>this·makes·<a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·not·fail·when·attempting·to·write·a106 <dd>this·makes·<a·class="reference·external"·href="reference-Resume_Data.html#write_torrent_file()">write_torrent_file()</a>·not·fail·when·attempting·to·write·a
6.79 KB
html2text {}
    
Offset 1, 65 lines modifiedOffset 1, 65 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
 6 ····*·_\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
6 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)7 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
7 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8)8 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8)
8 ····*·_\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) 
9 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t9 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
10 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]10 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 11 *\x8**\x8**\x8**\x8**\x8**\x8*·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
 12 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p"
 13 add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd
 14 ···,·int·piece_limit·=·0x200000);
 15 add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd
 16 ···,·error_code&·ec,·int·piece_limit·=·0x200000);
 17 add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer
 18 ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{});
 19 add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer
 20 ···,·load_torrent_limits·const&·cfg·=·{});
 21 these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate
 22 fields·in·an·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·This·object·can·then·be·used·to·add·the
 23 actual·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·object·to·and·pass·to·session::add_torrent()·or·session::
 24 async_add_torrent().
 25 If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume·data,
 26 e.g.·save_path,·those·fields·must·be·changed·after·loading·resume·data·but
 27 before·adding·the·torrent.
 28 The·piece_limit·parameter·determines·the·largest·number·of·pieces·allowed·in
 29 the·torrent·that·may·be·loaded·as·part·of·the·resume·data,·if·it·contains·an
 30 info·field.·The·overloads·that·take·a·flat·buffer·are·instead·configured·with
 31 limits·on·torrent·sizes·via·load_torrent·limits.
 32 In·order·to·support·large·torrents,·it·may·also·be·necessary·to·raise·the
 33 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8:_\x8:_\x8m_\x8a_\x8x_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t·setting·and·pass·a·higher·limit·to·calls·to
 34 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8:_\x8:_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8).
 35 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
11 *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*36 *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
12 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p"37 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p"
13 std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp);38 std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp);
14 entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(add_torrent_params·const&·atp);39 entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(add_torrent_params·const&·atp);
15 this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a40 this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a
16 bencoded·structure41 bencoded·structure
17 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]42 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
18 *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*43 *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e(\x8()\x8)·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
19 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p"44 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p"
20 entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp); 
21 std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp45 std::vector<char>·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bu\x8uf\x8f·(add_torrent_params·const&·atp
22 ···,·write_torrent_flags_t·flags);46 ···,·write_torrent_flags_t·flags);
23 entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp,·write_torrent_flags_t47 entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp,·write_torrent_flags_t
24 flags);48 flags);
 49 entry·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fi\x8il\x8le\x8e·(add_torrent_params·const&·atp);
25 writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail·with·a50 writes·only·the·fields·to·create·a·.torrent·file.·This·function·may·fail·with·a
26 std::system_error·exception·if:51 std::system_error·exception·if:
27 ····*·The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object·passed·to·this·function·does·not·contain52 ····*·The·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object·passed·to·this·function·does·not·contain
28 ······the·info·dictionary·(the·ti·field)53 ······the·info·dictionary·(the·ti·field)
29 ····*·The·piece·layers·are·not·complete·for·all·files·that·need·them54 ····*·The·piece·layers·are·not·complete·for·all·files·that·need·them
30 The·write_torrent_file_buf()·overload·returns·the·torrent·file·in·bencoded55 The·write_torrent_file_buf()·overload·returns·the·torrent·file·in·bencoded
31 buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost·flexibility·to56 buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost·flexibility·to
32 add·custom·fields.57 add·custom·fields.
33 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]58 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
34 *\x8**\x8**\x8**\x8**\x8**\x8*·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8* 
35 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p" 
36 add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd 
37 ···,·error_code&·ec,·int·piece_limit·=·0x200000); 
38 add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(bdecode_node·const&·rd 
39 ···,·int·piece_limit·=·0x200000); 
40 add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer 
41 ···,·load_torrent_limits·const&·cfg·=·{}); 
42 add_torrent_params·r\x8re\x8ea\x8ad\x8d_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a·(span<char·const>·buffer 
43 ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{}); 
44 these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate 
45 fields·in·an·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·This·object·can·then·be·used·to·add·the 
46 actual·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·object·to·and·pass·to·session::add_torrent()·or·session:: 
47 async_add_torrent(). 
48 If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume·data, 
49 e.g.·save_path,·those·fields·must·be·changed·after·loading·resume·data·but 
50 before·adding·the·torrent. 
51 The·piece_limit·parameter·determines·the·largest·number·of·pieces·allowed·in 
52 the·torrent·that·may·be·loaded·as·part·of·the·resume·data,·if·it·contains·an 
53 info·field.·The·overloads·that·take·a·flat·buffer·are·instead·configured·with 
54 limits·on·torrent·sizes·via·load_torrent·limits. 
55 In·order·to·support·large·torrents,·it·may·also·be·necessary·to·raise·the 
56 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k_\x8:_\x8:_\x8m_\x8a_\x8x_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t·setting·and·pass·a·higher·limit·to·calls·to 
57 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8:_\x8:_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8). 
58 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
59 *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*59 *\x8**\x8**\x8**\x8**\x8**\x8*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_f\x8fl\x8la\x8ag\x8gs\x8s_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
60 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p"60 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8._\x8h_\x8p_\x8p"
61 ··allow_missing_piece_layer61 ··allow_missing_piece_layer
62 ······this·makes·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·not·fail·when·attempting·to·write·a·v262 ······this·makes·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·not·fail·when·attempting·to·write·a·v2
63 ······torrent·file·that·does·not·have·all·the·piece·layers63 ······torrent·file·that·does·not·have·all·the·piece·layers
64 ··no_http_seeds64 ··no_http_seeds
65 ······don't·include·http·seeds·in·the·torrent·file,·even·if·some·are·present·in65 ······don't·include·http·seeds·in·the·torrent·file,·even·if·some·are·present·in
114 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Session.html
    
Offset 28, 106 lines modifiedOffset 28, 186 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#session-handle"·id="toc-entry-1">session_handle</a><ul>35 <li><a·class="reference·internal"·href="#session-params"·id="toc-entry-1">session_params</a><ul>
36 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-2">is_valid()</a></li>36 <li><a·class="reference·internal"·href="#session-params-1"·id="toc-entry-2">session_params()</a></li>
37 <li><a·class="reference·internal"·href="#session-state"·id="toc-entry-3">session_state()</a></li>37 <li><a·class="reference·internal"·href="#session-params-2"·id="toc-entry-3">session_params()</a></li>
38 <li><a·class="reference·internal"·href="#get-torrent-status-refresh-torrent-status"·id="toc-entry-4">get_torrent_status()·refresh_torrent_status()</a></li> 
39 <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-5">post_torrent_updates()</a></li> 
40 <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-6">post_session_stats()</a></li> 
41 <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-7">post_dht_stats()</a></li> 
42 <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-8">set_dht_state()</a></li> 
43 <li><a·class="reference·internal"·href="#get-torrents-find-torrent"·id="toc-entry-9">get_torrents()·find_torrent()</a></li> 
44 <li><a·class="reference·internal"·href="#add-torrent-async-add-torrent"·id="toc-entry-10">add_torrent()·async_add_torrent()</a></li> 
45 <li><a·class="reference·internal"·href="#resume-is-paused-pause"·id="toc-entry-11">resume()·is_paused()·pause()</a></li> 
46 <li><a·class="reference·internal"·href="#is-dht-running"·id="toc-entry-12">is_dht_running()</a></li> 
47 <li><a·class="reference·internal"·href="#set-dht-storage"·id="toc-entry-13">set_dht_storage()</a></li> 
48 <li><a·class="reference·internal"·href="#add-dht-node"·id="toc-entry-14">add_dht_node()</a></li> 
49 <li><a·class="reference·internal"·href="#dht-get-item"·id="toc-entry-15">dht_get_item()</a></li> 
50 <li><a·class="reference·internal"·href="#dht-get-item-1"·id="toc-entry-16">dht_get_item()</a></li> 
51 <li><a·class="reference·internal"·href="#dht-put-item"·id="toc-entry-17">dht_put_item()</a></li> 
52 <li><a·class="reference·internal"·href="#dht-put-item-1"·id="toc-entry-18">dht_put_item()</a></li> 
53 <li><a·class="reference·internal"·href="#dht-announce-dht-get-peers"·id="toc-entry-19">dht_announce()·dht_get_peers()</a></li> 
54 <li><a·class="reference·internal"·href="#dht-live-nodes"·id="toc-entry-20">dht_live_nodes()</a></li> 
55 <li><a·class="reference·internal"·href="#dht-sample-infohashes"·id="toc-entry-21">dht_sample_infohashes()</a></li> 
56 <li><a·class="reference·internal"·href="#dht-direct-request"·id="toc-entry-22">dht_direct_request()</a></li> 
57 <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-23">add_extension()</a></li> 
58 <li><a·class="reference·internal"·href="#get-ip-filter-set-ip-filter"·id="toc-entry-24">get_ip_filter()·set_ip_filter()</a></li> 
59 <li><a·class="reference·internal"·href="#set-port-filter"·id="toc-entry-25">set_port_filter()</a></li> 
60 <li><a·class="reference·internal"·href="#listen-port-is-listening-ssl-listen-port"·id="toc-entry-26">listen_port()·is_listening()·ssl_listen_port()</a></li> 
61 <li><a·class="reference·internal"·href="#get-peer-class-filter-set-peer-class-filter"·id="toc-entry-27">get_peer_class_filter()·set_peer_class_filter()</a></li> 
62 <li><a·class="reference·internal"·href="#get-peer-class-type-filter-set-peer-class-type-filter"·id="toc-entry-28">get_peer_class_type_filter()·set_peer_class_type_filter()</a></li> 
63 <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-29">create_peer_class()</a></li> 
64 <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-30">delete_peer_class()</a></li> 
65 <li><a·class="reference·internal"·href="#get-peer-class-set-peer-class"·id="toc-entry-31">get_peer_class()·set_peer_class()</a></li> 
66 <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-32">remove_torrent()</a></li> 
67 <li><a·class="reference·internal"·href="#apply-settings-get-settings"·id="toc-entry-33">apply_settings()·get_settings()</a></li> 
68 <li><a·class="reference·internal"·href="#wait-for-alert-set-alert-notify-pop-alerts"·id="toc-entry-34">wait_for_alert()·set_alert_notify()·pop_alerts()</a></li> 
69 <li><a·class="reference·internal"·href="#delete-port-mapping-add-port-mapping"·id="toc-entry-35">delete_port_mapping()·add_port_mapping()</a></li> 
70 <li><a·class="reference·internal"·href="#reopen-network-sockets"·id="toc-entry-36">reopen_network_sockets()</a></li> 
71 <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-37">native_handle()</a></li> 
72 </ul>38 </ul>
73 </li>39 </li>
74 <li><a·class="reference·internal"·href="#session-proxy"·id="toc-entry-38">session_proxy</a><ul>40 <li><a·class="reference·internal"·href="#session-handle"·id="toc-entry-4">session_handle</a><ul>
75 <li><a·class="reference·internal"·href="#session-proxy-operator-session-proxy"·id="toc-entry-39">~session_proxy()·operator=()·session_proxy()</a></li>41 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-5">is_valid()</a></li>
 42 <li><a·class="reference·internal"·href="#session-state"·id="toc-entry-6">session_state()</a></li>
 43 <li><a·class="reference·internal"·href="#refresh-torrent-status-get-torrent-status"·id="toc-entry-7">refresh_torrent_status()·get_torrent_status()</a></li>
 44 <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-8">post_torrent_updates()</a></li>
 45 <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-9">post_session_stats()</a></li>
 46 <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-10">post_dht_stats()</a></li>
 47 <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-11">set_dht_state()</a></li>
 48 <li><a·class="reference·internal"·href="#find-torrent-get-torrents"·id="toc-entry-12">find_torrent()·get_torrents()</a></li>
 49 <li><a·class="reference·internal"·href="#add-torrent-async-add-torrent"·id="toc-entry-13">add_torrent()·async_add_torrent()</a></li>
 50 <li><a·class="reference·internal"·href="#is-paused-resume-pause"·id="toc-entry-14">is_paused()·resume()·pause()</a></li>
 51 <li><a·class="reference·internal"·href="#is-dht-running"·id="toc-entry-15">is_dht_running()</a></li>
 52 <li><a·class="reference·internal"·href="#set-dht-storage"·id="toc-entry-16">set_dht_storage()</a></li>
 53 <li><a·class="reference·internal"·href="#add-dht-node"·id="toc-entry-17">add_dht_node()</a></li>
 54 <li><a·class="reference·internal"·href="#dht-get-item"·id="toc-entry-18">dht_get_item()</a></li>
 55 <li><a·class="reference·internal"·href="#dht-get-item-1"·id="toc-entry-19">dht_get_item()</a></li>
 56 <li><a·class="reference·internal"·href="#dht-put-item"·id="toc-entry-20">dht_put_item()</a></li>
 57 <li><a·class="reference·internal"·href="#dht-put-item-1"·id="toc-entry-21">dht_put_item()</a></li>
 58 <li><a·class="reference·internal"·href="#dht-get-peers-dht-announce"·id="toc-entry-22">dht_get_peers()·dht_announce()</a></li>
 59 <li><a·class="reference·internal"·href="#dht-live-nodes"·id="toc-entry-23">dht_live_nodes()</a></li>
 60 <li><a·class="reference·internal"·href="#dht-sample-infohashes"·id="toc-entry-24">dht_sample_infohashes()</a></li>
 61 <li><a·class="reference·internal"·href="#dht-direct-request"·id="toc-entry-25">dht_direct_request()</a></li>
 62 <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-26">add_extension()</a></li>
 63 <li><a·class="reference·internal"·href="#set-ip-filter-get-ip-filter"·id="toc-entry-27">set_ip_filter()·get_ip_filter()</a></li>
 64 <li><a·class="reference·internal"·href="#set-port-filter"·id="toc-entry-28">set_port_filter()</a></li>
 65 <li><a·class="reference·internal"·href="#is-listening-listen-port-ssl-listen-port"·id="toc-entry-29">is_listening()·listen_port()·ssl_listen_port()</a></li>
 66 <li><a·class="reference·internal"·href="#get-peer-class-filter-set-peer-class-filter"·id="toc-entry-30">get_peer_class_filter()·set_peer_class_filter()</a></li>
 67 <li><a·class="reference·internal"·href="#get-peer-class-type-filter-set-peer-class-type-filter"·id="toc-entry-31">get_peer_class_type_filter()·set_peer_class_type_filter()</a></li>
 68 <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-32">create_peer_class()</a></li>
 69 <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-33">delete_peer_class()</a></li>
 70 <li><a·class="reference·internal"·href="#set-peer-class-get-peer-class"·id="toc-entry-34">set_peer_class()·get_peer_class()</a></li>
 71 <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-35">remove_torrent()</a></li>
 72 <li><a·class="reference·internal"·href="#get-settings-apply-settings"·id="toc-entry-36">get_settings()·apply_settings()</a></li>
 73 <li><a·class="reference·internal"·href="#pop-alerts-set-alert-notify-wait-for-alert"·id="toc-entry-37">pop_alerts()·set_alert_notify()·wait_for_alert()</a></li>
 74 <li><a·class="reference·internal"·href="#delete-port-mapping-add-port-mapping"·id="toc-entry-38">delete_port_mapping()·add_port_mapping()</a></li>
 75 <li><a·class="reference·internal"·href="#reopen-network-sockets"·id="toc-entry-39">reopen_network_sockets()</a></li>
 76 <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-40">native_handle()</a></li>
76 </ul>77 </ul>
77 </li>78 </li>
78 <li><a·class="reference·internal"·href="#session"·id="toc-entry-40">session</a><ul>79 <li><a·class="reference·internal"·href="#session-proxy"·id="toc-entry-41">session_proxy</a><ul>
 80 <li><a·class="reference·internal"·href="#session-proxy-session-proxy-operator"·id="toc-entry-42">session_proxy()·~session_proxy()·operator=()</a></li>
79 <li><a·class="reference·internal"·href="#session-1"·id="toc-entry-41">session()</a></li> 
80 <li><a·class="reference·internal"·href="#session-2"·id="toc-entry-42">session()</a></li> 
81 <li><a·class="reference·internal"·href="#session-3"·id="toc-entry-43">~session()</a></li> 
82 <li><a·class="reference·internal"·href="#abort"·id="toc-entry-44">abort()</a></li> 
83 </ul>81 </ul>
84 </li>82 </li>
85 <li><a·class="reference·internal"·href="#session-params"·id="toc-entry-45">session_params</a><ul>83 <li><a·class="reference·internal"·href="#session"·id="toc-entry-43">session</a><ul>
86 <li><a·class="reference·internal"·href="#session-params-1"·id="toc-entry-46">session_params()</a></li>84 <li><a·class="reference·internal"·href="#session-1"·id="toc-entry-44">session()</a></li>
87 <li><a·class="reference·internal"·href="#session-params-2"·id="toc-entry-47">session_params()</a></li>85 <li><a·class="reference·internal"·href="#session-2"·id="toc-entry-45">session()</a></li>
 86 <li><a·class="reference·internal"·href="#session-3"·id="toc-entry-46">~session()</a></li>
 87 <li><a·class="reference·internal"·href="#abort"·id="toc-entry-47">abort()</a></li>
88 </ul>88 </ul>
89 </li>89 </li>
90 <li><a·class="reference·internal"·href="#write-session-params-read-session-params-write-session-params-buf"·id="toc-entry-48">write_session_params()·read_session_params()·write_session_params_buf()</a></li>90 <li><a·class="reference·internal"·href="#read-session-params-write-session-params-buf-write-session-params"·id="toc-entry-48">read_session_params()·write_session_params_buf()·write_session_params()</a></li>
91 </ul>91 </ul>
92 </div>92 </div>
 93 <a·name="session_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session_params&labels=documentation&body=Documentation+under+heading+%22class+session_params%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-params">
 94 <h1>session_params</h1>
 95 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session_params.hpp">libtorrent/session_params.hpp</a>&quot;</p>
 96 <p>The·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>·is·a·parameters·pack·for·configuring·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>
 97 before·it's·started.</p>
 98 <pre·class="literal-block">
 99 struct·session_params
 100 {
 101 ···<strong>session_params</strong>·(settings_pack&amp;&amp;·sp);
 102 ···<strong>session_params</strong>·();
 103 ···<strong>session_params</strong>·(settings_pack·const&amp;·sp);
 104 ···<strong>session_params</strong>·(settings_pack&amp;&amp;·sp
 105 ······,·std::vector&lt;std::shared_ptr&lt;plugin&gt;&gt;·exts);
 106 ···<strong>session_params</strong>·(settings_pack·const&amp;·sp
 107 ······,·std::vector&lt;std::shared_ptr&lt;plugin&gt;&gt;·exts);
  
 108 ···settings_pack·settings;
 109 ···std::vector&lt;std::shared_ptr&lt;plugin&gt;&gt;·extensions;
 110 ···dht::dht_state·dht_state;
 111 ···dht::dht_storage_constructor_type·dht_storage_constructor;
 112 ···disk_io_constructor_type·disk_io_constructor;
 113 ···std::map&lt;std::string,·std::string&gt;·ext_state;
 114 ···libtorrent::ip_filter·ip_filter;
 115 };
Max diff block lines reached; 51790/70944 bytes (73.00%) of diff not shown.
44.1 KB
html2text {}
    
Offset 1, 95 lines modifiedOffset 1, 159 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
 6 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s
 7 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)
 8 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)
6 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e9 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
7 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)10 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)
8 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8)11 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8)
9 ··········o·_\x8g_.e_.t_.__.t_.o_.r_.r_.e_.n_.t_.__.s_.t_.a_.t_.u_.s_.(_.)_.·_.r_.e_.f_.r_.e_.s_.h_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)12 ··········o·_\x8r_.e_.f_.r_.e_.s_.h_.__.t_.o_.r_.r_.e_.n_.t_.__.s_.t_.a_.t_.u_.s_.(_.)_.·_.g_.e_.t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)
10 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8)13 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8)
11 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8)14 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8)
12 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8)15 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8)
13 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8)16 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8)
14 ··········o·_\x8g_.e_.t_.__.t_.o_.r_.r_.e_.n_.t_.s_.(_.)_.·_.f_.i_.n_.d_.__.t_.o_.r_.r_.e_.n_.t_\x8(_\x8)17 ··········o·_\x8f_.i_.n_.d_.__.t_.o_.r_.r_.e_.n_.t_.(_.)_.·_.g_.e_.t_.__.t_.o_.r_.r_.e_.n_.t_.s_\x8(_\x8)
15 ··········o·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)18 ··········o·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
16 ··········o·_\x8r_.e_.s_.u_.m_.e_.(_.)_.·_.i_.s_.__.p_.a_.u_.s_.e_.d_\x8(_\x8)_\x8·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)19 ··········o·_\x8i_.s_.__.p_.a_.u_.s_.e_.d_.(_.)_.·_.r_.e_.s_.u_.m_.e_\x8(_\x8)_\x8·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)
17 ··········o·_\x8i_\x8s_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8u_\x8n_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)20 ··········o·_\x8i_\x8s_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8u_\x8n_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)
18 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8)21 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8)
19 ··········o·_\x8a_\x8d_\x8d_\x8__\x8d_\x8h_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)22 ··········o·_\x8a_\x8d_\x8d_\x8__\x8d_\x8h_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)
20 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)23 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
21 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)24 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
22 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)25 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
23 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)26 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
24 ··········o·_\x8d_\x8h_\x8t_\x8__\x8a_.n_.n_.o_.u_.n_.c_.e_.(_.)_.·_.d_.h_.t_.__.g_.e_.t_.__.p_.e_.e_.r_.s_\x8(_\x8)27 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_.e_.t_.__.p_.e_.e_.r_.s_.(_.)_.·_.d_.h_.t_.__.a_.n_.n_.o_.u_.n_.c_.e_\x8(_\x8)
25 ··········o·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)28 ··········o·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)
26 ··········o·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)29 ··········o·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)
27 ··········o·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)30 ··········o·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)
28 ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)31 ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
29 ··········o·_\x8g_.e_.t_.__.i_.p_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.s_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)32 ··········o·_\x8s_.e_.t_.__.i_.p_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.g_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)
30 ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)33 ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)
31 ··········o·_\x8l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_.i_.s_.__.l_.i_.s_.t_.e_.n_.i_.n_.g_\x8(_\x8)_\x8·_\x8s_\x8s_\x8l_\x8__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8)34 ··········o·_\x8i_.s_.__.l_.i_.s_.t_.e_.n_.i_.n_.g_.(_.)_.·_.l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_\x8(_\x8)_\x8·_\x8s_\x8s_\x8l_\x8__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8)
32 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)35 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)
33 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)36 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)
34 ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)37 ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)
35 ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)38 ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)
36 ··········o·_\x8g_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.(_.)_.·_.s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)39 ··········o·_\x8s_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.(_.)_.·_.g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)
37 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)40 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
38 ··········o·_\x8a_.p_.p_.l_.y_.__.s_.e_.t_.t_.i_.n_.g_.s_.(_.)_.·_.g_.e_.t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)41 ··········o·_\x8g_.e_.t_.__.s_.e_.t_.t_.i_.n_.g_.s_.(_.)_.·_.a_.p_.p_.l_.y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)
39 ··········o·_\x8w_.a_.i_.t_.__.f_.o_.r_.__.a_.l_.e_.r_.t_.(_.)_.·_.s_.e_.t_.__.a_.l_.e_.r_.t_.__.n_.o_.t_.i_.f_.y_.(_.)_.·_.p_.o_.p_.__.a_.l_.e_.r_.t_.s_\x8(_\x8)42 ··········o·_\x8p_.o_.p_.__.a_.l_.e_.r_.t_.s_.(_.)_.·_.s_.e_.t_.__.a_.l_.e_.r_.t_.__.n_.o_.t_.i_.f_.y_.(_.)_.·_.w_.a_.i_.t_.__.f_.o_.r_.__.a_.l_.e_.r_.t_\x8(_\x8)
40 ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8)43 ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8)
41 ··········o·_\x8r_\x8e_\x8o_\x8p_\x8e_\x8n_\x8__\x8n_\x8e_\x8t_\x8w_\x8o_\x8r_\x8k_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8s_\x8(_\x8)44 ··········o·_\x8r_\x8e_\x8o_\x8p_\x8e_\x8n_\x8__\x8n_\x8e_\x8t_\x8w_\x8o_\x8r_\x8k_\x8__\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8s_\x8(_\x8)
42 ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8)45 ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8)
43 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y46 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y
44 ··········o·_\x8~_.s_.e_.s_.s_.i_.o_.n_.__.p_.r_.o_.x_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.(_.)_.·_.s_.e_.s_.s_.i_.o_.n_.__.p_.r_.o_.x_.y_\x8(_\x8)47 ··········o·_\x8s_.e_.s_.s_.i_.o_.n_.__.p_.r_.o_.x_.y_.(_.)_.·_.~_.s_.e_.s_.s_.i_.o_.n_.__.p_.r_.o_.x_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_\x8(_\x8)
45 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n48 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n
46 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)49 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
47 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)50 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
48 ··········o·_\x8~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)51 ··········o·_\x8~_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
49 ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8)52 ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8)
50 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s 
51 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) 
52 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) 
53 ····*·_\x8w_.r_.i_.t_.e_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_.(_.)_.·_.r_.e_.a_.d_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_.(_.)_.·_.w_.r_.i_.t_.e_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_.__.b_.u_.f_\x8(_\x8)53 ····*·_\x8r_.e_.a_.d_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_.(_.)_.·_.w_.r_.i_.t_.e_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_.__.b_.u_.f_.(_.)_.·_.w_.r_.i_.t_.e_.__.s_.e_.s_.s_.i_.o_.n_.__.p_.a_.r_.a_.m_.s_\x8(_\x8)
 54 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 55 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
 56 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8._\x8h_\x8p_\x8p"
 57 The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·is·a·parameters·pack·for·configuring·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·before·it's
 58 started.
 59 struct·session_params
 60 {
 61 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp);
 62 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·();
 63 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp);
 64 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp
 65 ······,·std::vector<std::shared_ptr<plugin>>·exts);
 66 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp
 67 ······,·std::vector<std::shared_ptr<plugin>>·exts);
  
 68 ···settings_pack·settings;
 69 ···std::vector<std::shared_ptr<plugin>>·extensions;
 70 ···dht::dht_state·dht_state;
 71 ···dht::dht_storage_constructor_type·dht_storage_constructor;
 72 ···disk_io_constructor_type·disk_io_constructor;
 73 ···std::map<std::string,·std::string>·ext_state;
 74 ···libtorrent::ip_filter·ip_filter;
 75 };
 76 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 77 *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 78 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp);
 79 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·();
 80 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp);
 81 This·constructor·can·be·used·to·start·with·the·default·plugins·(ut_metadata,
 82 ut_pex·and·smart_ban).·Pass·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·to·set·the·initial·settings·when
 83 the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·starts.
 84 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 85 *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 86 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack&&·sp
 87 ······,·std::vector<std::shared_ptr<plugin>>·exts);
 88 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·(settings_pack·const&·sp
 89 ······,·std::vector<std::shared_ptr<plugin>>·exts);
 90 This·constructor·helps·to·configure·the·set·of·initial·plugins·to·be·added·to
 91 the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·before·it's·started.
 92 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 93 ··settings
 94 ······The·settings·to·configure·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·with
 95 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 96 ··extensions
 97 ······the·plugins·to·add·to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·as·it·is·constructed
 98 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 99 ··dht_state
 100 ······DHT·node·ID·and·node·addresses·to·bootstrap·the·DHT·with.
 101 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 102 ··dht_storage_constructor
 103 ······function·object·to·construct·the·storage·object·for·DHT·items.
 104 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 105 ··disk_io_constructor
 106 ······function·object·to·create·the·disk·I/O·subsystem.·Defaults·to
 107 ······default_disk_io_constructor.
 108 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 109 ··ext_state
 110 ······this·container·can·be·used·by·extensions/plugins·to·store·settings.·It's
 111 ······primarily·here·to·make·it·convenient·to·save·and·restore·state·across
 112 ······sessions,·using·_\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)·and·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8).
 113 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 114 ··ip_filter
 115 ······the·IP·filter·to·use·for·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·This·restricts·which·peers·are
 116 ······allowed·to·connect.·As·if·passed·to·_\x8s_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8).
54 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]117 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
55 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*118 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
56 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p"119 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p"
57 this·class·provides·a·non-owning·handle·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·and·a·subset·of·the120 this·class·provides·a·non-owning·handle·to·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·and·a·subset·of·the
58 interface·of·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·class.·If·the·underlying·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·destructed·any121 interface·of·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·class.·If·the·underlying·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·destructed·any
59 handle·to·it·will·no·longer·be·valid.·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)·will·return·false·and·any122 handle·to·it·will·no·longer·be·valid.·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)·will·return·false·and·any
60 operation·on·it·will·throw·a·system_error·exception,·with·error·code123 operation·on·it·will·throw·a·system_error·exception,·with·error·code
Max diff block lines reached; 35389/45173 bytes (78.34%) of diff not shown.
32.2 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Settings.html
    
Offset 29, 35 lines modifiedOffset 29, 35 lines modified
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#settings-pack"·id="toc-entry-1">settings_pack</a><ul>35 <li><a·class="reference·internal"·href="#settings-pack"·id="toc-entry-1">settings_pack</a><ul>
36 <li><a·class="reference·internal"·href="#set-str-set-int-set-bool"·id="toc-entry-2">set_str()·set_int()·set_bool()</a></li>36 <li><a·class="reference·internal"·href="#set-bool-set-int-set-str"·id="toc-entry-2">set_bool()·set_int()·set_str()</a></li>
37 <li><a·class="reference·internal"·href="#has-val"·id="toc-entry-3">has_val()</a></li>37 <li><a·class="reference·internal"·href="#has-val"·id="toc-entry-3">has_val()</a></li>
38 <li><a·class="reference·internal"·href="#clear"·id="toc-entry-4">clear()</a></li>38 <li><a·class="reference·internal"·href="#clear"·id="toc-entry-4">clear()</a></li>
39 <li><a·class="reference·internal"·href="#clear-1"·id="toc-entry-5">clear()</a></li>39 <li><a·class="reference·internal"·href="#clear-1"·id="toc-entry-5">clear()</a></li>
40 <li><a·class="reference·internal"·href="#get-int-get-str-get-bool"·id="toc-entry-6">get_int()·get_str()·get_bool()</a></li>40 <li><a·class="reference·internal"·href="#get-int-get-bool-get-str"·id="toc-entry-6">get_int()·get_bool()·get_str()</a></li>
41 <li><a·class="reference·internal"·href="#enum-type-bases"·id="toc-entry-7">enum·type_bases</a></li>41 <li><a·class="reference·internal"·href="#enum-type-bases"·id="toc-entry-7">enum·type_bases</a></li>
42 <li><a·class="reference·internal"·href="#enum-mmap-write-mode-t"·id="toc-entry-8">enum·mmap_write_mode_t</a></li>42 <li><a·class="reference·internal"·href="#enum-mmap-write-mode-t"·id="toc-entry-8">enum·mmap_write_mode_t</a></li>
43 <li><a·class="reference·internal"·href="#enum-suggest-mode-t"·id="toc-entry-9">enum·suggest_mode_t</a></li>43 <li><a·class="reference·internal"·href="#enum-suggest-mode-t"·id="toc-entry-9">enum·suggest_mode_t</a></li>
44 <li><a·class="reference·internal"·href="#enum-choking-algorithm-t"·id="toc-entry-10">enum·choking_algorithm_t</a></li>44 <li><a·class="reference·internal"·href="#enum-choking-algorithm-t"·id="toc-entry-10">enum·choking_algorithm_t</a></li>
45 <li><a·class="reference·internal"·href="#enum-seed-choking-algorithm-t"·id="toc-entry-11">enum·seed_choking_algorithm_t</a></li>45 <li><a·class="reference·internal"·href="#enum-seed-choking-algorithm-t"·id="toc-entry-11">enum·seed_choking_algorithm_t</a></li>
46 <li><a·class="reference·internal"·href="#enum-io-buffer-mode-t"·id="toc-entry-12">enum·io_buffer_mode_t</a></li>46 <li><a·class="reference·internal"·href="#enum-io-buffer-mode-t"·id="toc-entry-12">enum·io_buffer_mode_t</a></li>
47 <li><a·class="reference·internal"·href="#enum-bandwidth-mixed-algo-t"·id="toc-entry-13">enum·bandwidth_mixed_algo_t</a></li>47 <li><a·class="reference·internal"·href="#enum-bandwidth-mixed-algo-t"·id="toc-entry-13">enum·bandwidth_mixed_algo_t</a></li>
48 <li><a·class="reference·internal"·href="#enum-enc-policy"·id="toc-entry-14">enum·enc_policy</a></li>48 <li><a·class="reference·internal"·href="#enum-enc-policy"·id="toc-entry-14">enum·enc_policy</a></li>
49 <li><a·class="reference·internal"·href="#enum-enc-level"·id="toc-entry-15">enum·enc_level</a></li>49 <li><a·class="reference·internal"·href="#enum-enc-level"·id="toc-entry-15">enum·enc_level</a></li>
50 <li><a·class="reference·internal"·href="#enum-proxy-type-t"·id="toc-entry-16">enum·proxy_type_t</a></li>50 <li><a·class="reference·internal"·href="#enum-proxy-type-t"·id="toc-entry-16">enum·proxy_type_t</a></li>
51 </ul>51 </ul>
52 </li>52 </li>
53 <li><a·class="reference·internal"·href="#min-memory-usage-high-performance-seed"·id="toc-entry-17">min_memory_usage()·high_performance_seed()</a></li> 
54 <li><a·class="reference·internal"·href="#name-for-setting-setting-by-name"·id="toc-entry-18">name_for_setting()·setting_by_name()</a></li> 
55 <li><a·class="reference·internal"·href="#default-settings"·id="toc-entry-19">default_settings()</a></li> 
56 <li><a·class="reference·internal"·href="#generate-fingerprint"·id="toc-entry-20">generate_fingerprint()</a></li>53 <li><a·class="reference·internal"·href="#generate-fingerprint"·id="toc-entry-17">generate_fingerprint()</a></li>
 54 <li><a·class="reference·internal"·href="#high-performance-seed-min-memory-usage"·id="toc-entry-18">high_performance_seed()·min_memory_usage()</a></li>
 55 <li><a·class="reference·internal"·href="#setting-by-name-name-for-setting"·id="toc-entry-19">setting_by_name()·name_for_setting()</a></li>
 56 <li><a·class="reference·internal"·href="#default-settings"·id="toc-entry-20">default_settings()</a></li>
57 </ul>57 </ul>
58 </div>58 </div>
59 <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings()59 <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings()
60 member·function.·To·change·one·or·more·configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>60 member·function.·To·change·one·or·more·configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>
61 object·and·fill·it·with·the·settings·to·be·set·and·pass·it·in·to·session::apply_settings().</p>61 object·and·fill·it·with·the·settings·to·be·set·and·pass·it·in·to·session::apply_settings().</p>
62 <p>The·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·object·is·a·collection·of·settings·updates·that·are·applied62 <p>The·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·object·is·a·collection·of·settings·updates·that·are·applied
63 to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·when·passed·to·session::apply_settings().·It's·empty·when63 to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·when·passed·to·session::apply_settings().·It's·empty·when
Offset 4562, 23 lines modifiedOffset 4562, 23 lines modified
4562 i2p_port).</p>4562 i2p_port).</p>
4563 <pre·class="literal-block">4563 <pre·class="literal-block">
4564 struct·settings_pack·final·:·settings_interface4564 struct·settings_pack·final·:·settings_interface
4565 {4565 {
4566 ···friend··void·<strong>apply_pack_impl</strong>·(settings_pack·const*4566 ···friend··void·<strong>apply_pack_impl</strong>·(settings_pack·const*
4567 ······,·aux::session_settings_single_thread&amp;4567 ······,·aux::session_settings_single_thread&amp;
4568 ······,·std::vector&lt;void(aux::session_impl::*)()&gt;*);4568 ······,·std::vector&lt;void(aux::session_impl::*)()&gt;*);
 4569 ···void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag&lt;Type,·Tag&gt;·const·val);
4569 ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override;4570 ···void·<strong>set_bool</strong>·(int·name,·bool·val)·override;
4570 ···void·<strong>set_int</strong>·(int·name,·int·val)·override;4571 ···void·<strong>set_int</strong>·(int·name,·int·val)·override;
4571 ···void·<strong>set_str</strong>·(int·name,·std::string·val)·override;4572 ···void·<strong>set_str</strong>·(int·name,·std::string·val)·override;
4572 ···void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag&lt;Type,·Tag&gt;·const·val); 
4573 ···bool·<strong>has_val</strong>·(int·name)·const·override;4573 ···bool·<strong>has_val</strong>·(int·name)·const·override;
4574 ···void·<strong>clear</strong>·();4574 ···void·<strong>clear</strong>·();
4575 ···void·<strong>clear</strong>·(int·name);4575 ···void·<strong>clear</strong>·(int·name);
4576 ···std::string·const&amp;·<strong>get_str</strong>·(int·name)·const·override; 
4577 ···bool·<strong>get_bool</strong>·(int·name)·const·override;4576 ···bool·<strong>get_bool</strong>·(int·name)·const·override;
 4577 ···std::string·const&amp;·<strong>get_str</strong>·(int·name)·const·override;
4578 ···int·<strong>get_int</strong>·(int·name)·const·override;4578 ···int·<strong>get_int</strong>·(int·name)·const·override;
4579 ···void·<strong>for_each</strong>·(Fun&amp;&amp;·f)·const;4579 ···void·<strong>for_each</strong>·(Fun&amp;&amp;·f)·const;
  
4580 ···enum·type_bases4580 ···enum·type_bases
4581 ···{4581 ···{
4582 ······string_type_base,4582 ······string_type_base,
4583 ······int_type_base,4583 ······int_type_base,
Offset 4649, 23 lines modifiedOffset 4649, 23 lines modified
4649 ······socks5,4649 ······socks5,
4650 ······socks5_pw,4650 ······socks5_pw,
4651 ······http,4651 ······http,
4652 ······http_pw,4652 ······http_pw,
4653 ···};4653 ···};
4654 };4654 };
4655 </pre>4655 </pre>
4656 <a·name="set_str()"></a>4656 <a·name="set_bool()"></a>
4657 <a·name="set_int()"></a>4657 <a·name="set_int()"></a>
4658 <a·name="set_bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bset_str%28%29+set_int%28%29+set_bool%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bse[·...·truncated·by·diffoscope;·len:·139,·SHA:·d11e13841c0d47dbcfab6ac1e8c1001efcb0aa6e53fbccbdf208806b824a003f·...·]">4658 <a·name="set_str()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bset_bool%28%29+set_int%28%29+set_str%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bset[·...·truncated·by·diffoscope;·len:·138,·SHA:·d6cfb3d8118d18bd8e45fc123d148aac8c4df0bef8d7eee1121ee165dabdf597·...·]">
4659 <h2>set_str()·set_int()·set_bool()</h2>4659 <h2>set_bool()·set_int()·set_str()</h2>
4660 <pre·class="literal-block">4660 <pre·class="literal-block">
 4661 void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag&lt;Type,·Tag&gt;·const·val);
4661 void·<strong>set_bool</strong>·(int·name,·bool·val)·override;4662 void·<strong>set_bool</strong>·(int·name,·bool·val)·override;
4662 void·<strong>set_int</strong>·(int·name,·int·val)·override;4663 void·<strong>set_int</strong>·(int·name,·int·val)·override;
4663 void·<strong>set_str</strong>·(int·name,·std::string·val)·override;4664 void·<strong>set_str</strong>·(int·name,·std::string·val)·override;
4664 void·<strong>set_int</strong>·(int·name,·flags::bitfield_flag&lt;Type,·Tag&gt;·const·val); 
4665 </pre>4665 </pre>
4666 <p>set·a·configuration·option·in·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·<tt·class="docutils·literal">name</tt>·is·one·of4666 <p>set·a·configuration·option·in·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·<tt·class="docutils·literal">name</tt>·is·one·of
4667 the·enum·values·from·string_types,·int_types·or·bool_types.·They·must4667 the·enum·values·from·string_types,·int_types·or·bool_types.·They·must
4668 match·the·respective·type·of·the·set_*·function.</p>4668 match·the·respective·type·of·the·set_*·function.</p>
4669 <a·name="has_val()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bhas_val%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bhas_val%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>4669 <a·name="has_val()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bhas_val%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bhas_val%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
4670 <div·class="section"·id="has-val">4670 <div·class="section"·id="has-val">
4671 <h2>has_val()</h2>4671 <h2>has_val()</h2>
Offset 4686, 21 lines modifiedOffset 4686, 21 lines modified
4686 <div·class="section"·id="clear-1">4686 <div·class="section"·id="clear-1">
4687 <h2>clear()</h2>4687 <h2>clear()</h2>
4688 <pre·class="literal-block">4688 <pre·class="literal-block">
4689 void·<strong>clear</strong>·(int·name);4689 void·<strong>clear</strong>·(int·name);
4690 </pre>4690 </pre>
4691 <p>clear·a·specific·setting·from·the·pack</p>4691 <p>clear·a·specific·setting·from·the·pack</p>
4692 <a·name="get_int()"></a>4692 <a·name="get_int()"></a>
4693 <a·name="get_str()"></a>4693 <a·name="get_bool()"></a>
4694 <a·name="get_bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bget_int%28%29+get_str%28%29+get_bool%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bge[·...·truncated·by·diffoscope;·len:·34,·SHA:·55ac35b9e12a53fbd3329d87741e88dad19fbbb975fdab722228cff53c63b766·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>4694 <a·name="get_str()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bget_int%28%29+get_bool%28%29+get_str%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bget[·...·truncated·by·diffoscope;·len:·33,·SHA:·04e52b2c117044f0f45737b0a11282afc65e38a2646372f2ce2a0e38c9f774f6·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
4695 <div·class="section"·id="get-int-get-str-get-bool">4695 <div·class="section"·id="get-int-get-bool-get-str">
4696 <h2>get_int()·get_str()·get_bool()</h2>4696 <h2>get_int()·get_bool()·get_str()</h2>
4697 <pre·class="literal-block">4697 <pre·class="literal-block">
4698 std::string·const&amp;·<strong>get_str</strong>·(int·name)·const·override; 
4699 bool·<strong>get_bool</strong>·(int·name)·const·override;4698 bool·<strong>get_bool</strong>·(int·name)·const·override;
 4699 std::string·const&amp;·<strong>get_str</strong>·(int·name)·const·override;
4700 int·<strong>get_int</strong>·(int·name)·const·override;4700 int·<strong>get_int</strong>·(int·name)·const·override;
4701 </pre>4701 </pre>
4702 <p>queries·the·current·configuration·option·from·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.4702 <p>queries·the·current·configuration·option·from·the·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.
4703 <tt·class="docutils·literal">name</tt>·is·one·of·the·enumeration·values·from·string_types,·int_types4703 <tt·class="docutils·literal">name</tt>·is·one·of·the·enumeration·values·from·string_types,·int_types
4704 or·bool_types.·The·enum·value·must·match·the·type·of·the·get_*4704 or·bool_types.·The·enum·value·must·match·the·type·of·the·get_*
4705 function.·If·the·specified·setting·field·has·not·been·set,·the·default4705 function.·If·the·specified·setting·field·has·not·been·set,·the·default
4706 value·is·returned.</p>4706 value·is·returned.</p>
Offset 5060, 64 lines modifiedOffset 5060, 16 lines modified
5060 <tr><td>http_pw</td>5060 <tr><td>http_pw</td>
5061 <td>5</td>5061 <td>5</td>
5062 <td>The·server·is·assumed·to·be·an·HTTP·proxy·that·requires·user5062 <td>The·server·is·assumed·to·be·an·HTTP·proxy·that·requires·user
5063 authorization.·The·username·and·password·will·be·sent·to·the·proxy.</td>5063 authorization.·The·username·and·password·will·be·sent·to·the·proxy.</td>
5064 </tr>5064 </tr>
5065 </tbody>5065 </tbody>
5066 </table>5066 </table>
5067 <a·name="min_memory_usage()"></a> 
5068 <a·name="high_performance_seed()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:min_memory_usage%28%29+high_performance_seed%28%29&labels=documentation&body=Documentation+under+heading+%22min_memory_usage%28%29+high_performance_seed%28%29%22+could+be+improved">report·issue</a>]</span></div> 
5069 </div> 
5070 <div·class="section"·id="min-memory-usage-high-performance-seed"> 
5071 <h1>min_memory_usage()·high_performance_seed()</h1> 
5072 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>&quot;</p> 
5073 <pre·class="literal-block"> 
Max diff block lines reached; 4931/18752 bytes (26.30%) of diff not shown.
13.7 KB
html2text {}
    
Offset 1, 32 lines modifiedOffset 1, 32 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k6 ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k
7 ··········o·_\x8s_\x8e_\x8t_\x8__\x8s_.t_.r_.(_.)_.·_.s_.e_.t_.__.i_.n_.t_.(_.)_.·_.s_.e_.t_.__.b_.o_.o_.l_\x8(_\x8)7 ··········o·_\x8s_\x8e_\x8t_\x8__\x8b_.o_.o_.l_.(_.)_.·_.s_.e_.t_.__.i_.n_.t_.(_.)_.·_.s_.e_.t_.__.s_.t_.r_\x8(_\x8)
8 ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x8a_\x8l_\x8(_\x8)8 ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x8a_\x8l_\x8(_\x8)
9 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8)9 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8)
10 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8)10 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8)
11 ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8n_\x8t_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8s_.t_.r_.(_.)_.·_.g_.e_.t_.__.b_.o_.o_.l_\x8(_\x8)11 ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8n_\x8t_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8b_.o_.o_.l_.(_.)_.·_.g_.e_.t_.__.s_.t_.r_\x8(_\x8)
12 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8b_\x8a_\x8s_\x8e_\x8s12 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8b_\x8a_\x8s_\x8e_\x8s
13 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8m_\x8a_\x8p_\x8__\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t13 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8m_\x8a_\x8p_\x8__\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t
14 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8u_\x8g_\x8g_\x8e_\x8s_\x8t_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t14 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8u_\x8g_\x8g_\x8e_\x8s_\x8t_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t
15 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t15 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t
16 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8e_\x8e_\x8d_\x8__\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t16 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8e_\x8e_\x8d_\x8__\x8c_\x8h_\x8o_\x8k_\x8i_\x8n_\x8g_\x8__\x8a_\x8l_\x8g_\x8o_\x8r_\x8i_\x8t_\x8h_\x8m_\x8__\x8t
17 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x8o_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t17 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x8o_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t
18 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8a_\x8n_\x8d_\x8w_\x8i_\x8d_\x8t_\x8h_\x8__\x8m_\x8i_\x8x_\x8e_\x8d_\x8__\x8a_\x8l_\x8g_\x8o_\x8__\x8t18 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8a_\x8n_\x8d_\x8w_\x8i_\x8d_\x8t_\x8h_\x8__\x8m_\x8i_\x8x_\x8e_\x8d_\x8__\x8a_\x8l_\x8g_\x8o_\x8__\x8t
19 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y19 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8p_\x8o_\x8l_\x8i_\x8c_\x8y
20 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8l_\x8e_\x8v_\x8e_\x8l20 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8n_\x8c_\x8__\x8l_\x8e_\x8v_\x8e_\x8l
21 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8x_\x8y_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t21 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8x_\x8y_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t
22 ····*·_\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8)_\x8·_\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8) 
23 ····*·_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) 
24 ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8) 
25 ····*·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8)22 ····*·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8)
 23 ····*·_\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8)
 24 ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8)
 25 ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)
26 You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session::26 You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session::
27 apply_settings()·member·function.·To·change·one·or·more·configuration·options,27 apply_settings()·member·function.·To·change·one·or·more·configuration·options,
28 create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·and·fill·it·with·the·settings·to·be·set·and·pass28 create·a·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·and·fill·it·with·the·settings·to·be·set·and·pass
29 it·in·to·session::apply_settings().29 it·in·to·session::apply_settings().
30 The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied30 The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied
31 to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when31 to·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·when·passed·to·session::apply_settings().·It's·empty·when
32 constructed.32 constructed.
Offset 1420, 23 lines modifiedOffset 1420, 23 lines modified
1420 next·time·the·SAM·connection·is·re-established·(by·restarting·or·changing1420 next·time·the·SAM·connection·is·re-established·(by·restarting·or·changing
1421 i2p_hostname·or·i2p_port).1421 i2p_hostname·or·i2p_port).
1422 struct·settings_pack·final·:·settings_interface1422 struct·settings_pack·final·:·settings_interface
1423 {1423 {
1424 ···friend··void·a\x8ap\x8pp\x8pl\x8ly\x8y_\x8_p\x8pa\x8ac\x8ck\x8k_\x8_i\x8im\x8mp\x8pl\x8l·(settings_pack·const*1424 ···friend··void·a\x8ap\x8pp\x8pl\x8ly\x8y_\x8_p\x8pa\x8ac\x8ck\x8k_\x8_i\x8im\x8mp\x8pl\x8l·(settings_pack·const*
1425 ······,·aux::session_settings_single_thread&1425 ······,·aux::session_settings_single_thread&
1426 ······,·std::vector<void(aux::session_impl::*)()>*);1426 ······,·std::vector<void(aux::session_impl::*)()>*);
 1427 ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val);
1427 ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override;1428 ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override;
1428 ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·override;1429 ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·override;
1429 ···void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override;1430 ···void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override;
1430 ···void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); 
1431 ···bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·override;1431 ···bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·override;
1432 ···void·c\x8cl\x8le\x8ea\x8ar\x8r·();1432 ···void·c\x8cl\x8le\x8ea\x8ar\x8r·();
1433 ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name);1433 ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name);
1434 ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; 
1435 ···bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override;1434 ···bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override;
 1435 ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override;
1436 ···int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override;1436 ···int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override;
1437 ···void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(Fun&&·f)·const;1437 ···void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(Fun&&·f)·const;
  
1438 ···enum·type_bases1438 ···enum·type_bases
1439 ···{1439 ···{
1440 ······string_type_base,1440 ······string_type_base,
1441 ······int_type_base,1441 ······int_type_base,
Offset 1507, 19 lines modifiedOffset 1507, 19 lines modified
1507 ······socks5,1507 ······socks5,
1508 ······socks5_pw,1508 ······socks5_pw,
1509 ······http,1509 ······http,
1510 ······http_pw,1510 ······http_pw,
1511 ···};1511 ···};
1512 };1512 };
1513 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]1513 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
1514 *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8t_\x8_s.st.tr.r(.().)·s.se.et.t_._i.in.nt.t(.().)·s.se.et.t_._b.bo.oo.ol.l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*1514 *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8t_\x8_b.bo.oo.ol.l(.().)·s.se.et.t_._i.in.nt.t(.().)·s.se.et.t_._s.st.tr.r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 1515 void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val);
1515 void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override;1516 void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override;
1516 void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·override;1517 void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·int·val)·override;
1517 void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override;1518 void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override;
1518 void·s\x8se\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name,·flags::bitfield_flag<Type,·Tag>·const·val); 
1519 set·a·configuration·option·in·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of·the·enum·values1519 set·a·configuration·option·in·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of·the·enum·values
1520 from·string_types,·int_types·or·bool_types.·They·must·match·the·respective·type1520 from·string_types,·int_types·or·bool_types.·They·must·match·the·respective·type
1521 of·the·set_*·function.1521 of·the·set_*·function.
1522 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]1522 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
1523 *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*1523 *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
1524 bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·override;1524 bool·h\x8ha\x8as\x8s_\x8_v\x8va\x8al\x8l·(int·name)·const·override;
1525 queries·whether·the·specified·configuration·option·has·a·value·set·in·this1525 queries·whether·the·specified·configuration·option·has·a·value·set·in·this
Offset 1530, 17 lines modifiedOffset 1530, 17 lines modified
1530 void·c\x8cl\x8le\x8ea\x8ar\x8r·();1530 void·c\x8cl\x8le\x8ea\x8ar\x8r·();
1531 clear·the·settings·pack·from·all·settings1531 clear·the·settings·pack·from·all·settings
1532 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]1532 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
1533 *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8le\x8ea\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*1533 *\x8**\x8**\x8**\x8**\x8*·c\x8cl\x8le\x8ea\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
1534 void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name);1534 void·c\x8cl\x8le\x8ea\x8ar\x8r·(int·name);
1535 clear·a·specific·setting·from·the·pack1535 clear·a·specific·setting·from·the·pack
1536 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]1536 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
1537 *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t(\x8()\x8)·g\x8ge\x8et\x8t_\x8_s.st.tr.r(.().)·g.ge.et.t_._b.bo.oo.ol.l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*1537 *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t(\x8()\x8)·g\x8ge\x8et\x8t_\x8_b.bo.oo.ol.l(.().)·g.ge.et.t_._s.st.tr.r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
1538 std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override; 
1539 bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override;1538 bool·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name)·const·override;
 1539 std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name)·const·override;
1540 int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override;1540 int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override;
1541 queries·the·current·configuration·option·from·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of1541 queries·the·current·configuration·option·from·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.·name·is·one·of
1542 the·enumeration·values·from·string_types,·int_types·or·bool_types.·The·enum1542 the·enumeration·values·from·string_types,·int_types·or·bool_types.·The·enum
1543 value·must·match·the·type·of·the·get_*·function.·If·the·specified·setting·field1543 value·must·match·the·type·of·the·get_*·function.·If·the·specified·setting·field
1544 has·not·been·set,·the·default·value·is·returned.1544 has·not·been·set,·the·default·value·is·returned.
1545 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]1545 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
1546 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8ty\x8yp\x8pe\x8e_\x8_b\x8ba\x8as\x8se\x8es\x8s·*\x8**\x8**\x8**\x8**\x8*1546 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8ty\x8yp\x8pe\x8e_\x8_b\x8ba\x8as\x8se\x8es\x8s·*\x8**\x8**\x8**\x8**\x8*
Offset 1668, 18 lines modifiedOffset 1668, 43 lines modified
1668 |·········|·····|trackers,·a·plain·proxy·will·suffice.·The·proxy·is·assumed·to|1668 |·········|·····|trackers,·a·plain·proxy·will·suffice.·The·proxy·is·assumed·to|
1669 |·········|·····|not·require·authorization.·The·username·and·password·will·not|1669 |·········|·····|not·require·authorization.·The·username·and·password·will·not|
1670 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8b_\x8e_\x8·_\x8u_\x8s_\x8e_\x8d_\x8._\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|1670 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8b_\x8e_\x8·_\x8u_\x8s_\x8e_\x8d_\x8._\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
1671 |·········|·····|The·server·is·assumed·to·be·an·HTTP·proxy·that·requires·user·|1671 |·········|·····|The·server·is·assumed·to·be·an·HTTP·proxy·that·requires·user·|
1672 |http_pw··|5····|authorization.·The·username·and·password·will·be·sent·to·the·|1672 |http_pw··|5····|authorization.·The·username·and·password·will·be·sent·to·the·|
1673 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8p_\x8r_\x8o_\x8x_\x8y_\x8._\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|1673 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8p_\x8r_\x8o_\x8x_\x8y_\x8._\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
1674 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]1674 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
1675 *\x8**\x8**\x8**\x8**\x8**\x8*·m.mi.in.n_._m.me.em.mo.or.ry.y_._u.us.sa.ag.ge.e(.().)·h.hi.ig.gh.h_._p.pe.er.rf.fo.or.rm.ma.an.nc.ce.e_._s.se.ee.ed.d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*1675 *\x8**\x8**\x8**\x8**\x8**\x8*·g.ge.en.ne.er.ra.at.te.e_._f.fi.in.ng.ge.er.rp.pr.ri.in.nt.t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
 1676 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8._\x8h_\x8p_\x8p"
 1677 std::string·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_f\x8fi\x8in\x8ng\x8ge\x8er\x8rp\x8pr\x8ri\x8in\x8nt\x8t·(std::string·name
 1678 ···,·int·major,·int·minor·=·0,·int·revision·=·0,·int·tag·=·0);
 1679 This·is·a·utility·function·to·produce·a·client·ID·fingerprint·formatted·to·the
 1680 most·common·convention.·The·fingerprint·can·be·set·via·the·peer_fingerprint
 1681 setting,·in·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k.
 1682 The·name·string·should·contain·exactly·two·characters.·These·are·the·characters
 1683 unique·to·your·client,·used·to·identify·it.·Make·sure·not·to·clash·with·anybody
 1684 else.·Here·are·some·taken·id's:
 1685 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·
 1686 |_\x8i\x8i_\x8d\x8d_\x8·_\x8c\x8c_\x8h\x8h_\x8a\x8a_\x8r\x8r_\x8s\x8s_\x8|_\x8c\x8c_\x8l\x8l_\x8i\x8i_\x8e\x8e_\x8n\x8n_\x8t\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 1687 |_\x8L_\x8T_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8(_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8)|
 1688 |_\x8U_\x8T_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8u_\x8T_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 1689 |_\x8U_\x8M_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8u_\x8T_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8M_\x8a_\x8c_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 1690 |_\x8q_\x8B_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8q_\x8B_\x8i_\x8t_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 1691 |_\x8B_\x8P_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8B_\x8i_\x8t_\x8T_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8P_\x8r_\x8o_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 1692 |_\x8B_\x8T_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8B_\x8i_\x8t_\x8T_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
Max diff block lines reached; 4461/14031 bytes (31.79%) of diff not shown.
11.4 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Stats.html
    
Offset 28, 50 lines modifiedOffset 28, 25 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
 35 <li><a·class="reference·internal"·href="#stats-metric"·id="toc-entry-1">stats_metric</a></li>
35 <li><a·class="reference·internal"·href="#counters"·id="toc-entry-1">counters</a><ul>36 <li><a·class="reference·internal"·href="#counters"·id="toc-entry-2">counters</a><ul>
36 <li><a·class="reference·internal"·href="#inc-stats-counter-operator"·id="toc-entry-2">inc_stats_counter()·operator[]()</a></li>37 <li><a·class="reference·internal"·href="#inc-stats-counter-operator"·id="toc-entry-3">inc_stats_counter()·operator[]()</a></li>
37 </ul>38 </ul>
38 </li>39 </li>
39 <li><a·class="reference·internal"·href="#stats-metric"·id="toc-entry-3">stats_metric</a></li> 
40 <li><a·class="reference·internal"·href="#session-stats-metrics"·id="toc-entry-4">session_stats_metrics()</a></li>40 <li><a·class="reference·internal"·href="#session-stats-metrics"·id="toc-entry-4">session_stats_metrics()</a></li>
41 <li><a·class="reference·internal"·href="#find-metric-idx"·id="toc-entry-5">find_metric_idx()</a></li>41 <li><a·class="reference·internal"·href="#find-metric-idx"·id="toc-entry-5">find_metric_idx()</a></li>
42 <li><a·class="reference·internal"·href="#enum-metric-type-t"·id="toc-entry-6">enum·metric_type_t</a></li>42 <li><a·class="reference·internal"·href="#enum-metric-type-t"·id="toc-entry-6">enum·metric_type_t</a></li>
43 </ul>43 </ul>
44 </div>44 </div>
45 <a·name="counters"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+counters&labels=documentation&body=Documentation+under+heading+%22class+counters%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="counters"> 
46 <h1>counters</h1> 
47 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/performance_counters.hpp">libtorrent/performance_counters.hpp</a>&quot;</p> 
48 <pre·class="literal-block"> 
49 struct·counters 
50 { 
51 ···<strong>counters</strong>·()·; 
52 ···counters&amp;·<strong>operator=</strong>·(counters·const&amp;)·&amp;·; 
53 ···<strong>counters</strong>·(counters·const&amp;)·; 
54 ···std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; 
55 ···std::int64_t·<strong>operator[]</strong>·(int·i)·const·; 
56 ···void·<strong>set_value</strong>·(int·c,·std::int64_t·value)·; 
57 ···void·<strong>blend_stats_counter</strong>·(int·c,·std::int64_t·value,·int·ratio)·; 
58 }; 
59 </pre> 
60 <a·name="inc_stats_counter()"></a> 
61 <a·name="operator[]()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:counters%3A%3A%5Binc_stats_counter%28%29+operator%5B%5D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22counters%3A%3A%5Binc_stats_counter%28%29+operator%5B%5D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="inc-stats-counter-operator"> 
62 <h2>inc_stats_counter()·operator[]()</h2> 
63 <pre·class="literal-block"> 
64 std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·; 
65 std::int64_t·<strong>operator[]</strong>·(int·i)·const·; 
66 </pre> 
67 <p>returns·the·new·value</p> 
68 <a·name="stats_metric"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+stats_metric&labels=documentation&body=Documentation+under+heading+%22class+stats_metric%22+could+be+improved">report·issue</a>]</span></div>45 <a·name="stats_metric"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+stats_metric&labels=documentation&body=Documentation+under+heading+%22class+stats_metric%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="stats-metric">
69 </div> 
70 <div·class="section"·id="stats-metric"> 
71 <h1>stats_metric</h1>46 <h1>stats_metric</h1>
72 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>&quot;</p>47 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>&quot;</p>
73 <p>describes·one·statistics·metric·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>.·For·more·information,48 <p>describes·one·statistics·metric·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>.·For·more·information,
74 see·the·<a·class="reference·external"·href="manual-ref.html#session-statistics">session·statistics</a>·section.</p>49 see·the·<a·class="reference·external"·href="manual-ref.html#session-statistics">session·statistics</a>·section.</p>
75 <pre·class="literal-block">50 <pre·class="literal-block">
76 struct·stats_metric51 struct·stats_metric
77 {52 {
Offset 87, 15 lines modifiedOffset 62, 40 lines modified
87 <a·name="value_index"></a>62 <a·name="value_index"></a>
88 <a·name="type"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:stats_metric%3A%3A%5Bvalue_index+type%5D&labels=documentation&body=Documentation+under+heading+%22stats_metric%3A%3A%5Bvalue_index+type%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">63 <a·name="type"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:stats_metric%3A%3A%5Bvalue_index+type%5D&labels=documentation&body=Documentation+under+heading+%22stats_metric%3A%3A%5Bvalue_index+type%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">
89 <dt>value_index·type</dt>64 <dt>value_index·type</dt>
90 <dd>the·index·into·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array,·where·the·underlying·value·of65 <dd>the·index·into·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array,·where·the·underlying·value·of
91 this·counter·or·gauge·is·found.·The·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array·is·part·of·the66 this·counter·or·gauge·is·found.·The·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array·is·part·of·the
92 <a·class="reference·external"·href="reference-Alerts.html#session_stats_alert">session_stats_alert</a>·object.</dd>67 <a·class="reference·external"·href="reference-Alerts.html#session_stats_alert">session_stats_alert</a>·object.</dd>
93 </dl>68 </dl>
 69 <a·name="counters"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+counters&labels=documentation&body=Documentation+under+heading+%22class+counters%22+could+be+improved">report·issue</a>]</span></div>
 70 <div·class="section"·id="counters">
 71 <h1>counters</h1>
 72 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/performance_counters.hpp">libtorrent/performance_counters.hpp</a>&quot;</p>
 73 <pre·class="literal-block">
 74 struct·counters
 75 {
 76 ···<strong>counters</strong>·()·;
 77 ···<strong>counters</strong>·(counters·const&amp;)·;
 78 ···counters&amp;·<strong>operator=</strong>·(counters·const&amp;)·&amp;·;
 79 ···std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·;
 80 ···std::int64_t·<strong>operator[]</strong>·(int·i)·const·;
 81 ···void·<strong>set_value</strong>·(int·c,·std::int64_t·value)·;
 82 ···void·<strong>blend_stats_counter</strong>·(int·c,·std::int64_t·value,·int·ratio)·;
 83 };
 84 </pre>
 85 <a·name="inc_stats_counter()"></a>
 86 <a·name="operator[]()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:counters%3A%3A%5Binc_stats_counter%28%29+operator%5B%5D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22counters%3A%3A%5Binc_stats_counter%28%29+operator%5B%5D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="inc-stats-counter-operator">
 87 <h2>inc_stats_counter()·operator[]()</h2>
 88 <pre·class="literal-block">
 89 std::int64_t·<strong>inc_stats_counter</strong>·(int·c,·std::int64_t·value·=·1)·;
 90 std::int64_t·<strong>operator[]</strong>·(int·i)·const·;
 91 </pre>
 92 <p>returns·the·new·value</p>
94 <a·name="session_stats_metrics()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_stats_metrics%28%29&labels=documentation&body=Documentation+under+heading+%22session_stats_metrics%28%29%22+could+be+improved">report·issue</a>]</span></div>93 <a·name="session_stats_metrics()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_stats_metrics%28%29&labels=documentation&body=Documentation+under+heading+%22session_stats_metrics%28%29%22+could+be+improved">report·issue</a>]</span></div>
 94 </div>
95 <div·class="section"·id="session-stats-metrics">95 <div·class="section"·id="session-stats-metrics">
96 <h1>session_stats_metrics()</h1>96 <h1>session_stats_metrics()</h1>
97 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>&quot;</p>97 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>&quot;</p>
98 <pre·class="literal-block">98 <pre·class="literal-block">
99 std::vector&lt;stats_metric&gt;·<strong>session_stats_metrics</strong>·();99 std::vector&lt;stats_metric&gt;·<strong>session_stats_metrics</strong>·();
100 </pre>100 </pre>
101 <p>This·free·function·returns·the·list·of·available·metrics·exposed·by101 <p>This·free·function·returns·the·list·of·available·metrics·exposed·by
4.18 KB
html2text {}
    
Offset 1, 37 lines modifiedOffset 1, 19 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
 6 ····*·_\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c
6 ····*·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s7 ····*·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s
7 ··········o·_\x8i_\x8n_\x8c_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8)8 ··········o·_\x8i_\x8n_\x8c_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8)
8 ····*·_\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c 
9 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8)9 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8)
10 ····*·_\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8)10 ····*·_\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8)
11 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t11 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t
12 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]12 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
13 *\x8**\x8**\x8**\x8**\x8**\x8*·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8* 
14 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8._\x8h_\x8p_\x8p" 
15 struct·counters 
16 { 
17 ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·; 
18 ···counters&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(counters·const&)·&·; 
19 ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·(counters·const&)·; 
20 ···std::int64_t·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value·=·1)·; 
21 ···std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; 
22 ···void·s\x8se\x8et\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(int·c,·std::int64_t·value)·; 
23 ···void·b\x8bl\x8le\x8en\x8nd\x8d_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value,·int·ratio)·; 
24 }; 
25 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
26 *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
27 std::int64_t·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value·=·1)·; 
28 std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·; 
29 returns·the·new·value 
30 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
31 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8c·*\x8**\x8**\x8**\x8**\x8**\x8*13 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8c·*\x8**\x8**\x8**\x8**\x8**\x8*
32 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8._\x8h_\x8p_\x8p"14 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8._\x8h_\x8p_\x8p"
33 describes·one·statistics·metric·from·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·For·more·information,·see·the15 describes·one·statistics·metric·from·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·For·more·information,·see·the
34 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8·_\x8s_\x8t_\x8a_\x8t_\x8i_\x8s_\x8t_\x8i_\x8c_\x8s·section.16 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8·_\x8s_\x8t_\x8a_\x8t_\x8i_\x8s_\x8t_\x8i_\x8c_\x8s·section.
35 struct·stats_metric17 struct·stats_metric
36 {18 {
37 ···char·const*·name;19 ···char·const*·name;
Offset 43, 14 lines modifiedOffset 25, 32 lines modified
43 ······the·name·of·the·counter·or·gauge25 ······the·name·of·the·counter·or·gauge
44 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]26 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
45 ··value_index·type27 ··value_index·type
46 ······the·index·into·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array,·where·the·underlying·value·of28 ······the·index·into·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array,·where·the·underlying·value·of
47 ······this·counter·or·gauge·is·found.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array·is·part·of·the29 ······this·counter·or·gauge·is·found.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array·is·part·of·the
48 ······_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·object.30 ······_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·object.
49 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]31 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 32 *\x8**\x8**\x8**\x8**\x8**\x8*·c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
 33 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8._\x8h_\x8p_\x8p"
 34 struct·counters
 35 {
 36 ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·()·;
 37 ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·(counters·const&)·;
 38 ···counters&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(counters·const&)·&·;
 39 ···std::int64_t·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value·=·1)·;
 40 ···std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·;
 41 ···void·s\x8se\x8et\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(int·c,·std::int64_t·value)·;
 42 ···void·b\x8bl\x8le\x8en\x8nd\x8d_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value,·int·ratio)·;
 43 };
 44 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 45 *\x8**\x8**\x8**\x8**\x8*·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8](\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 46 std::int64_t·i\x8in\x8nc\x8c_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8r·(int·c,·std::int64_t·value·=·1)·;
 47 std::int64_t·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(int·i)·const·;
 48 returns·the·new·value
 49 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
50 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8cs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*50 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8cs\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
51 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8._\x8h_\x8p_\x8p"51 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8._\x8h_\x8p_\x8p"
52 std::vector<stats_metric>·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8cs\x8s·();52 std::vector<stats_metric>·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_s\x8st\x8ta\x8at\x8ts\x8s_\x8_m\x8me\x8et\x8tr\x8ri\x8ic\x8cs\x8s·();
53 This·free·function·returns·the·list·of·available·metrics·exposed·by53 This·free·function·returns·the·list·of·available·metrics·exposed·by
54 libtorrent's·statistics·API.·Each·metric·has·a·name·and·a·v\x8va\x8al\x8lu\x8ue\x8e·i\x8in\x8nd\x8de\x8ex\x8x.·The54 libtorrent's·statistics·API.·Each·metric·has·a·name·and·a·v\x8va\x8al\x8lu\x8ue\x8e·i\x8in\x8nd\x8de\x8ex\x8x.·The
55 value·index·is·the·index·into·the·array·in·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·where·this55 value·index·is·the·index·into·the·array·in·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·where·this
56 metric's·value·can·be·found·when·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·is·sampled·(by·calling56 metric's·value·can·be·found·when·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·is·sampled·(by·calling
55.9 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Storage.html
    
Offset 32, 15 lines modifiedOffset 32, 15 lines modified
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#file-slice"·id="toc-entry-1">file_slice</a></li>35 <li><a·class="reference·internal"·href="#file-slice"·id="toc-entry-1">file_slice</a></li>
36 <li><a·class="reference·internal"·href="#file-storage"·id="toc-entry-2">file_storage</a><ul>36 <li><a·class="reference·internal"·href="#file-storage"·id="toc-entry-2">file_storage</a><ul>
37 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-3">is_valid()</a></li>37 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-3">is_valid()</a></li>
38 <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-4">reserve()</a></li>38 <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-4">reserve()</a></li>
39 <li><a·class="reference·internal"·href="#add-file-add-file-borrow"·id="toc-entry-5">add_file()·add_file_borrow()</a></li>39 <li><a·class="reference·internal"·href="#add-file-borrow-add-file"·id="toc-entry-5">add_file_borrow()·add_file()</a></li>
40 <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-6">rename_file()</a></li>40 <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-6">rename_file()</a></li>
41 <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-7">map_block()</a></li>41 <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-7">map_block()</a></li>
42 <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-8">map_file()</a></li>42 <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-8">map_file()</a></li>
43 <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-9">num_files()</a></li>43 <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-9">num_files()</a></li>
44 <li><a·class="reference·internal"·href="#end-file"·id="toc-entry-10">end_file()</a></li>44 <li><a·class="reference·internal"·href="#end-file"·id="toc-entry-10">end_file()</a></li>
45 <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-11">file_range()</a></li>45 <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-11">file_range()</a></li>
46 <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-12">total_size()</a></li>46 <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-12">total_size()</a></li>
Offset 52, 33 lines modifiedOffset 52, 33 lines modified
52 <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-18">piece_size()</a></li>52 <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-18">piece_size()</a></li>
53 <li><a·class="reference·internal"·href="#piece-size2"·id="toc-entry-19">piece_size2()</a></li>53 <li><a·class="reference·internal"·href="#piece-size2"·id="toc-entry-19">piece_size2()</a></li>
54 <li><a·class="reference·internal"·href="#blocks-in-piece2"·id="toc-entry-20">blocks_in_piece2()</a></li>54 <li><a·class="reference·internal"·href="#blocks-in-piece2"·id="toc-entry-20">blocks_in_piece2()</a></li>
55 <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-21">blocks_per_piece()</a></li>55 <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-21">blocks_per_piece()</a></li>
56 <li><a·class="reference·internal"·href="#name-set-name"·id="toc-entry-22">name()·set_name()</a></li>56 <li><a·class="reference·internal"·href="#name-set-name"·id="toc-entry-22">name()·set_name()</a></li>
57 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-23">swap()</a></li>57 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-23">swap()</a></li>
58 <li><a·class="reference·internal"·href="#canonicalize"·id="toc-entry-24">canonicalize()</a></li>58 <li><a·class="reference·internal"·href="#canonicalize"·id="toc-entry-24">canonicalize()</a></li>
59 <li><a·class="reference·internal"·href="#file-path-file-offset-file-size-root-mtime-root-ptr-symlink-hash-file-name-pad-file-at"·id="toc-entry-25">file_path()·file_offset()·file_size()·root()·mtime()·root_ptr()·symlink()·hash()·file_name()·pad_file_at()</a></li>59 <li><a·class="reference·internal"·href="#file-path-symlink-file-size-hash-root-ptr-pad-file-at-file-name-mtime-file-offset-root"·id="toc-entry-25">file_path()·symlink()·file_size()·hash()·root_ptr()·pad_file_at()·file_name()·mtime()·file_offset()·root()</a></li>
60 <li><a·class="reference·internal"·href="#file-piece-range-file-num-blocks-file-num-pieces"·id="toc-entry-26">file_piece_range()·file_num_blocks()·file_num_pieces()</a></li>60 <li><a·class="reference·internal"·href="#file-piece-range-file-num-blocks-file-num-pieces"·id="toc-entry-26">file_piece_range()·file_num_blocks()·file_num_pieces()</a></li>
61 <li><a·class="reference·internal"·href="#file-first-piece-node-file-first-block-node"·id="toc-entry-27">file_first_piece_node()·file_first_block_node()</a></li>61 <li><a·class="reference·internal"·href="#file-first-piece-node-file-first-block-node"·id="toc-entry-27">file_first_piece_node()·file_first_block_node()</a></li>
62 <li><a·class="reference·internal"·href="#file-path-hash"·id="toc-entry-28">file_path_hash()</a></li>62 <li><a·class="reference·internal"·href="#file-path-hash"·id="toc-entry-28">file_path_hash()</a></li>
63 <li><a·class="reference·internal"·href="#all-path-hashes"·id="toc-entry-29">all_path_hashes()</a></li>63 <li><a·class="reference·internal"·href="#all-path-hashes"·id="toc-entry-29">all_path_hashes()</a></li>
64 <li><a·class="reference·internal"·href="#file-flags"·id="toc-entry-30">file_flags()</a></li>64 <li><a·class="reference·internal"·href="#file-flags"·id="toc-entry-30">file_flags()</a></li>
65 <li><a·class="reference·internal"·href="#file-absolute-path"·id="toc-entry-31">file_absolute_path()</a></li>65 <li><a·class="reference·internal"·href="#file-absolute-path"·id="toc-entry-31">file_absolute_path()</a></li>
66 <li><a·class="reference·internal"·href="#file-index-at-offset-file-index-at-piece"·id="toc-entry-32">file_index_at_offset()·file_index_at_piece()</a></li>66 <li><a·class="reference·internal"·href="#file-index-at-piece-file-index-at-offset"·id="toc-entry-32">file_index_at_piece()·file_index_at_offset()</a></li>
67 <li><a·class="reference·internal"·href="#file-index-for-root"·id="toc-entry-33">file_index_for_root()</a></li>67 <li><a·class="reference·internal"·href="#file-index-for-root"·id="toc-entry-33">file_index_for_root()</a></li>
68 <li><a·class="reference·internal"·href="#piece-index-at-file"·id="toc-entry-34">piece_index_at_file()</a></li>68 <li><a·class="reference·internal"·href="#piece-index-at-file"·id="toc-entry-34">piece_index_at_file()</a></li>
69 <li><a·class="reference·internal"·href="#sanitize-symlinks"·id="toc-entry-35">sanitize_symlinks()</a></li>69 <li><a·class="reference·internal"·href="#sanitize-symlinks"·id="toc-entry-35">sanitize_symlinks()</a></li>
70 <li><a·class="reference·internal"·href="#v2"·id="toc-entry-36">v2()</a></li>70 <li><a·class="reference·internal"·href="#v2"·id="toc-entry-36">v2()</a></li>
71 </ul>71 </ul>
72 </li>72 </li>
73 <li><a·class="reference·internal"·href="#storage-params"·id="toc-entry-37">storage_params</a></li>73 <li><a·class="reference·internal"·href="#storage-params"·id="toc-entry-37">storage_params</a></li>
74 <li><a·class="reference·internal"·href="#mmap-disk-io-constructor"·id="toc-entry-38">mmap_disk_io_constructor()</a></li>74 <li><a·class="reference·internal"·href="#default-disk-io-constructor"·id="toc-entry-38">default_disk_io_constructor()</a></li>
75 <li><a·class="reference·internal"·href="#disabled-disk-io-constructor"·id="toc-entry-39">disabled_disk_io_constructor()</a></li>75 <li><a·class="reference·internal"·href="#disabled-disk-io-constructor"·id="toc-entry-39">disabled_disk_io_constructor()</a></li>
76 <li><a·class="reference·internal"·href="#default-disk-io-constructor"·id="toc-entry-40">default_disk_io_constructor()</a></li> 
77 <li><a·class="reference·internal"·href="#posix-disk-io-constructor"·id="toc-entry-41">posix_disk_io_constructor()</a></li>76 <li><a·class="reference·internal"·href="#posix-disk-io-constructor"·id="toc-entry-40">posix_disk_io_constructor()</a></li>
 77 <li><a·class="reference·internal"·href="#mmap-disk-io-constructor"·id="toc-entry-41">mmap_disk_io_constructor()</a></li>
78 <li><a·class="reference·internal"·href="#enum-storage-mode-t"·id="toc-entry-42">enum·storage_mode_t</a></li>78 <li><a·class="reference·internal"·href="#enum-storage-mode-t"·id="toc-entry-42">enum·storage_mode_t</a></li>
79 <li><a·class="reference·internal"·href="#enum-status-t"·id="toc-entry-43">enum·status_t</a></li>79 <li><a·class="reference·internal"·href="#enum-status-t"·id="toc-entry-43">enum·status_t</a></li>
80 <li><a·class="reference·internal"·href="#enum-move-flags-t"·id="toc-entry-44">enum·move_flags_t</a></li>80 <li><a·class="reference·internal"·href="#enum-move-flags-t"·id="toc-entry-44">enum·move_flags_t</a></li>
81 </ul>81 </ul>
82 </div>82 </div>
83 <a·name="file_slice"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+file_slice&labels=documentation&body=Documentation+under+heading+%22class+file_slice%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="file-slice">83 <a·name="file_slice"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+file_slice&labels=documentation&body=Documentation+under+heading+%22class+file_slice%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="file-slice">
84 <h1>file_slice</h1>84 <h1>file_slice</h1>
Offset 117, 76 lines modifiedOffset 117, 76 lines modified
117 size.·Everything·necessary·to·interpret·a·regular·bittorrent·storage117 size.·Everything·necessary·to·interpret·a·regular·bittorrent·storage
118 file·structure.</p>118 file·structure.</p>
119 <pre·class="literal-block">119 <pre·class="literal-block">
120 class·file_storage120 class·file_storage
121 {121 {
122 ···bool·<strong>is_valid</strong>·()·const;122 ···bool·<strong>is_valid</strong>·()·const;
123 ···void·<strong>reserve</strong>·(int·num_files);123 ···void·<strong>reserve</strong>·(int·num_files);
 124 ···void·<strong>add_file</strong>·(error_code&amp;·ec,·std::string·const&amp;·path,·std::int64_t·file_size
 125 ······,·file_flags_t·file_flags·=·{}
124 ···void·<strong>add_file_borrow</strong>·(error_code&amp;·ec,·string_view·filename 
125 ······,·std::string·const&amp;·path,·std::int64_t·file_size 
126 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr 
127 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()126 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()
128 ······,·char·const*·root_hash·=·nullptr);127 ······,·char·const*·root_hash·=·nullptr);
129 ···void·<strong>add_file_borrow</strong>·(string_view·filename128 ···void·<strong>add_file_borrow</strong>·(string_view·filename
130 ······,·std::string·const&amp;·path,·std::int64_t·file_size129 ······,·std::string·const&amp;·path,·std::int64_t·file_size
131 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr130 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr
132 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()131 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()
133 ······,·char·const*·root_hash·=·nullptr);132 ······,·char·const*·root_hash·=·nullptr);
134 ···void·<strong>add_file</strong>·(std::string·const&amp;·path,·std::int64_t·file_size133 ···void·<strong>add_file</strong>·(std::string·const&amp;·path,·std::int64_t·file_size
135 ······,·file_flags_t·file_flags·=·{}134 ······,·file_flags_t·file_flags·=·{}
136 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()135 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()
137 ······,·char·const*·root_hash·=·nullptr);136 ······,·char·const*·root_hash·=·nullptr);
138 ···void·<strong>add_file</strong>·(error_code&amp;·ec,·std::string·const&amp;·path,·std::int64_t·file_size 
139 ······,·file_flags_t·file_flags·=·{}137 ···void·<strong>add_file_borrow</strong>·(error_code&amp;·ec,·string_view·filename
 138 ······,·std::string·const&amp;·path,·std::int64_t·file_size
 139 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr
140 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()140 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()
141 ······,·char·const*·root_hash·=·nullptr);141 ······,·char·const*·root_hash·=·nullptr);
142 ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&amp;·new_filename);142 ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&amp;·new_filename);
143 ···std::vector&lt;file_slice&gt;·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset143 ···std::vector&lt;file_slice&gt;·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset
144 ······,·std::int64_t·size)·const;144 ······,·std::int64_t·size)·const;
145 ···peer_request·<strong>map_file</strong>·(file_index_t·file,·std::int64_t·offset,·int·size)·const;145 ···peer_request·<strong>map_file</strong>·(file_index_t·file,·std::int64_t·offset,·int·size)·const;
146 ···int·<strong>num_files</strong>·()·const·noexcept;146 ···int·<strong>num_files</strong>·()·const·noexcept;
147 ···file_index_t·<strong>end_file</strong>·()·const·noexcept;147 ···file_index_t·<strong>end_file</strong>·()·const·noexcept;
148 ···index_range&lt;file_index_t&gt;·<strong>file_range</strong>·()·const·noexcept;148 ···index_range&lt;file_index_t&gt;·<strong>file_range</strong>·()·const·noexcept;
149 ···std::int64_t·<strong>total_size</strong>·()·const;149 ···std::int64_t·<strong>total_size</strong>·()·const;
150 ···void·<strong>set_num_pieces</strong>·(int·n);150 ···void·<strong>set_num_pieces</strong>·(int·n);
151 ···int·<strong>num_pieces</strong>·()·const;151 ···int·<strong>num_pieces</strong>·()·const;
152 ···piece_index_t·<strong>end_piece</strong>·()·const;152 ···piece_index_t·<strong>end_piece</strong>·()·const;
153 ···piece_index_t·<strong>last_piece</strong>·()·const;153 ···piece_index_t·<strong>last_piece</strong>·()·const;
154 ···index_range&lt;piece_index_t&gt;·<strong>piece_range</strong>·()·const·noexcept;154 ···index_range&lt;piece_index_t&gt;·<strong>piece_range</strong>·()·const·noexcept;
155 ···void·<strong>set_piece_length</strong>·(int·l); 
156 ···int·<strong>piece_length</strong>·()·const;155 ···int·<strong>piece_length</strong>·()·const;
 156 ···void·<strong>set_piece_length</strong>·(int·l);
157 ···int·<strong>piece_size</strong>·(piece_index_t·index)·const;157 ···int·<strong>piece_size</strong>·(piece_index_t·index)·const;
158 ···int·<strong>piece_size2</strong>·(piece_index_t·index)·const;158 ···int·<strong>piece_size2</strong>·(piece_index_t·index)·const;
159 ···int·<strong>blocks_in_piece2</strong>·(piece_index_t·index)·const;159 ···int·<strong>blocks_in_piece2</strong>·(piece_index_t·index)·const;
160 ···int·<strong>blocks_per_piece</strong>·()·const;160 ···int·<strong>blocks_per_piece</strong>·()·const;
161 ···std::string·const&amp;·<strong>name</strong>·()·const; 
162 ···void·<strong>set_name</strong>·(std::string·const&amp;·n);161 ···void·<strong>set_name</strong>·(std::string·const&amp;·n);
 162 ···std::string·const&amp;·<strong>name</strong>·()·const;
163 ···void·<strong>swap</strong>·(file_storage&amp;·ti)·noexcept;163 ···void·<strong>swap</strong>·(file_storage&amp;·ti)·noexcept;
164 ···void·<strong>canonicalize</strong>·();164 ···void·<strong>canonicalize</strong>·();
 165 ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const;
165 ···std::string·<strong>symlink</strong>·(file_index_t·index)·const;166 ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const;
166 ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const; 
167 ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&amp;·save_path·=·&quot;&quot;)·const;167 ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&amp;·save_path·=·&quot;&quot;)·const;
 168 ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const;
168 ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const;169 ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const;
169 ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const; 
170 ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const;170 ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const;
171 ···string_view·<strong>file_name</strong>·(file_index_t·index)·const;171 ···string_view·<strong>file_name</strong>·(file_index_t·index)·const;
172 ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const;172 ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const;
173 ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const; 
174 ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const;173 ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const;
 174 ···std::string·<strong>symlink</strong>·(file_index_t·index)·const;
175 ···index_range&lt;piece_index_t::diff_type&gt;·<strong>file_piece_range</strong>·(file_index_t)·const;175 ···index_range&lt;piece_index_t::diff_type&gt;·<strong>file_piece_range</strong>·(file_index_t)·const;
176 ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const; 
177 ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const;176 ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const;
 177 ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const;
178 ···int·<strong>file_first_piece_node</strong>·(file_index_t·index)·const;178 ···int·<strong>file_first_piece_node</strong>·(file_index_t·index)·const;
179 ···int·<strong>file_first_block_node</strong>·(file_index_t·index)·const;179 ···int·<strong>file_first_block_node</strong>·(file_index_t·index)·const;
180 ···std::uint32_t·<strong>file_path_hash</strong>·(file_index_t·index,·std::string·const&amp;·save_path)·const;180 ···std::uint32_t·<strong>file_path_hash</strong>·(file_index_t·index,·std::string·const&amp;·save_path)·const;
181 ···void·<strong>all_path_hashes</strong>·(std::unordered_set&lt;std::uint32_t&gt;&amp;·table)·const;181 ···void·<strong>all_path_hashes</strong>·(std::unordered_set&lt;std::uint32_t&gt;&amp;·table)·const;
182 ···file_flags_t·<strong>file_flags</strong>·(file_index_t·index)·const;182 ···file_flags_t·<strong>file_flags</strong>·(file_index_t·index)·const;
Max diff block lines reached; 20213/31422 bytes (64.33%) of diff not shown.
25.0 KB
html2text {}
    
Offset 3, 15 lines modifiedOffset 3, 15 lines modified
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8l_\x8i_\x8c_\x8e6 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8l_\x8i_\x8c_\x8e
7 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e7 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e
8 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)8 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)
9 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8)9 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8)
10 ··········o·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_.)_.·_.a_.d_.d_.__.f_.i_.l_.e_.__.b_.o_.r_.r_.o_.w_\x8(_\x8)10 ··········o·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__.b_.o_.r_.r_.o_.w_.(_.)_.·_.a_.d_.d_.__.f_.i_.l_.e_\x8(_\x8)
11 ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)11 ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
12 ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8)12 ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8)
13 ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)13 ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
14 ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)14 ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
15 ··········o·_\x8e_\x8n_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)15 ··········o·_\x8e_\x8n_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
16 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)16 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)
17 ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)17 ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)
Offset 23, 32 lines modifiedOffset 23, 32 lines modified
23 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)23 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)
24 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x82_\x8(_\x8)24 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x82_\x8(_\x8)
25 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8i_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x82_\x8(_\x8)25 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8i_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x82_\x8(_\x8)
26 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)26 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
27 ··········o·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)27 ··········o·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)
28 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)28 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)
29 ··········o·_\x8c_\x8a_\x8n_\x8o_\x8n_\x8i_\x8c_\x8a_\x8l_\x8i_\x8z_\x8e_\x8(_\x8)29 ··········o·_\x8c_\x8a_\x8n_\x8o_\x8n_\x8i_\x8c_\x8a_\x8l_\x8i_\x8z_\x8e_\x8(_\x8)
30 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8(_\x8)_\x8·_\x8m_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8__\x8p_\x8t_\x8r_\x8(_\x8) 
31 ············_.s_.y_.m_.l_.i_.n_.k_.(_.)_.·_.h_.a_.s_.h_.(_.)_.·_.f_.i_.l_.e_.__.n_.a_.m_.e_\x8(_\x8)_\x8·_\x8p_\x8a_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8t_\x8(_\x8)30 ··········o·_.f_.i_.l_.e_.__.p_.a_.t_.h_.(_.)_.·_.s_.y_.m_.l_.i_.n_.k_.(_.)_.·_.f_.i_.l_.e_.__.s_.i_.z_.e_.(_.)_.·_.h_.a_.s_.h_.(_.)_.·_.r_.o_.o_.t_.__.p_.t_.r_\x8(_\x8)_\x8·_\x8p_\x8a_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8t_\x8(_\x8)
 31 ············_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8m_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8(_\x8)
32 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)32 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)
33 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)33 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)
34 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)34 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)
35 ··········o·_\x8a_\x8l_\x8l_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)35 ··········o·_\x8a_\x8l_\x8l_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)
36 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)36 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)
37 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8b_\x8s_\x8o_\x8l_\x8u_\x8t_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)37 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8b_\x8s_\x8o_\x8l_\x8u_\x8t_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)
38 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8o_.f_.f_.s_.e_.t_.(_.)_.·_.f_.i_.l_.e_.__.i_.n_.d_.e_.x_.__.a_.t_.__.p_.i_.e_.c_.e_\x8(_\x8)38 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8p_.i_.e_.c_.e_.(_.)_.·_.f_.i_.l_.e_.__.i_.n_.d_.e_.x_.__.a_.t_.__.o_.f_.f_.s_.e_.t_\x8(_\x8)
39 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8)39 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8)
40 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)40 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
41 ··········o·_\x8s_\x8a_\x8n_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8s_\x8(_\x8)41 ··········o·_\x8s_\x8a_\x8n_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8s_\x8(_\x8)
42 ··········o·_\x8v_\x82_\x8(_\x8)42 ··········o·_\x8v_\x82_\x8(_\x8)
43 ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s43 ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s
44 ····*·_\x8m_\x8m_\x8a_\x8p_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) 
45 ····*·_\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8d_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) 
46 ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8)44 ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8)
 45 ····*·_\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8d_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8)
47 ····*·_\x8p_\x8o_\x8s_\x8i_\x8x_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8)46 ····*·_\x8p_\x8o_\x8s_\x8i_\x8x_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8)
 47 ····*·_\x8m_\x8m_\x8a_\x8p_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8)
48 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t48 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t
49 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8__\x8t49 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8__\x8t
50 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8o_\x8v_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t50 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8o_\x8v_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
51 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]51 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
52 *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_s\x8sl\x8li\x8ic\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*52 *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_s\x8sl\x8li\x8ic\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
53 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p"53 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p"
54 represents·a·window·of·a·file·in·a·torrent.54 represents·a·window·of·a·file·in·a·torrent.
Offset 77, 32 lines modifiedOffset 77, 32 lines modified
77 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p"77 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p"
78 The·file_storage·class·represents·a·file·list·and·the·piece·size.·Everything78 The·file_storage·class·represents·a·file·list·and·the·piece·size.·Everything
79 necessary·to·interpret·a·regular·bittorrent·storage·file·structure.79 necessary·to·interpret·a·regular·bittorrent·storage·file·structure.
80 class·file_storage80 class·file_storage
81 {81 {
82 ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const;82 ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const;
83 ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files);83 ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files);
84 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(error_code&·ec,·string_view·filename 
85 ······,·std::string·const&·path,·std::int64_t·file_size 
86 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr84 ···void·a.ad.dd.d_._f.fi.il.le.e·(error_code&·ec,·std::string·const&·path,·std::int64_t
 85 file_size
 86 ······,·file_flags_t·file_flags·=·{}
87 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()87 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()
88 ······,·char·const*·root_hash·=·nullptr);88 ······,·char·const*·root_hash·=·nullptr);
89 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename89 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename
90 ······,·std::string·const&·path,·std::int64_t·file_size90 ······,·std::string·const&·path,·std::int64_t·file_size
91 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr91 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr
92 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()92 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()
93 ······,·char·const*·root_hash·=·nullptr);93 ······,·char·const*·root_hash·=·nullptr);
94 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(std::string·const&·path,·std::int64_t·file_size94 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(std::string·const&·path,·std::int64_t·file_size
95 ······,·file_flags_t·file_flags·=·{}95 ······,·file_flags_t·file_flags·=·{}
96 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()96 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()
97 ······,·char·const*·root_hash·=·nullptr);97 ······,·char·const*·root_hash·=·nullptr);
98 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t 
99 file_size 
100 ······,·file_flags_t·file_flags·=·{}98 ···void·a.ad.dd.d_._f.fi.il.le.e_._b.bo.or.rr.ro.ow.w·(error_code&·ec,·string_view·filename
 99 ······,·std::string·const&·path,·std::int64_t·file_size
 100 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr
101 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()101 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()
102 ······,·char·const*·root_hash·=·nullptr);102 ······,·char·const*·root_hash·=·nullptr);
103 ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename);103 ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename);
104 ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·piece,·std::int64_t·offset104 ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·piece,·std::int64_t·offset
105 ······,·std::int64_t·size)·const;105 ······,·std::int64_t·size)·const;
106 ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·file,·std::int64_t·offset,·int·size)106 ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·file,·std::int64_t·offset,·int·size)
107 const;107 const;
108 ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const·noexcept;108 ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const·noexcept;
Offset 110, 47 lines modifiedOffset 110, 47 lines modified
110 ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept;110 ···index_range<file_index_t>·f\x8fi\x8il\x8le\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept;
111 ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const;111 ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const;
112 ···void·s\x8se\x8et\x8t_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(int·n);112 ···void·s\x8se\x8et\x8t_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(int·n);
113 ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const;113 ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const;
114 ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;114 ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;
115 ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;115 ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;
116 ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept;116 ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const·noexcept;
117 ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·(int·l); 
118 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const;117 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const;
 118 ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·(int·l);
119 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const;119 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const;
120 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e2\x82·(piece_index_t·index)·const;120 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e2\x82·(piece_index_t·index)·const;
121 ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_i\x8in\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e2\x82·(piece_index_t·index)·const;121 ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_i\x8in\x8n_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e2\x82·(piece_index_t·index)·const;
122 ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;122 ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;
123 ···std::string·const&·n\x8na\x8am\x8me\x8e·()·const; 
124 ···void·s\x8se\x8et\x8t_\x8_n\x8na\x8am\x8me\x8e·(std::string·const&·n);123 ···void·s\x8se\x8et\x8t_\x8_n\x8na\x8am\x8me\x8e·(std::string·const&·n);
 124 ···std::string·const&·n\x8na\x8am\x8me\x8e·()·const;
125 ···void·s\x8sw\x8wa\x8ap\x8p·(file_storage&·ti)·noexcept;125 ···void·s\x8sw\x8wa\x8ap\x8p·(file_storage&·ti)·noexcept;
126 ···void·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8li\x8iz\x8ze\x8e·();126 ···void·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8li\x8iz\x8ze\x8e·();
127 ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const; 
128 ···char·const*·r.ro.oo.ot.t_._p.pt.tr.r·(file_index_t·const·index)·const;127 ···std::int64_t·f.fi.il.le.e_._o.of.ff.fs.se.et.t·(file_index_t·index)·const;
 128 ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(file_index_t·index)·const;
129 ···std::string·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index,·std::string·const&·save_path·=129 ···std::string·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index,·std::string·const&·save_path·=
130 "")·const;130 "")·const;
 131 ···bool·p\x8pa\x8ad\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_a\x8at\x8t·(file_index_t·index)·const;
131 ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const;132 ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const;
 133 ···char·const*·r\x8ro\x8oo\x8ot\x8t_\x8_p\x8pt\x8tr\x8r·(file_index_t·const·index)·const;
132 ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(file_index_t·index)·const; 
133 ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const; 
134 ···string_view·f\x8fi\x8il\x8le\x8e_\x8_n\x8na\x8am\x8me\x8e·(file_index_t·index)·const;134 ···string_view·f\x8fi\x8il\x8le\x8e_\x8_n\x8na\x8am\x8me\x8e·(file_index_t·index)·const;
 135 ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const;
135 ···bool·p\x8pa\x8ad\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_a\x8at\x8t·(file_index_t·index)·const; 
136 ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·const; 
137 ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const;136 ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const;
 137 ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const;
138 ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t)·const;138 ···index_range<piece_index_t::diff_type>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·(file_index_t)·const;
139 ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(file_index_t·index)·const; 
140 ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·(file_index_t·index)·const;139 ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·(file_index_t·index)·const;
Max diff block lines reached; 16375/25620 bytes (63.91%) of diff not shown.
118 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Handle.html
    
Offset 41, 50 lines modifiedOffset 41, 50 lines modified
41 <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-5">torrent_handle</a><ul>41 <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-5">torrent_handle</a><ul>
42 <li><a·class="reference·internal"·href="#torrent-handle-1"·id="toc-entry-6">torrent_handle()</a></li>42 <li><a·class="reference·internal"·href="#torrent-handle-1"·id="toc-entry-6">torrent_handle()</a></li>
43 <li><a·class="reference·internal"·href="#add-piece"·id="toc-entry-7">add_piece()</a></li>43 <li><a·class="reference·internal"·href="#add-piece"·id="toc-entry-7">add_piece()</a></li>
44 <li><a·class="reference·internal"·href="#read-piece"·id="toc-entry-8">read_piece()</a></li>44 <li><a·class="reference·internal"·href="#read-piece"·id="toc-entry-8">read_piece()</a></li>
45 <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-9">have_piece()</a></li>45 <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-9">have_piece()</a></li>
46 <li><a·class="reference·internal"·href="#post-peer-info-get-peer-info"·id="toc-entry-10">post_peer_info()·get_peer_info()</a></li>46 <li><a·class="reference·internal"·href="#post-peer-info-get-peer-info"·id="toc-entry-10">post_peer_info()·get_peer_info()</a></li>
47 <li><a·class="reference·internal"·href="#post-status-status"·id="toc-entry-11">post_status()·status()</a></li>47 <li><a·class="reference·internal"·href="#post-status-status"·id="toc-entry-11">post_status()·status()</a></li>
48 <li><a·class="reference·internal"·href="#get-download-queue-post-download-queue"·id="toc-entry-12">get_download_queue()·post_download_queue()</a></li>48 <li><a·class="reference·internal"·href="#post-download-queue-get-download-queue"·id="toc-entry-12">post_download_queue()·get_download_queue()</a></li>
49 <li><a·class="reference·internal"·href="#reset-piece-deadline-clear-piece-deadlines-set-piece-deadline"·id="toc-entry-13">reset_piece_deadline()·clear_piece_deadlines()·set_piece_deadline()</a></li>49 <li><a·class="reference·internal"·href="#set-piece-deadline-reset-piece-deadline-clear-piece-deadlines"·id="toc-entry-13">set_piece_deadline()·reset_piece_deadline()·clear_piece_deadlines()</a></li>
50 <li><a·class="reference·internal"·href="#post-file-progress-file-progress"·id="toc-entry-14">post_file_progress()·file_progress()</a></li>50 <li><a·class="reference·internal"·href="#file-progress-post-file-progress"·id="toc-entry-14">file_progress()·post_file_progress()</a></li>
51 <li><a·class="reference·internal"·href="#file-status"·id="toc-entry-15">file_status()</a></li>51 <li><a·class="reference·internal"·href="#file-status"·id="toc-entry-15">file_status()</a></li>
52 <li><a·class="reference·internal"·href="#clear-error"·id="toc-entry-16">clear_error()</a></li>52 <li><a·class="reference·internal"·href="#clear-error"·id="toc-entry-16">clear_error()</a></li>
53 <li><a·class="reference·internal"·href="#replace-trackers-add-tracker-trackers-post-trackers"·id="toc-entry-17">replace_trackers()·add_tracker()·trackers()·post_trackers()</a></li>53 <li><a·class="reference·internal"·href="#post-trackers-add-tracker-trackers-replace-trackers"·id="toc-entry-17">post_trackers()·add_tracker()·trackers()·replace_trackers()</a></li>
54 <li><a·class="reference·internal"·href="#remove-url-seed-add-url-seed-url-seeds"·id="toc-entry-18">remove_url_seed()·add_url_seed()·url_seeds()</a></li>54 <li><a·class="reference·internal"·href="#remove-url-seed-add-url-seed-url-seeds"·id="toc-entry-18">remove_url_seed()·add_url_seed()·url_seeds()</a></li>
55 <li><a·class="reference·internal"·href="#add-http-seed-remove-http-seed-http-seeds"·id="toc-entry-19">add_http_seed()·remove_http_seed()·http_seeds()</a></li>55 <li><a·class="reference·internal"·href="#add-http-seed-remove-http-seed-http-seeds"·id="toc-entry-19">add_http_seed()·remove_http_seed()·http_seeds()</a></li>
56 <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-20">add_extension()</a></li>56 <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-20">add_extension()</a></li>
57 <li><a·class="reference·internal"·href="#set-metadata"·id="toc-entry-21">set_metadata()</a></li>57 <li><a·class="reference·internal"·href="#set-metadata"·id="toc-entry-21">set_metadata()</a></li>
58 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-22">is_valid()</a></li>58 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-22">is_valid()</a></li>
59 <li><a·class="reference·internal"·href="#resume-pause"·id="toc-entry-23">resume()·pause()</a></li>59 <li><a·class="reference·internal"·href="#resume-pause"·id="toc-entry-23">resume()·pause()</a></li>
60 <li><a·class="reference·internal"·href="#flags-set-flags-unset-flags"·id="toc-entry-24">flags()·set_flags()·unset_flags()</a></li>60 <li><a·class="reference·internal"·href="#unset-flags-flags-set-flags"·id="toc-entry-24">unset_flags()·flags()·set_flags()</a></li>
61 <li><a·class="reference·internal"·href="#flush-cache"·id="toc-entry-25">flush_cache()</a></li>61 <li><a·class="reference·internal"·href="#flush-cache"·id="toc-entry-25">flush_cache()</a></li>
62 <li><a·class="reference·internal"·href="#force-recheck"·id="toc-entry-26">force_recheck()</a></li>62 <li><a·class="reference·internal"·href="#force-recheck"·id="toc-entry-26">force_recheck()</a></li>
63 <li><a·class="reference·internal"·href="#save-resume-data"·id="toc-entry-27">save_resume_data()</a></li>63 <li><a·class="reference·internal"·href="#save-resume-data"·id="toc-entry-27">save_resume_data()</a></li>
64 <li><a·class="reference·internal"·href="#need-save-resume-data"·id="toc-entry-28">need_save_resume_data()</a></li>64 <li><a·class="reference·internal"·href="#need-save-resume-data"·id="toc-entry-28">need_save_resume_data()</a></li>
65 <li><a·class="reference·internal"·href="#queue-position-top-queue-position-up-queue-position-bottom-queue-position-queue-position-down"·id="toc-entry-29">queue_position_top()·queue_position_up()·queue_position_bottom()·queue_position()·queue_position_down()</a></li>65 <li><a·class="reference·internal"·href="#queue-position-top-queue-position-bottom-queue-position-queue-position-down-queue-position-up"·id="toc-entry-29">queue_position_top()·queue_position_bottom()·queue_position()·queue_position_down()·queue_position_up()</a></li>
66 <li><a·class="reference·internal"·href="#queue-position-set"·id="toc-entry-30">queue_position_set()</a></li>66 <li><a·class="reference·internal"·href="#queue-position-set"·id="toc-entry-30">queue_position_set()</a></li>
67 <li><a·class="reference·internal"·href="#set-ssl-certificate-set-ssl-certificate-buffer"·id="toc-entry-31">set_ssl_certificate()·set_ssl_certificate_buffer()</a></li>67 <li><a·class="reference·internal"·href="#set-ssl-certificate-set-ssl-certificate-buffer"·id="toc-entry-31">set_ssl_certificate()·set_ssl_certificate_buffer()</a></li>
68 <li><a·class="reference·internal"·href="#torrent-file-torrent-file-with-hashes"·id="toc-entry-32">torrent_file()·torrent_file_with_hashes()</a></li>68 <li><a·class="reference·internal"·href="#torrent-file-with-hashes-torrent-file"·id="toc-entry-32">torrent_file_with_hashes()·torrent_file()</a></li>
69 <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-33">piece_layers()</a></li>69 <li><a·class="reference·internal"·href="#piece-layers"·id="toc-entry-33">piece_layers()</a></li>
70 <li><a·class="reference·internal"·href="#post-piece-availability-piece-availability"·id="toc-entry-34">post_piece_availability()·piece_availability()</a></li>70 <li><a·class="reference·internal"·href="#piece-availability-post-piece-availability"·id="toc-entry-34">piece_availability()·post_piece_availability()</a></li>
71 <li><a·class="reference·internal"·href="#get-piece-priorities-piece-priority-prioritize-pieces"·id="toc-entry-35">get_piece_priorities()·piece_priority()·prioritize_pieces()</a></li>71 <li><a·class="reference·internal"·href="#piece-priority-get-piece-priorities-prioritize-pieces"·id="toc-entry-35">piece_priority()·get_piece_priorities()·prioritize_pieces()</a></li>
72 <li><a·class="reference·internal"·href="#get-file-priorities-prioritize-files-file-priority"·id="toc-entry-36">get_file_priorities()·prioritize_files()·file_priority()</a></li>72 <li><a·class="reference·internal"·href="#file-priority-get-file-priorities-prioritize-files"·id="toc-entry-36">file_priority()·get_file_priorities()·prioritize_files()</a></li>
73 <li><a·class="reference·internal"·href="#force-lsd-announce-force-reannounce-force-dht-announce"·id="toc-entry-37">force_lsd_announce()·force_reannounce()·force_dht_announce()</a></li>73 <li><a·class="reference·internal"·href="#force-reannounce-force-lsd-announce-force-dht-announce"·id="toc-entry-37">force_reannounce()·force_lsd_announce()·force_dht_announce()</a></li>
74 <li><a·class="reference·internal"·href="#scrape-tracker"·id="toc-entry-38">scrape_tracker()</a></li>74 <li><a·class="reference·internal"·href="#scrape-tracker"·id="toc-entry-38">scrape_tracker()</a></li>
75 <li><a·class="reference·internal"·href="#set-upload-limit-set-download-limit-download-limit-upload-limit"·id="toc-entry-39">set_upload_limit()·set_download_limit()·download_limit()·upload_limit()</a></li>75 <li><a·class="reference·internal"·href="#set-download-limit-download-limit-upload-limit-set-upload-limit"·id="toc-entry-39">set_download_limit()·download_limit()·upload_limit()·set_upload_limit()</a></li>
76 <li><a·class="reference·internal"·href="#connect-peer"·id="toc-entry-40">connect_peer()</a></li>76 <li><a·class="reference·internal"·href="#connect-peer"·id="toc-entry-40">connect_peer()</a></li>
77 <li><a·class="reference·internal"·href="#clear-peers"·id="toc-entry-41">clear_peers()</a></li>77 <li><a·class="reference·internal"·href="#clear-peers"·id="toc-entry-41">clear_peers()</a></li>
78 <li><a·class="reference·internal"·href="#max-uploads-set-max-uploads"·id="toc-entry-42">max_uploads()·set_max_uploads()</a></li>78 <li><a·class="reference·internal"·href="#max-uploads-set-max-uploads"·id="toc-entry-42">max_uploads()·set_max_uploads()</a></li>
79 <li><a·class="reference·internal"·href="#set-max-connections-max-connections"·id="toc-entry-43">set_max_connections()·max_connections()</a></li>79 <li><a·class="reference·internal"·href="#set-max-connections-max-connections"·id="toc-entry-43">set_max_connections()·max_connections()</a></li>
80 <li><a·class="reference·internal"·href="#move-storage"·id="toc-entry-44">move_storage()</a></li>80 <li><a·class="reference·internal"·href="#move-storage"·id="toc-entry-44">move_storage()</a></li>
81 <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-45">rename_file()</a></li>81 <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-45">rename_file()</a></li>
82 <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-46">info_hashes()·info_hash()</a></li>82 <li><a·class="reference·internal"·href="#info-hash-info-hashes"·id="toc-entry-46">info_hash()·info_hashes()</a></li>
83 <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator==()·operator&lt;()·operator!=()</a></li>83 <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator!=()·operator==()·operator&lt;()</a></li>
84 <li><a·class="reference·internal"·href="#id"·id="toc-entry-48">id()</a></li>84 <li><a·class="reference·internal"·href="#id"·id="toc-entry-48">id()</a></li>
85 <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-49">native_handle()</a></li>85 <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-49">native_handle()</a></li>
86 <li><a·class="reference·internal"·href="#userdata"·id="toc-entry-50">userdata()</a></li>86 <li><a·class="reference·internal"·href="#userdata"·id="toc-entry-50">userdata()</a></li>
87 <li><a·class="reference·internal"·href="#in-session"·id="toc-entry-51">in_session()</a></li>87 <li><a·class="reference·internal"·href="#in-session"·id="toc-entry-51">in_session()</a></li>
88 </ul>88 </ul>
89 </li>89 </li>
90 <li><a·class="reference·internal"·href="#hash-value"·id="toc-entry-52">hash_value()</a></li>90 <li><a·class="reference·internal"·href="#hash-value"·id="toc-entry-52">hash_value()</a></li>
Offset 94, 16 lines modifiedOffset 94, 16 lines modified
94 <h1>block_info</h1>94 <h1>block_info</h1>
95 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/torrent_handle.hpp">libtorrent/torrent_handle.hpp</a>&quot;</p>95 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/torrent_handle.hpp">libtorrent/torrent_handle.hpp</a>&quot;</p>
96 <p>holds·the·state·of·a·block·in·a·piece.·Who·we·requested96 <p>holds·the·state·of·a·block·in·a·piece.·Who·we·requested
97 it·from·and·how·far·along·we·are·at·downloading·it.</p>97 it·from·and·how·far·along·we·are·at·downloading·it.</p>
98 <pre·class="literal-block">98 <pre·class="literal-block">
99 struct·block_info99 struct·block_info
100 {100 {
101 ···void·<strong>set_peer</strong>·(tcp::endpoint·const&amp;·ep); 
102 ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const;101 ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const;
 102 ···void·<strong>set_peer</strong>·(tcp::endpoint·const&amp;·ep);
  
103 ···enum·block_state_t103 ···enum·block_state_t
104 ···{104 ···{
105 ······none,105 ······none,
106 ······requested,106 ······requested,
107 ······writing,107 ······writing,
108 ······finished,108 ······finished,
Offset 115, 16 lines modifiedOffset 115, 16 lines modified
115 ···unsigned·num_peers:14;115 ···unsigned·num_peers:14;
116 };116 };
117 </pre>117 </pre>
118 <a·name="peer()"></a>118 <a·name="peer()"></a>
119 <a·name="set_peer()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:block_info%3A%3A%5Bpeer%28%29+set_peer%28%29%5D&labels=documentation&body=Documentation+under+heading+%22block_info%3A%3A%5Bpeer%28%29+set_peer%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="peer-set-peer">119 <a·name="set_peer()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:block_info%3A%3A%5Bpeer%28%29+set_peer%28%29%5D&labels=documentation&body=Documentation+under+heading+%22block_info%3A%3A%5Bpeer%28%29+set_peer%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="peer-set-peer">
120 <h2>peer()·set_peer()</h2>120 <h2>peer()·set_peer()</h2>
121 <pre·class="literal-block">121 <pre·class="literal-block">
122 void·<strong>set_peer</strong>·(tcp::endpoint·const&amp;·ep); 
123 <a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const;122 <a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>peer</strong>·()·const;
 123 void·<strong>set_peer</strong>·(tcp::endpoint·const&amp;·ep);
124 </pre>124 </pre>
125 <p>The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from.</p>125 <p>The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from.</p>
126 <a·name="block_state_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+block_state_t&labels=documentation&body=Documentation+under+heading+%22enum+block_state_t%22+could+be+improved">report·issue</a>]</span></div>126 <a·name="block_state_t"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+block_state_t&labels=documentation&body=Documentation+under+heading+%22enum+block_state_t%22+could+be+improved">report·issue</a>]</span></div>
127 <div·class="section"·id="enum-block-state-t">127 <div·class="section"·id="enum-block-state-t">
128 <h2>enum·block_state_t</h2>128 <h2>enum·block_state_t</h2>
129 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/torrent_handle.hpp">libtorrent/torrent_handle.hpp</a>&quot;</p>129 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/torrent_handle.hpp">libtorrent/torrent_handle.hpp</a>&quot;</p>
130 <table·border="1"·class="docutils">130 <table·border="1"·class="docutils">
Offset 254, 110 lines modifiedOffset 254, 110 lines modified
254 Which·means·you·cannot·perform·any·operation·on·it,·unless·you·first254 Which·means·you·cannot·perform·any·operation·on·it,·unless·you·first
255 assign·it·a·valid·handle.·If·you·try·to·perform·any·operation·on·an255 assign·it·a·valid·handle.·If·you·try·to·perform·any·operation·on·an
256 uninitialized·handle,·it·will·throw·<tt·class="docutils·literal">invalid_handle</tt>.</p>256 uninitialized·handle,·it·will·throw·<tt·class="docutils·literal">invalid_handle</tt>.</p>
257 <div·class="admonition·warning">257 <div·class="admonition·warning">
258 <p·class="first·admonition-title">Warning</p>258 <p·class="first·admonition-title">Warning</p>
259 <p·class="last">All·operations·on·a·<a·class="reference·external"·href="reference-Torrent_Handle.html#torrent_handle">torrent_handle</a>·may·throw·system_error259 <p·class="last">All·operations·on·a·<a·class="reference·external"·href="reference-Torrent_Handle.html#torrent_handle">torrent_handle</a>·may·throw·system_error
260 exception,·in·case·the·handle·is·no·longer·referring·to·a·torrent.260 exception,·in·case·the·handle·is·no·longer·referring·to·a·torrent.
261 There·is·one·exception·<a·class="reference·external"·href="reference-Torrent_Info.html#is_valid()">is_valid()</a>·will·never·throw.·Since·the·torrents261 There·is·one·exception·<a·class="reference·external"·href="reference-Torrent_Handle.html#is_valid()">is_valid()</a>·will·never·throw.·Since·the·torrents
262 are·processed·by·a·background·thread,·there·is·no·guarantee·that·a262 are·processed·by·a·background·thread,·there·is·no·guarantee·that·a
263 handle·will·remain·valid·between·two·calls.</p>263 handle·will·remain·valid·between·two·calls.</p>
264 </div>264 </div>
265 <pre·class="literal-block">265 <pre·class="literal-block">
266 struct·torrent_handle266 struct·torrent_handle
267 {267 {
268 ···friend·std::size_t·<strong>hash_value</strong>·(torrent_handle·const&amp;·th);268 ···friend·std::size_t·<strong>hash_value</strong>·(torrent_handle·const&amp;·th);
269 ···<strong>torrent_handle</strong>·()·noexcept·=·default;269 ···<strong>torrent_handle</strong>·()·noexcept·=·default;
270 ···void·<strong>add_piece</strong>·(piece_index_t·piece,·std::vector&lt;char&gt;·data,·add_piece_flags_t·flags·=·{})·const; 
271 ···void·<strong>add_piece</strong>·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t·flags·=·{})·const;270 ···void·<strong>add_piece</strong>·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t·flags·=·{})·const;
 271 ···void·<strong>add_piece</strong>·(piece_index_t·piece,·std::vector&lt;char&gt;·data,·add_piece_flags_t·flags·=·{})·const;
272 ···void·<strong>read_piece</strong>·(piece_index_t·piece)·const;272 ···void·<strong>read_piece</strong>·(piece_index_t·piece)·const;
273 ···bool·<strong>have_piece</strong>·(piece_index_t·piece)·const;273 ···bool·<strong>have_piece</strong>·(piece_index_t·piece)·const;
274 ···void·<strong>get_peer_info</strong>·(std::vector&lt;peer_info&gt;&amp;·v)·const; 
275 ···void·<strong>post_peer_info</strong>·()·const;274 ···void·<strong>post_peer_info</strong>·()·const;
276 ···torrent_status·<strong>status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const;275 ···void·<strong>get_peer_info</strong>·(std::vector&lt;peer_info&gt;&amp;·v)·const;
277 ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const;276 ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const;
278 ···void·<strong>post_download_queue</strong>·()·const;277 ···torrent_status·<strong>status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const;
279 ···std::vector&lt;partial_piece_info&gt;·<strong>get_download_queue</strong>·()·const;278 ···std::vector&lt;partial_piece_info&gt;·<strong>get_download_queue</strong>·()·const;
280 ···void·<strong>get_download_queue</strong>·(std::vector&lt;partial_piece_info&gt;&amp;·queue)·const;279 ···void·<strong>get_download_queue</strong>·(std::vector&lt;partial_piece_info&gt;&amp;·queue)·const;
 280 ···void·<strong>post_download_queue</strong>·()·const;
281 ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const; 
282 ···void·<strong>set_piece_deadline</strong>·(piece_index_t·index,·int·deadline,·deadline_flags_t·flags·=·{})·const; 
283 ···void·<strong>clear_piece_deadlines</strong>·()·const;281 ···void·<strong>clear_piece_deadlines</strong>·()·const;
 282 ···void·<strong>set_piece_deadline</strong>·(piece_index_t·index,·int·deadline,·deadline_flags_t·flags·=·{})·const;
 283 ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const;
284 ···std::vector&lt;std::int64_t&gt;·<strong>file_progress</strong>·(file_progress_flags_t·flags·=·{})·const;284 ···std::vector&lt;std::int64_t&gt;·<strong>file_progress</strong>·(file_progress_flags_t·flags·=·{})·const;
285 ···void·<strong>post_file_progress</strong>·(file_progress_flags_t·flags)·const;285 ···void·<strong>post_file_progress</strong>·(file_progress_flags_t·flags)·const;
286 ···void·<strong>file_progress</strong>·(std::vector&lt;std::int64_t&gt;&amp;·progress,·file_progress_flags_t·flags·=·{})·const;286 ···void·<strong>file_progress</strong>·(std::vector&lt;std::int64_t&gt;&amp;·progress,·file_progress_flags_t·flags·=·{})·const;
287 ···std::vector&lt;open_file_state&gt;·<strong>file_status</strong>·()·const;287 ···std::vector&lt;open_file_state&gt;·<strong>file_status</strong>·()·const;
288 ···void·<strong>clear_error</strong>·()·const;288 ···void·<strong>clear_error</strong>·()·const;
 289 ···std::vector&lt;announce_entry&gt;·<strong>trackers</strong>·()·const;
Max diff block lines reached; 55836/69849 bytes (79.94%) of diff not shown.
50.0 KB
html2text {}
    
Offset 10, 66 lines modifiedOffset 10, 66 lines modified
10 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e10 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
11 ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8)11 ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8)
12 ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)12 ··········o·_\x8a_\x8d_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
13 ··········o·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)13 ··········o·_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
14 ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)14 ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
15 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)15 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)
16 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)16 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)
17 ··········o·_\x8g_\x8e_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8q_\x8u_\x8e_\x8u_\x8e_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8q_\x8u_\x8e_\x8u_\x8e_\x8(_\x8) 
18 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8) 
19 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8f_.i_.l_.e_.__.p_.r_.o_.g_.r_.e_.s_.s_.(_.)_.·_.f_.i_.l_.e_.__.p_.r_.o_.g_.r_.e_.s_.s_\x8(_\x8)17 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_.o_.w_.n_.l_.o_.a_.d_.__.q_.u_.e_.u_.e_.(_.)_.·_.g_.e_.t_.__.d_.o_.w_.n_.l_.o_.a_.d_.__.q_.u_.e_.u_.e_\x8(_\x8)
 18 ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8s_\x8(_\x8)
 19 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8o_\x8g_\x8r_\x8e_\x8s_\x8s_\x8(_\x8)
20 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)20 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)
21 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8)21 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8)
22 ··········o·_\x8r_.e_.p_.l_.a_.c_.e_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.p_.o_.s_.t_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)22 ··········o·_\x8p_.o_.s_.t_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.r_.e_.p_.l_.a_.c_.e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)
23 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)23 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)
24 ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)24 ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)
25 ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)25 ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
26 ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)26 ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8e_\x8t_\x8a_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
27 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)27 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)
28 ··········o·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)28 ··········o·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)
29 ··········o·_\x8f_.l_.a_.g_.s_.(_.)_.·_.s_.e_.t_.__.f_.l_.a_.g_.s_.(_.)_.·_.u_.n_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)29 ··········o·_\x8u_.n_.s_.e_.t_.__.f_.l_.a_.g_.s_.(_.)_.·_.f_.l_.a_.g_.s_.(_.)_.·_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)
30 ··········o·_\x8f_\x8l_\x8u_\x8s_\x8h_\x8__\x8c_\x8a_\x8c_\x8h_\x8e_\x8(_\x8)30 ··········o·_\x8f_\x8l_\x8u_\x8s_\x8h_\x8__\x8c_\x8a_\x8c_\x8h_\x8e_\x8(_\x8)
31 ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8c_\x8h_\x8e_\x8c_\x8k_\x8(_\x8)31 ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\x8c_\x8h_\x8e_\x8c_\x8k_\x8(_\x8)
32 ··········o·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)32 ··········o·_\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
33 ··········o·_\x8n_\x8e_\x8e_\x8d_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)33 ··········o·_\x8n_\x8e_\x8e_\x8d_\x8__\x8s_\x8a_\x8v_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
34 ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8o_\x8p_\x8(_\x8)_\x8·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8u_.p_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.b_.o_.t_.t_.o_.m_\x8(_\x8)34 ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8o_\x8p_\x8(_\x8)_\x8·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_.o_.t_.t_.o_.m_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_\x8(_\x8)
35 ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.d_.o_.w_.n_\x8(_\x8)35 ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__.d_.o_.w_.n_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.u_.p_\x8(_\x8)
36 ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8s_\x8e_\x8t_\x8(_\x8)36 ··········o·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8s_\x8e_\x8t_\x8(_\x8)
37 ··········o·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)37 ··········o·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)
38 ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_.)_.·_.t_.o_.r_.r_.e_.n_.t_.__.f_.i_.l_.e_.__.w_.i_.t_.h_.__.h_.a_.s_.h_.e_.s_\x8(_\x8)38 ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__.w_.i_.t_.h_.__.h_.a_.s_.h_.e_.s_.(_.)_.·_.t_.o_.r_.r_.e_.n_.t_.__.f_.i_.l_.e_\x8(_\x8)
39 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8)39 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8)
40 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8) 
41 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) 
42 ··········o·_\x8g_.e_.t_.__.f_.i_.l_.e_.__.p_.r_.i_.o_.r_.i_.t_.i_.e_.s_.(_.)_.·_.p_.r_.i_.o_.r_.i_.t_.i_.z_.e_.__.f_.i_.l_.e_.s_.(_.)_.·_.f_.i_.l_.e_.__.p_.r_.i_.o_.r_\x8i_\x8t_\x8y_\x8(_\x8)40 ··········o·_\x8p_.i_.e_.c_.e_.__.a_.v_.a_.i_.l_.a_.b_.i_.l_.i_.t_.y_.(_.)_.·_.p_.o_.s_.t_.__.p_.i_.e_.c_.e_.__.a_.v_.a_.i_.l_.a_.b_.i_.l_\x8i_\x8t_\x8y_\x8(_\x8)
 41 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8)_\x8·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)
 42 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8)_\x8·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
43 ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8l_.s_.d_.__.a_.n_.n_.o_.u_.n_.c_.e_.(_.)_.·_.f_.o_.r_.c_.e_.__.r_.e_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)43 ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_.e_.a_.n_.n_.o_.u_.n_.c_.e_.(_.)_.·_.f_.o_.r_.c_.e_.__.l_.s_.d_.__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)
44 ··········o·_\x8s_\x8c_\x8r_\x8a_\x8p_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8)44 ··········o·_\x8s_\x8c_\x8r_\x8a_\x8p_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8)
45 ··········o·_\x8s_\x8e_\x8t_\x8__\x8u_.p_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_.s_.e_.t_.__.d_.o_.w_.n_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_.d_.o_.w_.n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)45 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_.o_.w_.n_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_.d_.o_.w_.n_.l_.o_.a_.d_.__.l_.i_.m_.i_.t_.(_.)_.·_.u_.p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)
46 ············_\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)46 ············_\x8s_.e_.t_.__.u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)
47 ··········o·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8)47 ··········o·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8)
48 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8)48 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8)
49 ··········o·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)49 ··········o·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)
50 ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)50 ··········o·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)
51 ··········o·_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8)51 ··········o·_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8)
52 ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)52 ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
53 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_.s_.(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_\x8(_\x8)53 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_.e_.s_\x8(_\x8)
54 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_.=_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.<_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.!_.=_\x8(_\x8)54 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_.=_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.=_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.<_\x8(_\x8)
55 ··········o·_\x8i_\x8d_\x8(_\x8)55 ··········o·_\x8i_\x8d_\x8(_\x8)
56 ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8)56 ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8)
57 ··········o·_\x8u_\x8s_\x8e_\x8r_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)57 ··········o·_\x8u_\x8s_\x8e_\x8r_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
58 ··········o·_\x8i_\x8n_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)58 ··········o·_\x8i_\x8n_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
59 ····*·_\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)59 ····*·_\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)
60 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]60 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
61 *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*61 *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*
62 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p"62 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p"
63 holds·the·state·of·a·block·in·a·piece.·Who·we·requested·it·from·and·how·far63 holds·the·state·of·a·block·in·a·piece.·Who·we·requested·it·from·and·how·far
64 along·we·are·at·downloading·it.64 along·we·are·at·downloading·it.
65 struct·block_info65 struct·block_info
66 {66 {
67 ···void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep); 
68 ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const;67 ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const;
 68 ···void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep);
  
69 ···enum·block_state_t69 ···enum·block_state_t
70 ···{70 ···{
71 ······none,71 ······none,
72 ······requested,72 ······requested,
73 ······writing,73 ······writing,
74 ······finished,74 ······finished,
Offset 78, 16 lines modifiedOffset 78, 16 lines modified
78 ···unsigned·bytes_progress:15;78 ···unsigned·bytes_progress:15;
79 ···unsigned·block_size:15;79 ···unsigned·block_size:15;
80 ···unsigned·state:2;80 ···unsigned·state:2;
81 ···unsigned·num_peers:14;81 ···unsigned·num_peers:14;
82 };82 };
83 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]83 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
84 *\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r(\x8()\x8)·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*84 *\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r(\x8()\x8)·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
85 void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep); 
86 _\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const;85 _\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·p\x8pe\x8ee\x8er\x8r·()·const;
 86 void·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r·(tcp::endpoint·const&·ep);
87 The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from.87 The·peer·is·the·ip·address·of·the·peer·this·block·was·downloaded·from.
88 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]88 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
89 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_s\x8st\x8ta\x8at\x8te\x8e_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8*89 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_s\x8st\x8ta\x8at\x8te\x8e_\x8_t\x8t·*\x8**\x8**\x8**\x8**\x8*
90 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p"90 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p"
91 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·91 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·
92 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8v\x8v_\x8a\x8a_\x8l\x8l_\x8u\x8u_\x8e\x8e_\x8|_\x8d\x8d_\x8e\x8e_\x8s\x8s_\x8c\x8c_\x8r\x8r_\x8i\x8i_\x8p\x8p_\x8t\x8t_\x8i\x8i_\x8o\x8o_\x8n\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|92 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8v\x8v_\x8a\x8a_\x8l\x8l_\x8u\x8u_\x8e\x8e_\x8|_\x8d\x8d_\x8e\x8e_\x8s\x8s_\x8c\x8c_\x8r\x8r_\x8i\x8i_\x8p\x8p_\x8t\x8t_\x8i\x8i_\x8o\x8o_\x8n\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
93 |none·····|0····|This·block·has·not·been·downloaded·or·requested·form·any···|93 |none·····|0····|This·block·has·not·been·downloaded·or·requested·form·any···|
Offset 175, 111 lines modifiedOffset 175, 111 lines modified
175 the·handle·is·no·longer·referring·to·a·torrent.·There·is·one·exception·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d175 the·handle·is·no·longer·referring·to·a·torrent.·There·is·one·exception·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d
176 _\x8(_\x8)·will·never·throw.·Since·the·torrents·are·processed·by·a·background·thread,176 _\x8(_\x8)·will·never·throw.·Since·the·torrents·are·processed·by·a·background·thread,
177 there·is·no·guarantee·that·a·handle·will·remain·valid·between·two·calls.177 there·is·no·guarantee·that·a·handle·will·remain·valid·between·two·calls.
178 struct·torrent_handle178 struct·torrent_handle
179 {179 {
180 ···friend·std::size_t·h\x8ha\x8as\x8sh\x8h_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(torrent_handle·const&·th);180 ···friend·std::size_t·h\x8ha\x8as\x8sh\x8h_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(torrent_handle·const&·th);
181 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·noexcept·=·default;181 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·noexcept·=·default;
182 ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·std::vector<char>·data, 
183 add_piece_flags_t·flags·=·{})·const; 
184 ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t182 ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·char·const*·data,·add_piece_flags_t
185 flags·=·{})·const;183 flags·=·{})·const;
 184 ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·std::vector<char>·data,
 185 add_piece_flags_t·flags·=·{})·const;
186 ···void·r\x8re\x8ea\x8ad\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const;186 ···void·r\x8re\x8ea\x8ad\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const;
187 ···bool·h\x8ha\x8av\x8ve\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const;187 ···bool·h\x8ha\x8av\x8ve\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece)·const;
188 ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(std::vector<peer_info>&·v)·const; 
189 ···void·p\x8po\x8os\x8st\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·()·const;188 ···void·p\x8po\x8os\x8st\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·()·const;
190 ···torrent_status·s.st.ta.at.tu.us.s·(status_flags_t·flags·=·status_flags_t::all())·const;189 ···void·g.ge.et.t_._p.pe.ee.er.r_._i.in.nf.fo.o·(std::vector<peer_info>&·v)·const;
191 ···void·p\x8po\x8os\x8st\x8t_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const;190 ···void·p\x8po\x8os\x8st\x8t_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const;
192 ···void·p.po.os.st.t_._d.do.ow.wn.nl.lo.oa.ad.d_._q.qu.ue.eu.ue.e·()·const;191 ···torrent_status·s.st.ta.at.tu.us.s·(status_flags_t·flags·=·status_flags_t::all())·const;
193 ···std::vector<partial_piece_info>·g\x8ge\x8et\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·()·const;192 ···std::vector<partial_piece_info>·g\x8ge\x8et\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·()·const;
194 ···void·g\x8ge\x8et\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·(std::vector<partial_piece_info>&·queue)·const;193 ···void·g\x8ge\x8et\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·(std::vector<partial_piece_info>&·queue)·const;
195 ···void·r.re.es.se.et.t_._p.pi.ie.ec.ce.e_._d.de.ea.ad.dl.li.in.ne.e·(piece_index_t·index)·const;194 ···void·p.po.os.st.t_._d.do.ow.wn.nl.lo.oa.ad.d_._q.qu.ue.eu.ue.e·()·const;
 195 ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8es\x8s·()·const;
196 ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8e·(piece_index_t·index,·int·deadline,·deadline_flags_t196 ···void·s\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8e·(piece_index_t·index,·int·deadline,·deadline_flags_t
197 flags·=·{})·const;197 flags·=·{})·const;
198 ···void·c.cl.le.ea.ar.r_._p.pi.ie.ec.ce.e_._d.de.ea.ad.dl.li.in.ne.es.s·()·const;198 ···void·r.re.es.se.et.t_._p.pi.ie.ec.ce.e_._d.de.ea.ad.dl.li.in.ne.e·(piece_index_t·index)·const;
199 ···std::vector<std::int64_t>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags·=·{})199 ···std::vector<std::int64_t>·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags·=·{})
200 const;200 const;
201 ···void·p\x8po\x8os\x8st\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags)·const;201 ···void·p\x8po\x8os\x8st\x8t_\x8_f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(file_progress_flags_t·flags)·const;
202 ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress,202 ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress,
203 file_progress_flags_t·flags·=·{})·const;203 file_progress_flags_t·flags·=·{})·const;
204 ···std::vector<open_file_state>·f\x8fi\x8il\x8le\x8e_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·()·const;204 ···std::vector<open_file_state>·f\x8fi\x8il\x8le\x8e_\x8_s\x8st\x8ta\x8at\x8tu\x8us\x8s·()·const;
205 ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_e\x8er\x8rr\x8ro\x8or\x8r·()·const;205 ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_e\x8er\x8rr\x8ro\x8or\x8r·()·const;
 206 ···std::vector<announce_entry>·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const;
206 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(announce_entry·const&)·const;207 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(announce_entry·const&)·const;
207 ···void·r\x8re\x8ep\x8pl\x8la\x8ac\x8ce\x8e_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(std::vector<announce_entry>·const&)·const;208 ···void·r\x8re\x8ep\x8pl\x8la\x8ac\x8ce\x8e_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(std::vector<announce_entry>·const&)·const;
Max diff block lines reached; 38788/51143 bytes (75.84%) of diff not shown.
42.0 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Info.html
    
Offset 41, 22 lines modifiedOffset 41, 22 lines modified
41 <li><a·class="reference·internal"·href="#load-torrent-limits"·id="toc-entry-5">load_torrent_limits</a></li>41 <li><a·class="reference·internal"·href="#load-torrent-limits"·id="toc-entry-5">load_torrent_limits</a></li>
42 <li><a·class="reference·internal"·href="#torrent-info"·id="toc-entry-6">torrent_info</a><ul>42 <li><a·class="reference·internal"·href="#torrent-info"·id="toc-entry-6">torrent_info</a><ul>
43 <li><a·class="reference·internal"·href="#torrent-info-1"·id="toc-entry-7">torrent_info()</a></li>43 <li><a·class="reference·internal"·href="#torrent-info-1"·id="toc-entry-7">torrent_info()</a></li>
44 <li><a·class="reference·internal"·href="#torrent-info-2"·id="toc-entry-8">~torrent_info()</a></li>44 <li><a·class="reference·internal"·href="#torrent-info-2"·id="toc-entry-8">~torrent_info()</a></li>
45 <li><a·class="reference·internal"·href="#files-orig-files"·id="toc-entry-9">files()·orig_files()</a></li>45 <li><a·class="reference·internal"·href="#files-orig-files"·id="toc-entry-9">files()·orig_files()</a></li>
46 <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-10">rename_file()</a></li>46 <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-10">rename_file()</a></li>
47 <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-11">remap_files()</a></li>47 <li><a·class="reference·internal"·href="#remap-files"·id="toc-entry-11">remap_files()</a></li>
48 <li><a·class="reference·internal"·href="#add-tracker-trackers-clear-trackers"·id="toc-entry-12">add_tracker()·trackers()·clear_trackers()</a></li>48 <li><a·class="reference·internal"·href="#clear-trackers-add-tracker-trackers"·id="toc-entry-12">clear_trackers()·add_tracker()·trackers()</a></li>
49 <li><a·class="reference·internal"·href="#collections-similar-torrents"·id="toc-entry-13">collections()·similar_torrents()</a></li>49 <li><a·class="reference·internal"·href="#collections-similar-torrents"·id="toc-entry-13">collections()·similar_torrents()</a></li>
50 <li><a·class="reference·internal"·href="#web-seeds-add-http-seed-set-web-seeds-add-url-seed"·id="toc-entry-14">web_seeds()·add_http_seed()·set_web_seeds()·add_url_seed()</a></li>50 <li><a·class="reference·internal"·href="#add-http-seed-web-seeds-add-url-seed-set-web-seeds"·id="toc-entry-14">add_http_seed()·web_seeds()·add_url_seed()·set_web_seeds()</a></li>
51 <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-15">total_size()</a></li>51 <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-15">total_size()</a></li>
52 <li><a·class="reference·internal"·href="#piece-length-num-pieces"·id="toc-entry-16">piece_length()·num_pieces()</a></li>52 <li><a·class="reference·internal"·href="#piece-length-num-pieces"·id="toc-entry-16">piece_length()·num_pieces()</a></li>
53 <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-17">blocks_per_piece()</a></li>53 <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-17">blocks_per_piece()</a></li>
54 <li><a·class="reference·internal"·href="#piece-range-end-piece-last-piece"·id="toc-entry-18">piece_range()·end_piece()·last_piece()</a></li>54 <li><a·class="reference·internal"·href="#last-piece-piece-range-end-piece"·id="toc-entry-18">last_piece()·piece_range()·end_piece()</a></li>
55 <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-19">info_hashes()·info_hash()</a></li>55 <li><a·class="reference·internal"·href="#info-hash-info-hashes"·id="toc-entry-19">info_hash()·info_hashes()</a></li>
56 <li><a·class="reference·internal"·href="#v1-v2"·id="toc-entry-20">v1()·v2()</a></li>56 <li><a·class="reference·internal"·href="#v1-v2"·id="toc-entry-20">v1()·v2()</a></li>
57 <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-21">num_files()</a></li>57 <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-21">num_files()</a></li>
58 <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-22">map_block()</a></li>58 <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-22">map_block()</a></li>
59 <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-23">map_file()</a></li>59 <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-23">map_file()</a></li>
60 <li><a·class="reference·internal"·href="#ssl-cert"·id="toc-entry-24">ssl_cert()</a></li>60 <li><a·class="reference·internal"·href="#ssl-cert"·id="toc-entry-24">ssl_cert()</a></li>
61 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-25">is_valid()</a></li>61 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-25">is_valid()</a></li>
62 <li><a·class="reference·internal"·href="#priv"·id="toc-entry-26">priv()</a></li>62 <li><a·class="reference·internal"·href="#priv"·id="toc-entry-26">priv()</a></li>
Offset 197, 56 lines modifiedOffset 197, 56 lines modified
197 <div·class="section"·id="torrent-info">197 <div·class="section"·id="torrent-info">
198 <h1>torrent_info</h1>198 <h1>torrent_info</h1>
199 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>&quot;</p>199 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>&quot;</p>
200 <p>the·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·class·holds·the·information·found·in·a·.torrent·file.</p>200 <p>the·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·class·holds·the·information·found·in·a·.torrent·file.</p>
201 <pre·class="literal-block">201 <pre·class="literal-block">
202 class·torrent_info202 class·torrent_info
203 {203 {
204 ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&amp;·info_hash); 
205 ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size);204 ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size);
206 ···explicit·<strong>torrent_info</strong>·(std::string·const&amp;·filename); 
207 ···<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·error_code&amp;·ec,·from_span_t);205 ···<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·load_torrent_limits·const&amp;·cfg,·from_span_t);
 206 ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file);
208 ···<strong>torrent_info</strong>·(torrent_info·const&amp;·t);207 ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&amp;·info_hash);
209 ···<strong>torrent_info</strong>·(std::string·const&amp;·filename,·load_torrent_limits·const&amp;·cfg);208 ···<strong>torrent_info</strong>·(std::string·const&amp;·filename,·load_torrent_limits·const&amp;·cfg);
210 ···<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·error_code&amp;·ec); 
211 ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&amp;·ec);209 ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&amp;·ec);
212 ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file); 
213 ···<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·load_torrent_limits·const&amp;·cfg,·from_span_t); 
214 ···<strong>torrent_info</strong>·(std::string·const&amp;·filename,·error_code&amp;·ec);210 ···<strong>torrent_info</strong>·(std::string·const&amp;·filename,·error_code&amp;·ec);
 211 ···explicit·<strong>torrent_info</strong>·(std::string·const&amp;·filename);
215 ···<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·load_torrent_limits·const&amp;·cfg);212 ···<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·load_torrent_limits·const&amp;·cfg);
 213 ···<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·error_code&amp;·ec);
 214 ···<strong>torrent_info</strong>·(torrent_info·const&amp;·t);
 215 ···<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·error_code&amp;·ec,·from_span_t);
216 ···explicit·<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·from_span_t);216 ···explicit·<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·from_span_t);
217 ···<strong>~torrent_info</strong>·();217 ···<strong>~torrent_info</strong>·();
218 ···file_storage·const&amp;·<strong>orig_files</strong>·()·const; 
219 ···file_storage·const&amp;·<strong>files</strong>·()·const;218 ···file_storage·const&amp;·<strong>files</strong>·()·const;
 219 ···file_storage·const&amp;·<strong>orig_files</strong>·()·const;
220 ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&amp;·new_filename);220 ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&amp;·new_filename);
221 ···void·<strong>remap_files</strong>·(file_storage·const&amp;·f);221 ···void·<strong>remap_files</strong>·(file_storage·const&amp;·f);
222 ···void·<strong>add_tracker</strong>·(std::string·const&amp;·url,·int·tier·=·0);222 ···void·<strong>add_tracker</strong>·(std::string·const&amp;·url,·int·tier·=·0);
223 ···void·<strong>clear_trackers</strong>·(); 
224 ···std::vector&lt;announce_entry&gt;·const&amp;·<strong>trackers</strong>·()·const; 
225 ···void·<strong>add_tracker</strong>·(std::string·const&amp;·url,·int·tier223 ···void·<strong>add_tracker</strong>·(std::string·const&amp;·url,·int·tier
226 ······,·announce_entry::tracker_source·source);224 ······,·announce_entry::tracker_source·source);
227 ···std::vector&lt;std::string&gt;·<strong>collections</strong>·()·const;225 ···void·<strong>clear_trackers</strong>·();
 226 ···std::vector&lt;announce_entry&gt;·const&amp;·<strong>trackers</strong>·()·const;
228 ···std::vector&lt;sha1_hash&gt;·<strong>similar_torrents</strong>·()·const;227 ···std::vector&lt;sha1_hash&gt;·<strong>similar_torrents</strong>·()·const;
 228 ···std::vector&lt;std::string&gt;·<strong>collections</strong>·()·const;
 229 ···std::vector&lt;web_seed_entry&gt;·const&amp;·<strong>web_seeds</strong>·()·const;
229 ···void·<strong>add_http_seed</strong>·(std::string·const&amp;·url 
230 ······,·std::string·const&amp;·extern_auth·=·std::string() 
231 ······,·web_seed_entry::headers_t·const&amp;·extra_headers·=·web_seed_entry::headers_t()); 
232 ···void·<strong>add_url_seed</strong>·(std::string·const&amp;·url230 ···void·<strong>add_url_seed</strong>·(std::string·const&amp;·url
233 ······,·std::string·const&amp;·ext_auth·=·std::string()231 ······,·std::string·const&amp;·ext_auth·=·std::string()
234 ······,·web_seed_entry::headers_t·const&amp;·ext_headers·=·web_seed_entry::headers_t());232 ······,·web_seed_entry::headers_t·const&amp;·ext_headers·=·web_seed_entry::headers_t());
235 ···std::vector&lt;web_seed_entry&gt;·const&amp;·<strong>web_seeds</strong>·()·const;233 ···void·<strong>add_http_seed</strong>·(std::string·const&amp;·url
 234 ······,·std::string·const&amp;·extern_auth·=·std::string()
 235 ······,·web_seed_entry::headers_t·const&amp;·extra_headers·=·web_seed_entry::headers_t());
236 ···void·<strong>set_web_seeds</strong>·(std::vector&lt;web_seed_entry&gt;·seeds);236 ···void·<strong>set_web_seeds</strong>·(std::vector&lt;web_seed_entry&gt;·seeds);
237 ···std::int64_t·<strong>total_size</strong>·()·const;237 ···std::int64_t·<strong>total_size</strong>·()·const;
238 ···int·<strong>piece_length</strong>·()·const; 
239 ···int·<strong>num_pieces</strong>·()·const;238 ···int·<strong>num_pieces</strong>·()·const;
 239 ···int·<strong>piece_length</strong>·()·const;
240 ···int·<strong>blocks_per_piece</strong>·()·const;240 ···int·<strong>blocks_per_piece</strong>·()·const;
241 ···index_range&lt;piece_index_t&gt;·<strong>piece_range</strong>·()·const; 
242 ···piece_index_t·<strong>last_piece</strong>·()·const;241 ···piece_index_t·<strong>last_piece</strong>·()·const;
243 ···piece_index_t·<strong>end_piece</strong>·()·const;242 ···piece_index_t·<strong>end_piece</strong>·()·const;
244 ···info_hash_t·const&amp;·<strong>info_hashes</strong>·()·const;243 ···index_range&lt;piece_index_t&gt;·<strong>piece_range</strong>·()·const;
245 ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept;244 ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept;
 245 ···info_hash_t·const&amp;·<strong>info_hashes</strong>·()·const;
246 ···bool·<strong>v1</strong>·()·const;246 ···bool·<strong>v1</strong>·()·const;
247 ···bool·<strong>v2</strong>·()·const;247 ···bool·<strong>v2</strong>·()·const;
248 ···int·<strong>num_files</strong>·()·const;248 ···int·<strong>num_files</strong>·()·const;
249 ···std::vector&lt;file_slice&gt;·<strong>map_block</strong>·(piece_index_t·const·piece249 ···std::vector&lt;file_slice&gt;·<strong>map_block</strong>·(piece_index_t·const·piece
250 ······,·std::int64_t·offset,·int·size)·const;250 ······,·std::int64_t·offset,·int·size)·const;
251 ···peer_request·<strong>map_file</strong>·(file_index_t·const·file,·std::int64_t·offset,·int·size)·const;251 ···peer_request·<strong>map_file</strong>·(file_index_t·const·file,·std::int64_t·offset,·int·size)·const;
252 ···string_view·<strong>ssl_cert</strong>·()·const;252 ···string_view·<strong>ssl_cert</strong>·()·const;
Offset 269, 26 lines modifiedOffset 269, 26 lines modified
269 ···span&lt;char·const&gt;·<strong>piece_layer</strong>·(file_index_t)·const;269 ···span&lt;char·const&gt;·<strong>piece_layer</strong>·(file_index_t)·const;
270 ···void·<strong>free_piece_layers</strong>·();270 ···void·<strong>free_piece_layers</strong>·();
271 };271 };
272 </pre>272 </pre>
273 <a·name="torrent_info()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_info%3A%3A%5Btorrent_info%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_info%3A%3A%5Btorrent_info%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="torrent-info-1">273 <a·name="torrent_info()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_info%3A%3A%5Btorrent_info%28%29%5D&labels=documentation&body=Documentation+under+heading+%22torrent_info%3A%3A%5Btorrent_info%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="torrent-info-1">
274 <h2>torrent_info()</h2>274 <h2>torrent_info()</h2>
275 <pre·class="literal-block">275 <pre·class="literal-block">
276 explicit·<strong>torrent_info</strong>·(info_hash_t·const&amp;·info_hash); 
277 <strong>torrent_info</strong>·(char·const*·buffer,·int·size);276 <strong>torrent_info</strong>·(char·const*·buffer,·int·size);
278 explicit·<strong>torrent_info</strong>·(std::string·const&amp;·filename); 
279 <strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·error_code&amp;·ec,·from_span_t);277 <strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·load_torrent_limits·const&amp;·cfg,·from_span_t);
280 <strong>torrent_info</strong>·(torrent_info·const&amp;·t);278 explicit·<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file);
 279 explicit·<strong>torrent_info</strong>·(info_hash_t·const&amp;·info_hash);
281 <strong>torrent_info</strong>·(std::string·const&amp;·filename,·load_torrent_limits·const&amp;·cfg);280 <strong>torrent_info</strong>·(std::string·const&amp;·filename,·load_torrent_limits·const&amp;·cfg);
282 <strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·error_code&amp;·ec); 
283 <strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&amp;·ec);281 <strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&amp;·ec);
284 explicit·<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file); 
285 <strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·load_torrent_limits·const&amp;·cfg,·from_span_t); 
286 <strong>torrent_info</strong>·(std::string·const&amp;·filename,·error_code&amp;·ec);282 <strong>torrent_info</strong>·(std::string·const&amp;·filename,·error_code&amp;·ec);
 283 explicit·<strong>torrent_info</strong>·(std::string·const&amp;·filename);
287 <strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·load_torrent_limits·const&amp;·cfg);284 <strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·load_torrent_limits·const&amp;·cfg);
 285 <strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·error_code&amp;·ec);
 286 <strong>torrent_info</strong>·(torrent_info·const&amp;·t);
 287 <strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·error_code&amp;·ec,·from_span_t);
288 explicit·<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·from_span_t);288 explicit·<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·from_span_t);
289 </pre>289 </pre>
290 <p>The·constructor·that·takes·an·info-hash·will·initialize·the·info-hash290 <p>The·constructor·that·takes·an·info-hash·will·initialize·the·info-hash
291 to·the·given·value,·but·leave·all·other·fields·empty.·This·is·used291 to·the·given·value,·but·leave·all·other·fields·empty.·This·is·used
292 internally·when·downloading·torrents·without·the·metadata.·The292 internally·when·downloading·torrents·without·the·metadata.·The
293 metadata·will·be·created·by·libtorrent·as·soon·as·it·has·been293 metadata·will·be·created·by·libtorrent·as·soon·as·it·has·been
294 downloaded·from·the·swarm.</p>294 downloaded·from·the·swarm.</p>
Offset 323, 16 lines modifiedOffset 323, 16 lines modified
323 </pre>323 </pre>
324 <p>frees·all·storage·associated·with·this·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·object</p>324 <p>frees·all·storage·associated·with·this·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>·object</p>
Max diff block lines reached; 13135/24226 bytes (54.22%) of diff not shown.
18.2 KB
html2text {}
    
Offset 10, 22 lines modifiedOffset 10, 22 lines modified
10 ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s10 ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s
11 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o11 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o
12 ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)12 ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)
13 ··········o·_\x8~_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)13 ··········o·_\x8~_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)
14 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)14 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)_\x8·_\x8o_\x8r_\x8i_\x8g_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
15 ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)15 ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
16 ··········o·_\x8r_\x8e_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)16 ··········o·_\x8r_\x8e_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
17 ··········o·_\x8a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.c_.l_.e_.a_.r_.__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)17 ··········o·_\x8c_.l_.e_.a_.r_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)
18 ··········o·_\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)18 ··········o·_\x8c_\x8o_\x8l_\x8l_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8i_\x8m_\x8i_\x8l_\x8a_\x8r_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)
19 ··········o·_\x8w_.e_.b_.__.s_.e_.e_.d_.s_.(_.)_.·_.a_.d_.d_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.s_.e_.t_.__.w_.e_.b_.__.s_.e_.e_.d_.s_.(_.)_.·_.a_.d_.d_.__.u_.r_.l_.__.s_.e_.e_.d_\x8(_\x8)19 ··········o·_\x8a_.d_.d_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.w_.e_.b_.__.s_.e_.e_.d_.s_.(_.)_.·_.a_.d_.d_.__.u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.s_.e_.t_.__.w_.e_.b_.__.s_.e_.e_.d_.s_\x8(_\x8)
20 ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)20 ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)
21 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)_\x8·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)21 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)_\x8·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)
22 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)22 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
23 ··········o·_\x8p_.i_.e_.c_.e_.__.r_.a_.n_.g_.e_.(_.)_.·_.e_.n_.d_.__.p_.i_.e_.c_.e_.(_.)_.·_.l_.a_.s_.t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)23 ··········o·_\x8l_.a_.s_.t_.__.p_.i_.e_.c_.e_.(_.)_.·_.p_.i_.e_.c_.e_.__.r_.a_.n_.g_.e_.(_.)_.·_.e_.n_.d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
24 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_.s_.(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_\x8(_\x8)24 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_.e_.s_\x8(_\x8)
25 ··········o·_\x8v_\x81_\x8(_\x8)_\x8·_\x8v_\x82_\x8(_\x8)25 ··········o·_\x8v_\x81_\x8(_\x8)_\x8·_\x8v_\x82_\x8(_\x8)
26 ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)26 ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
27 ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8)27 ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8)
28 ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)28 ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
29 ··········o·_\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8)29 ··········o·_\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8(_\x8)
30 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)30 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)
31 ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8)31 ··········o·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8)
Offset 120, 60 lines modifiedOffset 120, 60 lines modified
120 ······the·max·number·of·bdecode·tokens120 ······the·max·number·of·bdecode·tokens
121 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]121 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
122 *\x8**\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*122 *\x8**\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*
123 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p"123 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p"
124 the·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·class·holds·the·information·found·in·a·.torrent·file.124 the·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o·class·holds·the·information·found·in·a·.torrent·file.
125 class·torrent_info125 class·torrent_info
126 {126 {
127 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); 
128 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size);127 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size);
129 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); 
130 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t); 
131 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); 
132 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); 
133 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec); 
134 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); 
135 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); 
136 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,128 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,
137 from_span_t);129 from_span_t);
 130 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file);
 131 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash);
 132 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg);
 133 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec);
138 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec);134 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec);
 135 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename);
139 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&136 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&
140 cfg);137 cfg);
 138 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec);
 139 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t);
 140 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t);
141 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t);141 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t);
142 ···~\x8~t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·();142 ···~\x8~t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·();
143 ···file_storage·const&·o\x8or\x8ri\x8ig\x8g_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const; 
144 ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const;143 ···file_storage·const&·f\x8fi\x8il\x8le\x8es\x8s·()·const;
 144 ···file_storage·const&·o\x8or\x8ri\x8ig\x8g_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const;
145 ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename);145 ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename);
146 ···void·r\x8re\x8em\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage·const&·f);146 ···void·r\x8re\x8em\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8es\x8s·(file_storage·const&·f);
147 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0);147 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0);
148 ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·(); 
149 ···std::vector<announce_entry>·const&·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const; 
150 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier148 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier
151 ······,·announce_entry::tracker_source·source);149 ······,·announce_entry::tracker_source·source);
152 ···std::vector<std::string>·c.co.ol.ll.le.ec.ct.ti.io.on.ns.s·()·const;150 ···void·c.cl.le.ea.ar.r_._t.tr.ra.ac.ck.ke.er.rs.s·();
 151 ···std::vector<announce_entry>·const&·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const;
153 ···std::vector<sha1_hash>·s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8ts\x8s·()·const;152 ···std::vector<sha1_hash>·s\x8si\x8im\x8mi\x8il\x8la\x8ar\x8r_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8ts\x8s·()·const;
 153 ···std::vector<std::string>·c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8ns\x8s·()·const;
 154 ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const;
154 ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url 
155 ······,·std::string·const&·extern_auth·=·std::string() 
156 ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry:: 
157 headers_t()); 
158 ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url155 ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url
159 ······,·std::string·const&·ext_auth·=·std::string()156 ······,·std::string·const&·ext_auth·=·std::string()
160 ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::157 ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::
161 headers_t());158 headers_t());
162 ···std::vector<web_seed_entry>·const&·w.we.eb.b_._s.se.ee.ed.ds.s·()·const;159 ···void·a.ad.dd.d_._h.ht.tt.tp.p_._s.se.ee.ed.d·(std::string·const&·url
 160 ······,·std::string·const&·extern_auth·=·std::string()
 161 ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry::
 162 headers_t());
163 ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds);163 ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds);
164 ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const;164 ···std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const;
165 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; 
166 ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const;165 ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const;
 166 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const;
167 ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;167 ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;
168 ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const; 
169 ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;168 ···piece_index_t·l\x8la\x8as\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;
170 ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;169 ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;
171 ···info_hash_t·const&·i.in.nf.fo.o_._h.ha.as.sh.he.es.s·()·const;170 ···index_range<piece_index_t>·p.pi.ie.ec.ce.e_._r.ra.an.ng.ge.e·()·const;
172 ···sha1_hash·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h·()·const·noexcept;171 ···sha1_hash·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h·()·const·noexcept;
 172 ···info_hash_t·const&·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8he\x8es\x8s·()·const;
173 ···bool·v\x8v1\x81·()·const;173 ···bool·v\x8v1\x81·()·const;
174 ···bool·v\x8v2\x82·()·const;174 ···bool·v\x8v2\x82·()·const;
175 ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const;175 ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const;
176 ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·const·piece176 ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·const·piece
177 ······,·std::int64_t·offset,·int·size)·const;177 ······,·std::int64_t·offset,·int·size)·const;
178 ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·const·file,·std::int64_t·offset,·int178 ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·const·file,·std::int64_t·offset,·int
179 size)·const;179 size)·const;
Offset 196, 28 lines modifiedOffset 196, 28 lines modified
196 ···bdecode_node·i\x8in\x8nf\x8fo\x8o·(char·const*·key)·const;196 ···bdecode_node·i\x8in\x8nf\x8fo\x8o·(char·const*·key)·const;
197 ···span<char·const>·i\x8in\x8nf\x8fo\x8o_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const;197 ···span<char·const>·i\x8in\x8nf\x8fo\x8o_\x8_s\x8se\x8ec\x8ct\x8ti\x8io\x8on\x8n·()·const;
198 ···span<char·const>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8r·(file_index_t)·const;198 ···span<char·const>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8r·(file_index_t)·const;
199 ···void·f\x8fr\x8re\x8ee\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8rs\x8s·();199 ···void·f\x8fr\x8re\x8ee\x8e_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8la\x8ay\x8ye\x8er\x8rs\x8s·();
200 };200 };
201 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]201 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
202 *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*202 *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
203 explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash); 
204 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size);203 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size);
205 explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename); 
206 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t); 
207 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t); 
208 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); 
209 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec); 
210 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec); 
211 explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); 
212 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,204 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,
213 from_span_t);205 from_span_t);
 206 explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file);
 207 explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash);
 208 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg);
 209 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec);
214 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec);210 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·error_code&·ec);
 211 explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename);
215 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&212 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&
216 cfg);213 cfg);
Max diff block lines reached; 8986/18659 bytes (48.16%) of diff not shown.
9.41 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Trackers.html
    
Offset 31, 15 lines modifiedOffset 31, 15 lines modified
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#announce-infohash"·id="toc-entry-1">announce_infohash</a></li>35 <li><a·class="reference·internal"·href="#announce-infohash"·id="toc-entry-1">announce_infohash</a></li>
36 <li><a·class="reference·internal"·href="#announce-endpoint"·id="toc-entry-2">announce_endpoint</a></li>36 <li><a·class="reference·internal"·href="#announce-endpoint"·id="toc-entry-2">announce_endpoint</a></li>
37 <li><a·class="reference·internal"·href="#announce-entry"·id="toc-entry-3">announce_entry</a><ul>37 <li><a·class="reference·internal"·href="#announce-entry"·id="toc-entry-3">announce_entry</a><ul>
38 <li><a·class="reference·internal"·href="#announce-entry-operator-announce-entry"·id="toc-entry-4">announce_entry()·operator=()·~announce_entry()</a></li>38 <li><a·class="reference·internal"·href="#operator-announce-entry-announce-entry"·id="toc-entry-4">operator=()·~announce_entry()·announce_entry()</a></li>
39 <li><a·class="reference·internal"·href="#enum-tracker-source"·id="toc-entry-5">enum·tracker_source</a></li>39 <li><a·class="reference·internal"·href="#enum-tracker-source"·id="toc-entry-5">enum·tracker_source</a></li>
40 </ul>40 </ul>
41 </li>41 </li>
42 </ul>42 </ul>
43 </div>43 </div>
44 <a·name="announce_infohash"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+announce_infohash&labels=documentation&body=Documentation+under+heading+%22class+announce_infohash%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="announce-infohash">44 <a·name="announce_infohash"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+announce_infohash&labels=documentation&body=Documentation+under+heading+%22class+announce_infohash%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="announce-infohash">
45 <h1>announce_infohash</h1>45 <h1>announce_infohash</h1>
Offset 131, 19 lines modifiedOffset 131, 19 lines modified
131 <h1>announce_entry</h1>131 <h1>announce_entry</h1>
132 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>&quot;</p>132 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>&quot;</p>
133 <p>this·class·holds·information·about·one·bittorrent·tracker,·as·it133 <p>this·class·holds·information·about·one·bittorrent·tracker,·as·it
134 relates·to·a·specific·torrent.</p>134 relates·to·a·specific·torrent.</p>
135 <pre·class="literal-block">135 <pre·class="literal-block">
136 struct·announce_entry136 struct·announce_entry
137 {137 {
138 ···<strong>~announce_entry</strong>·(); 
139 ···explicit·<strong>announce_entry</strong>·(string_view·u); 
140 ···announce_entry&amp;·<strong>operator=</strong>·(announce_entry·const&amp;)·&amp;;138 ···announce_entry&amp;·<strong>operator=</strong>·(announce_entry·const&amp;)·&amp;;
141 ···<strong>announce_entry</strong>·();139 ···explicit·<strong>announce_entry</strong>·(string_view·u);
142 ···<strong>announce_entry</strong>·(announce_entry·const&amp;);140 ···<strong>announce_entry</strong>·(announce_entry·const&amp;);
 141 ···<strong>~announce_entry</strong>·();
 142 ···<strong>announce_entry</strong>·();
  
143 ···enum·tracker_source143 ···enum·tracker_source
144 ···{144 ···{
145 ······source_torrent,145 ······source_torrent,
146 ······source_client,146 ······source_client,
147 ······source_magnet_link,147 ······source_magnet_link,
148 ······source_tex,148 ······source_tex,
Offset 154, 24 lines modifiedOffset 154, 24 lines modified
154 ···std::vector&lt;announce_endpoint&gt;·endpoints;154 ···std::vector&lt;announce_endpoint&gt;·endpoints;
155 ···std::uint8_t·<strong>tier</strong>··=·0;155 ···std::uint8_t·<strong>tier</strong>··=·0;
156 ···std::uint8_t·<strong>fail_limit</strong>··=·0;156 ···std::uint8_t·<strong>fail_limit</strong>··=·0;
157 ···std::uint8_t·source:4;157 ···std::uint8_t·source:4;
158 ···bool·verified:1;158 ···bool·verified:1;
159 };159 };
160 </pre>160 </pre>
161 <a·name="announce_entry()"></a> 
162 <a·name="operator=()"></a>161 <a·name="operator=()"></a>
 162 <a·name="~announce_entry()"></a>
163 <a·name="~announce_entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_entry%3A%3A%5Bannounce_entry%28%29+operator%3D%28%29+~announce_entry%28%29%5D&labels=documentation&body=Documentation+under+headi[·...·truncated·by·diffoscope;·len:·187,·SHA:·ece11e7fef22e0f55831b6cb88b4181fc96057ad7126acee89425e064ba44a9b·...·]-announce-entry">163 <a·name="announce_entry()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_entry%3A%3A%5Boperator%3D%28%29+~announce_entry%28%29+announce_entry%28%29%5D&labels=documentation&body=Documentation+under+headin[·...·truncated·by·diffoscope;·len:·186,·SHA:·e5bf12d21c9f7ab477c253d1a9a7c8a9d706daa775e0258129bac2c377eed1f6·...·]-announce-entry">
164 <h2>announce_entry()·operator=()·~announce_entry()</h2>164 <h2>operator=()·~announce_entry()·announce_entry()</h2>
165 <pre·class="literal-block">165 <pre·class="literal-block">
166 <strong>~announce_entry</strong>·(); 
167 explicit·<strong>announce_entry</strong>·(string_view·u); 
168 announce_entry&amp;·<strong>operator=</strong>·(announce_entry·const&amp;)·&amp;;166 announce_entry&amp;·<strong>operator=</strong>·(announce_entry·const&amp;)·&amp;;
169 <strong>announce_entry</strong>·();167 explicit·<strong>announce_entry</strong>·(string_view·u);
170 <strong>announce_entry</strong>·(announce_entry·const&amp;);168 <strong>announce_entry</strong>·(announce_entry·const&amp;);
 169 <strong>~announce_entry</strong>·();
 170 <strong>announce_entry</strong>·();
171 </pre>171 </pre>
172 <p>constructs·a·tracker·announce·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·with·<tt·class="docutils·literal">u</tt>·as·the·URL.</p>172 <p>constructs·a·tracker·announce·<a·class="reference·external"·href="reference-Bencoding.html#entry">entry</a>·with·<tt·class="docutils·literal">u</tt>·as·the·URL.</p>
173 <a·name="tracker_source"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+tracker_source&labels=documentation&body=Documentation+under+heading+%22enum+tracker_source%22+could+be+improved">report·issue</a>]</span></div>173 <a·name="tracker_source"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+tracker_source&labels=documentation&body=Documentation+under+heading+%22enum+tracker_source%22+could+be+improved">report·issue</a>]</span></div>
174 <div·class="section"·id="enum-tracker-source">174 <div·class="section"·id="enum-tracker-source">
175 <h2>enum·tracker_source</h2>175 <h2>enum·tracker_source</h2>
176 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>&quot;</p>176 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/announce_entry.hpp">libtorrent/announce_entry.hpp</a>&quot;</p>
177 <table·border="1"·class="docutils">177 <table·border="1"·class="docutils">
Offset 189, 15 lines modifiedOffset 189, 15 lines modified
189 <tbody·valign="top">189 <tbody·valign="top">
190 <tr><td>source_torrent</td>190 <tr><td>source_torrent</td>
191 <td>1</td>191 <td>1</td>
192 <td>the·tracker·was·part·of·the·.torrent·file</td>192 <td>the·tracker·was·part·of·the·.torrent·file</td>
193 </tr>193 </tr>
194 <tr><td>source_client</td>194 <tr><td>source_client</td>
195 <td>2</td>195 <td>2</td>
196 <td>the·tracker·was·added·programmatically·via·the·<a·class="reference·external"·href="reference-Torrent_Info.html#add_tracker()">add_tracker()</a>·function</td>196 <td>the·tracker·was·added·programmatically·via·the·<a·class="reference·external"·href="reference-Torrent_Handle.html#add_tracker()">add_tracker()</a>·function</td>
197 </tr>197 </tr>
198 <tr><td>source_magnet_link</td>198 <tr><td>source_magnet_link</td>
199 <td>4</td>199 <td>4</td>
200 <td>the·tracker·was·part·of·a·magnet·link</td>200 <td>the·tracker·was·part·of·a·magnet·link</td>
201 </tr>201 </tr>
202 <tr><td>source_tex</td>202 <tr><td>source_tex</td>
203 <td>8</td>203 <td>8</td>
3.99 KB
html2text {}
    
Offset 2, 15 lines modifiedOffset 2, 15 lines modified
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h6 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h
7 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t7 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t
8 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y8 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y
9 ··········o·_\x8a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.(_.)_.·_.~_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)9 ··········o·_\x8o_.p_.e_.r_.a_.t_.o_.r_.=_.(_.)_.·_.~_.a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_.(_.)_.·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)
10 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e10 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e
11 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]11 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
12 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_i\x8in\x8nf\x8fo\x8oh\x8ha\x8as\x8sh\x8h·*\x8**\x8**\x8**\x8**\x8**\x8*12 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_i\x8in\x8nf\x8fo\x8oh\x8ha\x8as\x8sh\x8h·*\x8**\x8**\x8**\x8**\x8**\x8*
13 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p"13 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p"
14 struct·announce_infohash14 struct·announce_infohash
15 {15 {
16 ···std::string·message;16 ···std::string·message;
Offset 78, 19 lines modifiedOffset 78, 19 lines modified
78 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]78 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
79 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·*\x8**\x8**\x8**\x8**\x8**\x8*79 *\x8**\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·*\x8**\x8**\x8**\x8**\x8**\x8*
80 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p"80 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p"
81 this·class·holds·information·about·one·bittorrent·tracker,·as·it·relates·to·a81 this·class·holds·information·about·one·bittorrent·tracker,·as·it·relates·to·a
82 specific·torrent.82 specific·torrent.
83 struct·announce_entry83 struct·announce_entry
84 {84 {
85 ···~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); 
86 ···explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); 
87 ···announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&;85 ···announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&;
88 ···a.an.nn.no.ou.un.nc.ce.e_._e.en.nt.tr.ry.y·();86 ···explicit·a.an.nn.no.ou.un.nc.ce.e_._e.en.nt.tr.ry.y·(string_view·u);
89 ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&);87 ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&);
 88 ···~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·();
 89 ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·();
  
90 ···enum·tracker_source90 ···enum·tracker_source
91 ···{91 ···{
92 ······source_torrent,92 ······source_torrent,
93 ······source_client,93 ······source_client,
94 ······source_magnet_link,94 ······source_magnet_link,
95 ······source_tex,95 ······source_tex,
Offset 101, 20 lines modifiedOffset 101, 20 lines modified
101 ···std::vector<announce_endpoint>·endpoints;101 ···std::vector<announce_endpoint>·endpoints;
102 ···std::uint8_t·t\x8ti\x8ie\x8er\x8r··=·0;102 ···std::uint8_t·t\x8ti\x8ie\x8er\x8r··=·0;
103 ···std::uint8_t·f\x8fa\x8ai\x8il\x8l_\x8_l\x8li\x8im\x8mi\x8it\x8t··=·0;103 ···std::uint8_t·f\x8fa\x8ai\x8il\x8l_\x8_l\x8li\x8im\x8mi\x8it\x8t··=·0;
104 ···std::uint8_t·source:4;104 ···std::uint8_t·source:4;
105 ···bool·verified:1;105 ···bool·verified:1;
106 };106 };
107 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]107 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 108 *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
108 *\x8**\x8**\x8**\x8**\x8*·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
109 ~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); 
110 explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u); 
111 announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&;109 announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&;
112 a.an.nn.no.ou.un.nc.ce.e_._e.en.nt.tr.ry.y·();110 explicit·a.an.nn.no.ou.un.nc.ce.e_._e.en.nt.tr.ry.y·(string_view·u);
113 a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&);111 a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(announce_entry·const&);
 112 ~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·();
 113 a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·();
114 constructs·a·tracker·announce·_\x8e_\x8n_\x8t_\x8r_\x8y·with·u·as·the·URL.114 constructs·a·tracker·announce·_\x8e_\x8n_\x8t_\x8r_\x8y·with·u·as·the·URL.
115 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]115 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
116 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r_\x8_s\x8so\x8ou\x8ur\x8rc\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8*116 *\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r_\x8_s\x8so\x8ou\x8ur\x8rc\x8ce\x8e·*\x8**\x8**\x8**\x8**\x8*
117 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p"117 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8._\x8h_\x8p_\x8p"
118 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·118 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·
119 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8v\x8v_\x8a\x8a_\x8l\x8l_\x8u\x8u_\x8e\x8e_\x8|_\x8d\x8d_\x8e\x8e_\x8s\x8s_\x8c\x8c_\x8r\x8r_\x8i\x8i_\x8p\x8p_\x8t\x8t_\x8i\x8i_\x8o\x8o_\x8n\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|119 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8v\x8v_\x8a\x8a_\x8l\x8l_\x8u\x8u_\x8e\x8e_\x8|_\x8d\x8d_\x8e\x8e_\x8s\x8s_\x8c\x8c_\x8r\x8r_\x8i\x8i_\x8p\x8p_\x8t\x8t_\x8i\x8i_\x8o\x8o_\x8n\x8n_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
120 |_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8t_\x8h_\x8e_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8·_\x8w_\x8a_\x8s_\x8·_\x8p_\x8a_\x8r_\x8t_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8e_\x8·_\x8._\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|120 |_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8t_\x8h_\x8e_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8·_\x8w_\x8a_\x8s_\x8·_\x8p_\x8a_\x8r_\x8t_\x8·_\x8o_\x8f_\x8·_\x8t_\x8h_\x8e_\x8·_\x8._\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8f_\x8i_\x8l_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
46.2 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Utility.html
    
Offset 28, 213 lines modifiedOffset 28, 91 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
 35 <li><a·class="reference·internal"·href="#bitfield"·id="toc-entry-1">bitfield</a><ul>
 36 <li><a·class="reference·internal"·href="#bitfield-1"·id="toc-entry-2">bitfield()</a></li>
 37 <li><a·class="reference·internal"·href="#assign"·id="toc-entry-3">assign()</a></li>
 38 <li><a·class="reference·internal"·href="#get-bit-operator"·id="toc-entry-4">get_bit()·operator[]()</a></li>
 39 <li><a·class="reference·internal"·href="#set-bit-clear-bit"·id="toc-entry-5">set_bit()·clear_bit()</a></li>
 40 <li><a·class="reference·internal"·href="#all-set"·id="toc-entry-6">all_set()</a></li>
 41 <li><a·class="reference·internal"·href="#none-set"·id="toc-entry-7">none_set()</a></li>
35 <li><a·class="reference·internal"·href="#hasher"·id="toc-entry-1">hasher</a><ul>42 <li><a·class="reference·internal"·href="#size"·id="toc-entry-8">size()</a></li>
 43 <li><a·class="reference·internal"·href="#num-words"·id="toc-entry-9">num_words()</a></li>
 44 <li><a·class="reference·internal"·href="#num-bytes"·id="toc-entry-10">num_bytes()</a></li>
36 <li><a·class="reference·internal"·href="#hasher-operator"·id="toc-entry-2">hasher()·operator=()</a></li>45 <li><a·class="reference·internal"·href="#empty"·id="toc-entry-11">empty()</a></li>
37 <li><a·class="reference·internal"·href="#update"·id="toc-entry-3">update()</a></li>46 <li><a·class="reference·internal"·href="#data"·id="toc-entry-12">data()</a></li>
 47 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li>
38 <li><a·class="reference·internal"·href="#final"·id="toc-entry-4">final()</a></li>48 <li><a·class="reference·internal"·href="#count"·id="toc-entry-14">count()</a></li>
39 <li><a·class="reference·internal"·href="#reset"·id="toc-entry-5">reset()</a></li>49 <li><a·class="reference·internal"·href="#find-first-set"·id="toc-entry-15">find_first_set()</a></li>
 50 <li><a·class="reference·internal"·href="#find-last-clear"·id="toc-entry-16">find_last_clear()</a></li>
40 </ul>51 </ul>
41 </li>52 </li>
42 <li><a·class="reference·internal"·href="#hasher256"·id="toc-entry-6">hasher256</a><ul>53 <li><a·class="reference·internal"·href="#hasher"·id="toc-entry-17">hasher</a><ul>
43 <li><a·class="reference·internal"·href="#operator-hasher256"·id="toc-entry-7">operator=()·hasher256()</a></li>54 <li><a·class="reference·internal"·href="#hasher-operator"·id="toc-entry-18">hasher()·operator=()</a></li>
44 <li><a·class="reference·internal"·href="#update-1"·id="toc-entry-8">update()</a></li>55 <li><a·class="reference·internal"·href="#update"·id="toc-entry-19">update()</a></li>
45 <li><a·class="reference·internal"·href="#final-1"·id="toc-entry-9">final()</a></li>56 <li><a·class="reference·internal"·href="#final"·id="toc-entry-20">final()</a></li>
46 <li><a·class="reference·internal"·href="#reset-1"·id="toc-entry-10">reset()</a></li>57 <li><a·class="reference·internal"·href="#reset"·id="toc-entry-21">reset()</a></li>
47 </ul>58 </ul>
48 </li>59 </li>
49 <li><a·class="reference·internal"·href="#bitfield"·id="toc-entry-11">bitfield</a><ul> 
50 <li><a·class="reference·internal"·href="#bitfield-1"·id="toc-entry-12">bitfield()</a></li> 
51 <li><a·class="reference·internal"·href="#assign"·id="toc-entry-13">assign()</a></li>60 <li><a·class="reference·internal"·href="#hasher256"·id="toc-entry-22">hasher256</a><ul>
52 <li><a·class="reference·internal"·href="#get-bit-operator"·id="toc-entry-14">get_bit()·operator[]()</a></li>61 <li><a·class="reference·internal"·href="#hasher256-operator"·id="toc-entry-23">hasher256()·operator=()</a></li>
53 <li><a·class="reference·internal"·href="#clear-bit-set-bit"·id="toc-entry-15">clear_bit()·set_bit()</a></li> 
54 <li><a·class="reference·internal"·href="#all-set"·id="toc-entry-16">all_set()</a></li> 
55 <li><a·class="reference·internal"·href="#none-set"·id="toc-entry-17">none_set()</a></li> 
56 <li><a·class="reference·internal"·href="#size"·id="toc-entry-18">size()</a></li> 
57 <li><a·class="reference·internal"·href="#num-words"·id="toc-entry-19">num_words()</a></li> 
58 <li><a·class="reference·internal"·href="#num-bytes"·id="toc-entry-20">num_bytes()</a></li> 
59 <li><a·class="reference·internal"·href="#empty"·id="toc-entry-21">empty()</a></li> 
60 <li><a·class="reference·internal"·href="#data"·id="toc-entry-22">data()</a></li>62 <li><a·class="reference·internal"·href="#update-1"·id="toc-entry-24">update()</a></li>
61 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-23">swap()</a></li>63 <li><a·class="reference·internal"·href="#final-1"·id="toc-entry-25">final()</a></li>
62 <li><a·class="reference·internal"·href="#count"·id="toc-entry-24">count()</a></li>64 <li><a·class="reference·internal"·href="#reset-1"·id="toc-entry-26">reset()</a></li>
63 <li><a·class="reference·internal"·href="#find-first-set"·id="toc-entry-25">find_first_set()</a></li> 
64 <li><a·class="reference·internal"·href="#find-last-clear"·id="toc-entry-26">find_last_clear()</a></li> 
65 </ul>65 </ul>
66 </li>66 </li>
67 </ul>67 </ul>
68 </div>68 </div>
69 <a·name="hasher"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+hasher&labels=documentation&body=Documentation+under+heading+%22class+hasher%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="hasher"> 
70 <h1>hasher</h1> 
71 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/hasher.hpp">libtorrent/hasher.hpp</a>&quot;</p> 
72 <p>this·is·a·SHA-1·hash·class.</p> 
73 <p>You·use·it·by·first·instantiating·it,·then·call·<tt·class="docutils·literal">update()</tt>·to·feed·it 
74 with·data.·i.e.·you·don't·have·to·keep·the·entire·buffer·of·which·you·want·to 
75 create·the·hash·in·memory.·You·can·feed·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·parts·of·it·at·a·time.·When 
76 You·have·fed·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·with·all·the·data,·you·call·<tt·class="docutils·literal">final()</tt>·and·it 
77 will·return·the·sha1-hash·of·the·data.</p> 
78 <p>The·constructor·that·takes·a·<tt·class="docutils·literal">char·const*</tt>·and·an·integer·will·construct·the 
79 sha1·context·and·feed·it·the·data·passed·in.</p> 
80 <p>If·you·want·to·reuse·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·object·once·you·have·created·a·hash,·you·have·to 
81 call·<tt·class="docutils·literal">reset()</tt>·to·reinitialize·it.</p> 
82 <p>The·built-in·software·version·of·sha1-algorithm·was·implemented 
83 by·Steve·Reid·and·released·as·public·domain. 
84 For·more·info,·see·<tt·class="docutils·literal">src/sha1.cpp</tt>.</p> 
85 <pre·class="literal-block"> 
86 class·hasher 
87 { 
88 ···<strong>hasher</strong>·(); 
89 ···hasher&amp;·<strong>operator=</strong>·(hasher·const&amp;)·&amp;; 
90 ···<strong>hasher</strong>·(hasher·const&amp;); 
91 ···<strong>hasher</strong>·(char·const*·data,·int·len); 
92 ···explicit·<strong>hasher</strong>·(span&lt;char·const&gt;·data); 
93 ···hasher&amp;·<strong>update</strong>·(char·const*·data,·int·len); 
94 ···hasher&amp;·<strong>update</strong>·(span&lt;char·const&gt;·data); 
95 ···sha1_hash·<strong>final</strong>·(); 
96 ···void·<strong>reset</strong>·(); 
97 }; 
98 </pre> 
99 <a·name="hasher()"></a> 
100 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Bhasher%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Bhasher%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="hasher-operator"> 
101 <h2>hasher()·operator=()</h2> 
102 <pre·class="literal-block"> 
103 hasher&amp;·<strong>operator=</strong>·(hasher·const&amp;)·&amp;; 
104 <strong>hasher</strong>·(hasher·const&amp;); 
105 <strong>hasher</strong>·(char·const*·data,·int·len); 
106 explicit·<strong>hasher</strong>·(span&lt;char·const&gt;·data); 
107 </pre> 
108 <p>this·is·the·same·as·default·constructing·followed·by·a·call·to 
109 <tt·class="docutils·literal">update(data,·len)</tt>.</p> 
110 <a·name="update()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Bupdate%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Bupdate%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> 
111 <div·class="section"·id="update"> 
112 <h2>update()</h2> 
113 <pre·class="literal-block"> 
114 hasher&amp;·<strong>update</strong>·(char·const*·data,·int·len); 
115 hasher&amp;·<strong>update</strong>·(span&lt;char·const&gt;·data); 
116 </pre> 
117 <p>append·the·following·bytes·to·what·is·being·hashed</p> 
118 <a·name="final()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Bfinal%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Bfinal%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> 
119 <div·class="section"·id="final"> 
120 <h2>final()</h2> 
121 <pre·class="literal-block"> 
122 sha1_hash·<strong>final</strong>·(); 
123 </pre> 
124 <p>returns·the·SHA-1·digest·of·the·buffers·previously·passed·to 
125 <a·class="reference·external"·href="reference-Utility.html#update()">update()</a>·and·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·constructor.</p> 
126 <a·name="reset()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:hasher%3A%3A%5Breset%28%29%5D&labels=documentation&body=Documentation+under+heading+%22hasher%3A%3A%5Breset%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> 
127 <div·class="section"·id="reset"> 
128 <h2>reset()</h2> 
129 <pre·class="literal-block"> 
130 void·<strong>reset</strong>·(); 
131 </pre> 
132 <p>restore·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·state·to·be·as·if·the·<a·class="reference·external"·href="reference-Utility.html#hasher">hasher</a>·has·just·been 
133 default·constructed.</p> 
134 <a·name="hasher256"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+hasher256&labels=documentation&body=Documentation+under+heading+%22class+hasher256%22+could+be+improved">report·issue</a>]</span></div> 
135 </div> 
136 <div·class="section"·id="hasher256"> 
137 <h1>hasher256</h1> 
138 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/hasher.hpp">libtorrent/hasher.hpp</a>&quot;</p> 
139 <pre·class="literal-block"> 
140 class·hasher256 
141 { 
142 ···<strong>hasher256</strong>·(); 
143 ···explicit·<strong>hasher256</strong>·(span&lt;char·const&gt;·data); 
Max diff block lines reached; 16439/30771 bytes (53.42%) of diff not shown.
16.0 KB
html2text {}
    
Offset 1, 167 lines modifiedOffset 1, 78 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
6 ····*·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r 
7 ··········o·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8) 
8 ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8) 
9 ··········o·_\x8f_\x8i_\x8n_\x8a_\x8l_\x8(_\x8) 
10 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) 
11 ····*·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x82_\x85_\x86 
12 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x82_\x85_\x86_\x8(_\x8) 
13 ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8) 
14 ··········o·_\x8f_\x8i_\x8n_\x8a_\x8l_\x8(_\x8) 
15 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8) 
16 ····*·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d6 ····*·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d
17 ··········o·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)7 ··········o·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)
18 ··········o·_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8(_\x8)8 ··········o·_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8(_\x8)
19 ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8)9 ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8)
20 ··········o·_\x8c_.l_.e_.a_.r_.__.b_.i_.t_.(_.)_.·_.s_.e_.t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)10 ··········o·_\x8s_.e_.t_.__.b_.i_.t_.(_.)_.·_.c_.l_.e_.a_.r_\x8__\x8b_\x8i_\x8t_\x8(_\x8)
21 ··········o·_\x8a_\x8l_\x8l_\x8__\x8s_\x8e_\x8t_\x8(_\x8)11 ··········o·_\x8a_\x8l_\x8l_\x8__\x8s_\x8e_\x8t_\x8(_\x8)
22 ··········o·_\x8n_\x8o_\x8n_\x8e_\x8__\x8s_\x8e_\x8t_\x8(_\x8)12 ··········o·_\x8n_\x8o_\x8n_\x8e_\x8__\x8s_\x8e_\x8t_\x8(_\x8)
23 ··········o·_\x8s_\x8i_\x8z_\x8e_\x8(_\x8)13 ··········o·_\x8s_\x8i_\x8z_\x8e_\x8(_\x8)
24 ··········o·_\x8n_\x8u_\x8m_\x8__\x8w_\x8o_\x8r_\x8d_\x8s_\x8(_\x8)14 ··········o·_\x8n_\x8u_\x8m_\x8__\x8w_\x8o_\x8r_\x8d_\x8s_\x8(_\x8)
25 ··········o·_\x8n_\x8u_\x8m_\x8__\x8b_\x8y_\x8t_\x8e_\x8s_\x8(_\x8)15 ··········o·_\x8n_\x8u_\x8m_\x8__\x8b_\x8y_\x8t_\x8e_\x8s_\x8(_\x8)
26 ··········o·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8(_\x8)16 ··········o·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8(_\x8)
27 ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)17 ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
28 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)18 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)
29 ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8(_\x8)19 ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8(_\x8)
30 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8s_\x8e_\x8t_\x8(_\x8)20 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8s_\x8e_\x8t_\x8(_\x8)
31 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8l_\x8a_\x8s_\x8t_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8)21 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8l_\x8a_\x8s_\x8t_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8)
 22 ····*·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r
 23 ··········o·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)
 24 ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8)
 25 ··········o·_\x8f_\x8i_\x8n_\x8a_\x8l_\x8(_\x8)
 26 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8)
 27 ····*·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x82_\x85_\x86
 28 ··········o·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x82_\x85_\x86_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)
 29 ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8)
 30 ··········o·_\x8f_\x8i_\x8n_\x8a_\x8l_\x8(_\x8)
 31 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8)
32 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
33 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r·*\x8**\x8**\x8**\x8**\x8**\x8* 
34 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" 
35 this·is·a·SHA-1·hash·class. 
36 You·use·it·by·first·instantiating·it,·then·call·update()·to·feed·it·with·data. 
37 i.e.·you·don't·have·to·keep·the·entire·buffer·of·which·you·want·to·create·the 
38 hash·in·memory.·You·can·feed·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·parts·of·it·at·a·time.·When·You·have 
39 fed·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·with·all·the·data,·you·call·final()·and·it·will·return·the·sha1- 
40 hash·of·the·data. 
41 The·constructor·that·takes·a·char·const*·and·an·integer·will·construct·the·sha1 
42 context·and·feed·it·the·data·passed·in. 
43 If·you·want·to·reuse·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·object·once·you·have·created·a·hash,·you·have 
44 to·call·reset()·to·reinitialize·it. 
45 The·built-in·software·version·of·sha1-algorithm·was·implemented·by·Steve·Reid 
46 and·released·as·public·domain.·For·more·info,·see·src/sha1.cpp. 
47 class·hasher 
48 { 
49 ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(); 
50 ···hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; 
51 ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); 
52 ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); 
53 ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); 
54 ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); 
55 ···hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); 
56 ···sha1_hash·f\x8fi\x8in\x8na\x8al\x8l·(); 
57 ···void·r\x8re\x8es\x8se\x8et\x8t·(); 
58 }; 
59 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
60 *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
61 hasher&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher·const&)·&; 
62 h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&); 
63 h\x8ha\x8as\x8sh\x8he\x8er\x8r·(char·const*·data,·int·len); 
64 explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r·(span<char·const>·data); 
65 this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, 
66 len). 
67 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
68 *\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pd\x8da\x8at\x8te\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
69 hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); 
70 hasher&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); 
71 append·the·following·bytes·to·what·is·being·hashed 
72 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
73 *\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8in\x8na\x8al\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
74 sha1_hash·f\x8fi\x8in\x8na\x8al\x8l·(); 
75 returns·the·SHA-1·digest·of·the·buffers·previously·passed·to·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8)·and·the 
76 _\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·constructor. 
77 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
78 *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
79 void·r\x8re\x8es\x8se\x8et\x8t·(); 
80 restore·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·state·to·be·as·if·the·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·has·just·been·default 
81 constructed. 
82 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
83 *\x8**\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·*\x8**\x8**\x8**\x8**\x8**\x8* 
84 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x8._\x8h_\x8p_\x8p" 
85 class·hasher256 
86 { 
87 ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); 
88 ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); 
89 ···hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; 
90 ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); 
91 ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); 
92 ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); 
93 ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); 
94 ···sha256_hash·f\x8fi\x8in\x8na\x8al\x8l·(); 
95 ···void·r\x8re\x8es\x8se\x8et\x8t·(); 
96 ···~\x8~h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(); 
97 }; 
98 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
99 *\x8**\x8**\x8**\x8**\x8*·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
100 explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data); 
101 hasher256&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(hasher256·const&)·&; 
102 h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len); 
103 h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(hasher256·const&); 
104 this·is·the·same·as·default·constructing·followed·by·a·call·to·update(data, 
105 len). 
106 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
107 *\x8**\x8**\x8**\x8**\x8*·u\x8up\x8pd\x8da\x8at\x8te\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
108 hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len); 
109 hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data); 
110 append·the·following·bytes·to·what·is·being·hashed 
111 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
112 *\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8in\x8na\x8al\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
113 sha256_hash·f\x8fi\x8in\x8na\x8al\x8l·(); 
114 returns·the·SHA-1·digest·of·the·buffers·previously·passed·to·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8(_\x8)·and·the 
115 _\x8h_\x8a_\x8s_\x8h_\x8e_\x8r·constructor. 
116 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
117 *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
Max diff block lines reached; 10048/16394 bytes (61.29%) of diff not shown.
3.11 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-ed25519.html
Ordering differences only
    
Offset 84, 18 lines modifiedOffset 84, 18 lines modified
84 </pre>84 </pre>
85 <p>Verifies·the·signature·on·the·given·message·using·<tt·class="docutils·literal">pk</tt></p>85 <p>Verifies·the·signature·on·the·given·message·using·<tt·class="docutils·literal">pk</tt></p>
86 <a·name="ed25519_add_scalar()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:ed25519_add_scalar%28%29&labels=documentation&body=Documentation+under+heading+%22ed25519_add_scalar%28%29%22+could+be+improved">report·issue</a>]</span></div>86 <a·name="ed25519_add_scalar()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:ed25519_add_scalar%28%29&labels=documentation&body=Documentation+under+heading+%22ed25519_add_scalar%28%29%22+could+be+improved">report·issue</a>]</span></div>
87 <div·class="section"·id="ed25519-add-scalar">87 <div·class="section"·id="ed25519-add-scalar">
88 <h1>ed25519_add_scalar()</h1>88 <h1>ed25519_add_scalar()</h1>
89 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/ed25519.hpp">libtorrent/kademlia/ed25519.hpp</a>&quot;</p>89 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/ed25519.hpp">libtorrent/kademlia/ed25519.hpp</a>&quot;</p>
90 <pre·class="literal-block">90 <pre·class="literal-block">
91 public_key·<strong>ed25519_add_scalar</strong>·(public_key·const&amp;·pk 
92 ···,·std::array&lt;char,·32&gt;·const&amp;·scalar); 
93 secret_key·<strong>ed25519_add_scalar</strong>·(secret_key·const&amp;·sk91 secret_key·<strong>ed25519_add_scalar</strong>·(secret_key·const&amp;·sk
94 ···,·std::array&lt;char,·32&gt;·const&amp;·scalar);92 ···,·std::array&lt;char,·32&gt;·const&amp;·scalar);
 93 public_key·<strong>ed25519_add_scalar</strong>·(public_key·const&amp;·pk
 94 ···,·std::array&lt;char,·32&gt;·const&amp;·scalar);
95 </pre>95 </pre>
96 <p>Adds·a·scalar·to·the·given·key·pair·where·scalar·is·a·32·byte·buffer96 <p>Adds·a·scalar·to·the·given·key·pair·where·scalar·is·a·32·byte·buffer
97 (possibly·generated·with·<cite>ed25519_create_seed</cite>),·generating·a·new·key·pair.</p>97 (possibly·generated·with·<cite>ed25519_create_seed</cite>),·generating·a·new·key·pair.</p>
98 <p>You·can·calculate·the·public·key·sum·without·knowing·the·private·key·and98 <p>You·can·calculate·the·public·key·sum·without·knowing·the·private·key·and
99 vice·versa·by·passing·in·null·for·the·key·you·don't·know.·This·is·useful99 vice·versa·by·passing·in·null·for·the·key·you·don't·know.·This·is·useful
100 when·a·third·party·(an·authoritative·server·for·example)·needs·to·enforce100 when·a·third·party·(an·authoritative·server·for·example)·needs·to·enforce
101 randomness·on·a·key·pair·while·only·knowing·the·public·key·of·the·other101 randomness·on·a·key·pair·while·only·knowing·the·public·key·of·the·other
1.47 KB
html2text {}
    
Offset 39, 18 lines modifiedOffset 39, 18 lines modified
39 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8e_\x8d_\x82_\x85_\x85_\x81_\x89_\x8._\x8h_\x8p_\x8p"39 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8e_\x8d_\x82_\x85_\x85_\x81_\x89_\x8._\x8h_\x8p_\x8p"
40 bool·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_v\x8ve\x8er\x8ri\x8if\x8fy\x8y·(signature·const&·sig40 bool·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_v\x8ve\x8er\x8ri\x8if\x8fy\x8y·(signature·const&·sig
41 ···,·span<char·const>·msg,·public_key·const&·pk);41 ···,·span<char·const>·msg,·public_key·const&·pk);
42 Verifies·the·signature·on·the·given·message·using·pk42 Verifies·the·signature·on·the·given·message·using·pk
43 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]43 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
44 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*44 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
45 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8e_\x8d_\x82_\x85_\x85_\x81_\x89_\x8._\x8h_\x8p_\x8p"45 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8k_\x8a_\x8d_\x8e_\x8m_\x8l_\x8i_\x8a_\x8/_\x8e_\x8d_\x82_\x85_\x85_\x81_\x89_\x8._\x8h_\x8p_\x8p"
46 public_key·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r·(public_key·const&·pk 
47 ···,·std::array<char,·32>·const&·scalar); 
48 secret_key·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r·(secret_key·const&·sk46 secret_key·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r·(secret_key·const&·sk
49 ···,·std::array<char,·32>·const&·scalar);47 ···,·std::array<char,·32>·const&·scalar);
 48 public_key·e\x8ed\x8d2\x825\x855\x851\x819\x89_\x8_a\x8ad\x8dd\x8d_\x8_s\x8sc\x8ca\x8al\x8la\x8ar\x8r·(public_key·const&·pk
 49 ···,·std::array<char,·32>·const&·scalar);
50 Adds·a·scalar·to·the·given·key·pair·where·scalar·is·a·32·byte·buffer·(possibly50 Adds·a·scalar·to·the·given·key·pair·where·scalar·is·a·32·byte·buffer·(possibly
51 generated·withed25519_create_seed),·generating·a·new·key·pair.51 generated·withed25519_create_seed),·generating·a·new·key·pair.
52 You·can·calculate·the·public·key·sum·without·knowing·the·private·key·and·vice52 You·can·calculate·the·public·key·sum·without·knowing·the·private·key·and·vice
53 versa·by·passing·in·null·for·the·key·you·don't·know.·This·is·useful·when·a53 versa·by·passing·in·null·for·the·key·you·don't·know.·This·is·useful·when·a
54 third·party·(an·authoritative·server·for·example)·needs·to·enforce·randomness54 third·party·(an·authoritative·server·for·example)·needs·to·enforce·randomness
55 on·a·key·pair·while·only·knowing·the·public·key·of·the·other·side.55 on·a·key·pair·while·only·knowing·the·public·key·of·the·other·side.
56 Warning:·the·last·bit·of·the·scalar·is·ignored·-·if·comparing·scalars·make·sure56 Warning:·the·last·bit·of·the·scalar·is·ignored·-·if·comparing·scalars·make·sure
38.1 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference.html
    
Offset 19, 123 lines modifiedOffset 19, 118 lines modified
19 ····<img·src="img/logo-color-text.png"·alt="libtorrent·logo"/>19 ····<img·src="img/logo-color-text.png"·alt="libtorrent·logo"/>
20 ····</a>20 ····</a>
21 ····<div>21 ····<div>
22 <h1·class="title">reference·documentation</h1>22 <h1·class="title">reference·documentation</h1>
  
23 <p><a·class="reference·external"·href="single-page-ref.html">single-page·version</a></p>23 <p><a·class="reference·external"·href="single-page-ref.html">single-page·version</a></p>
24 <div·class="main-toc·docutils·container">24 <div·class="main-toc·docutils·container">
25 <p·class="rubric">Stats</p>25 <p·class="rubric">Session</p>
26 <div·class="line-block">26 <div·class="line-block">
 27 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_params">session_params</a></div>
 28 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_handle">session_handle</a></div>
 29 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div>
27 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#counters">counters</a></div>30 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session">session</a></div>
28 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#stats_metric">stats_metric</a></div> 
29 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#session_stats_metrics()">session_stats_metrics()</a></div>31 <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div>
30 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#find_metric_idx()">find_metric_idx()</a></div>32 <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div>
31 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#metric_type_t">metric_type_t</a></div>33 <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div>
32 </div>34 </div>
33 <p·class="rubric">Core</p>35 <p·class="rubric">Core</p>
34 <div·class="line-block">36 <div·class="line-block">
35 <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div> 
36 <div·class="line"><a·class="reference·external"·href="reference-Core.html#piece_block">piece_block</a></div> 
37 <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div>37 <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div>
 38 <div·class="line"><a·class="reference·external"·href="reference-Core.html#piece_block">piece_block</a></div>
 39 <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div>
38 <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div>40 <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div>
 41 <div·class="line"><a·class="reference·external"·href="reference-Core.html#version()">version()</a></div>
39 <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</a></div>42 <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</a></div>
 43 <div·class="line"><a·class="reference·external"·href="reference-Core.html#truncate_files()">truncate_files()</a></div>
40 <div·class="line"><a·class="reference·external"·href="reference-Core.html#make_magnet_uri()">make_magnet_uri()</a></div>44 <div·class="line"><a·class="reference·external"·href="reference-Core.html#make_magnet_uri()">make_magnet_uri()</a></div>
41 <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div>45 <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div>
42 <div·class="line"><a·class="reference·external"·href="reference-Core.html#truncate_files()">truncate_files()</a></div> 
43 <div·class="line"><a·class="reference·external"·href="reference-Core.html#version()">version()</a></div> 
44 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_parsed()">load_torrent_parsed()</a></div> 
45 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div>46 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div>
46 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div>47 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div>
 48 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_parsed()">load_torrent_parsed()</a></div>
 49 <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div>
 50 <div·class="line"><a·class="reference·external"·href="reference-Core.html#protocol_version">protocol_version</a></div>
47 <div·class="line"><a·class="reference·external"·href="reference-Core.html#event_t">event_t</a></div>51 <div·class="line"><a·class="reference·external"·href="reference-Core.html#event_t">event_t</a></div>
 52 <div·class="line"><a·class="reference·external"·href="reference-Core.html#connection_type">connection_type</a></div>
48 <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_transport">portmap_transport</a></div>53 <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_transport">portmap_transport</a></div>
49 <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_protocol">portmap_protocol</a></div>54 <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_protocol">portmap_protocol</a></div>
50 <div·class="line"><a·class="reference·external"·href="reference-Core.html#connection_type">connection_type</a></div> 
51 <div·class="line"><a·class="reference·external"·href="reference-Core.html#protocol_version">protocol_version</a></div> 
52 <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div> 
53 <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_flags_t">torrent_flags_t</a></div> 
54 <div·class="line"><a·class="reference·external"·href="reference-Core.html#download_priority_t">download_priority_t</a></div> 
55 <div·class="line"><a·class="reference·external"·href="reference-Core.html#pex_flags_t">pex_flags_t</a></div>55 <div·class="line"><a·class="reference·external"·href="reference-Core.html#pex_flags_t">pex_flags_t</a></div>
 56 <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_flags_t">torrent_flags_t</a></div>
56 <div·class="line"><a·class="reference·external"·href="reference-Core.html#int">int</a></div>57 <div·class="line"><a·class="reference·external"·href="reference-Alerts.html#int">int</a></div>
57 <div·class="line"><a·class="reference·external"·href="reference-Core.html#charconst*">char·const*</a></div>58 <div·class="line"><a·class="reference·external"·href="reference-Core.html#charconst*">char·const*</a></div>
58 <div·class="line"><a·class="reference·external"·href="reference-Core.html#std::uint64_t">std::uint64_t</a></div>59 <div·class="line"><a·class="reference·external"·href="reference-Core.html#std::uint64_t">std::uint64_t</a></div>
 60 <div·class="line"><a·class="reference·external"·href="reference-Core.html#download_priority_t">download_priority_t</a></div>
 61 </div>
 62 <p·class="rubric">Torrent·Status</p>
 63 <div·class="line-block">
 64 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Status.html#torrent_status">torrent_status</a></div>
 65 </div>
 66 <p·class="rubric">Stats</p>
 67 <div·class="line-block">
 68 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#stats_metric">stats_metric</a></div>
 69 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#counters">counters</a></div>
 70 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#session_stats_metrics()">session_stats_metrics()</a></div>
 71 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#find_metric_idx()">find_metric_idx()</a></div>
 72 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#metric_type_t">metric_type_t</a></div>
59 </div>73 </div>
60 <p·class="rubric">Trackers</p>74 <p·class="rubric">Trackers</p>
61 <div·class="line-block">75 <div·class="line-block">
62 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_infohash">announce_infohash</a></div>76 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_infohash">announce_infohash</a></div>
63 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_endpoint">announce_endpoint</a></div>77 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_endpoint">announce_endpoint</a></div>
64 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_entry">announce_entry</a></div>78 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_entry">announce_entry</a></div>
65 </div>79 </div>
66 <p·class="rubric">Torrent·Status</p>80 <p·class="rubric">Add·Torrent</p>
67 <div·class="line-block">81 <div·class="line-block">
68 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Status.html#torrent_status">torrent_status</a></div>82 <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a></div>
 83 <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#client_data_t">client_data_t</a></div>
69 </div>84 </div>
70 <p·class="rubric">Session</p>85 <p·class="rubric">Torrent·Info</p>
71 <div·class="line-block">86 <div·class="line-block">
72 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_handle">session_handle</a></div> 
73 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div>87 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#web_seed_entry">web_seed_entry</a></div>
 88 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div>
74 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session">session</a></div>89 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div>
75 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_params">session_params</a></div> 
76 <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div> 
77 <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div> 
78 <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div> 
79 </div>90 </div>
80 <p·class="rubric">Settings</p>91 <p·class="rubric">Settings</p>
81 <div·class="line-block">92 <div·class="line-block">
82 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div>93 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div>
83 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div>94 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div>
84 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div>95 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div>
85 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div>96 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div>
86 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#name_for_setting()">name_for_setting()</a></div>97 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div>
87 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#setting_by_name()">setting_by_name()</a></div>98 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#setting_by_name()">setting_by_name()</a></div>
 99 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#name_for_setting()">name_for_setting()</a></div>
88 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#default_settings()">default_settings()</a></div>100 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#default_settings()">default_settings()</a></div>
89 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div> 
90 </div> 
91 <p·class="rubric">Add·Torrent</p> 
92 <div·class="line-block"> 
93 <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#client_data_t">client_data_t</a></div> 
94 <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a></div> 
95 </div>101 </div>
96 <p·class="rubric">Torrent·Handle</p>102 <p·class="rubric">Torrent·Handle</p>
97 <div·class="line-block">103 <div·class="line-block">
98 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#block_info">block_info</a></div>104 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#block_info">block_info</a></div>
99 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#partial_piece_info">partial_piece_info</a></div>105 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#partial_piece_info">partial_piece_info</a></div>
100 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#torrent_handle">torrent_handle</a></div>106 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#torrent_handle">torrent_handle</a></div>
101 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#hash_value()">hash_value()</a></div>107 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#hash_value()">hash_value()</a></div>
102 </div>108 </div>
103 <p·class="rubric">Torrent·Info</p> 
104 <div·class="line-block"> 
105 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#web_seed_entry">web_seed_entry</a></div> 
106 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div> 
107 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div> 
108 </div> 
109 <p·class="rubric">DHT</p>109 <p·class="rubric">DHT</p>
110 <div·class="line-block">110 <div·class="line-block">
111 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_state">dht_state</a></div>111 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_state">dht_state</a></div>
112 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_counters">dht_storage_counters</a></div>112 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_counters">dht_storage_counters</a></div>
113 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_interface">dht_storage_interface</a></div>113 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_storage_interface">dht_storage_interface</a></div>
114 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_default_storage_constructor()">dht_default_storage_constructor()</a></div> 
115 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#sign_mutable_item()">sign_mutable_item()</a></div>114 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#sign_mutable_item()">sign_mutable_item()</a></div>
 115 <div·class="line"><a·class="reference·external"·href="reference-DHT.html#dht_default_storage_constructor()">dht_default_storage_constructor()</a></div>
Max diff block lines reached; 15007/27874 bytes (53.84%) of diff not shown.
10.8 KB
html2text {}
    
Offset 1, 174 lines modifiedOffset 1, 175 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 *\x8**\x8**\x8**\x8**\x8**\x8*·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·d\x8do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*3 *\x8**\x8**\x8**\x8**\x8**\x8*·r\x8re\x8ef\x8fe\x8er\x8re\x8en\x8nc\x8ce\x8e·d\x8do\x8oc\x8cu\x8um\x8me\x8en\x8nt\x8ta\x8at\x8ti\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
4 _\x8s_\x8i_\x8n_\x8g_\x8l_\x8e_\x8-_\x8p_\x8a_\x8g_\x8e_\x8·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n4 _\x8s_\x8i_\x8n_\x8g_\x8l_\x8e_\x8-_\x8p_\x8a_\x8g_\x8e_\x8·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n
5 Stats 
6 _\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s 
7 _\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c 
8 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8) 
9 _\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8) 
10 _.m_.e_.t_.r_.i_.c_.__.t_.y_.p_.e_.__.t5 Session
 6 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s
 7 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
 8 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y
 9 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n
 10 _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)
 11 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8__\x8b_\x8u_\x8f_\x8(_\x8)
 12 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)
11 Core13 Core
12 _\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t 
13 _\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k 
14 _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t14 _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t
 15 _\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k
 16 _\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t
15 _\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o17 _\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o
 18 _\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
16 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8)19 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8)
 20 _\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
17 _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)21 _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)
18 _\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)22 _\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)
19 _\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) 
20 _\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) 
21 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8) 
22 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)23 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
23 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)24 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)
 25 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8)
 26 _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t
 27 _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n
24 _\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t28 _\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t
 29 _\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e
25 _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t30 _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t
26 _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l31 _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l
27 _\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e 
28 _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n 
29 _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t 
30 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t 
31 _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t 
32 _\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t32 _\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
 33 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
33 _\x8i_\x8n_\x8t34 _\x8i_\x8n_\x8t
34 _\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*35 _\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*
35 _\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t36 _\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t
 37 _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t
 38 Torrent·Status
 39 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s
 40 Stats
 41 _\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c
 42 _\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s
 43 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8)
 44 _\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8)
 45 _\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t
36 Trackers46 Trackers
37 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h47 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h
38 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t48 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t
39 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y49 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y
40 Torrent·Status50 Add·Torrent
 51 _\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s
 52 _\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t
 53 Torrent·Info
 54 _\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y
 55 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s
41 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_.t_.a_.t_.u_.s56 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_.n_.f_.o
42 Session 
43 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e 
44 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y 
45 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n 
46 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s 
47 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) 
48 _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8) 
49 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8__\x8b_\x8u_\x8f_\x8(_\x8) 
50 Settings57 Settings
51 _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w58 _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w
52 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k59 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k
53 _\x8m_.i_.n_.__.m_.e_.m_.o_.r_.y_.__.u_.s_.a_.g_.e_\x8(_\x8)60 _\x8g_.e_.n_.e_.r_.a_.t_.e_.__.f_.i_.n_.g_.e_.r_.p_.r_.i_.n_.t_\x8(_\x8)
54 _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)61 _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)
55 _\x8n_.a_.m_.e_.__.f_.o_.r_.__.s_.e_.t_.t_.i_.n_.g_\x8(_\x8)62 _\x8m_.i_.n_.__.m_.e_.m_.o_.r_.y_.__.u_.s_.a_.g_.e_\x8(_\x8)
56 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)63 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)
 64 _\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8)
57 _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)65 _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)
58 _\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8) 
59 Add·Torrent 
60 _\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t 
61 _\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s 
62 Torrent·Handle66 Torrent·Handle
63 _\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o67 _\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o
64 _\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o68 _\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o
65 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e69 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
66 _\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)70 _\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)
67 Torrent·Info 
68 _\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y 
69 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s 
70 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o 
71 DHT71 DHT
72 _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e72 _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e
73 _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s73 _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s
74 _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e74 _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
75 _\x8d_\x8h_\x8t_\x8__\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) 
76 _\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)75 _\x8s_\x8i_\x8g_\x8n_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
 76 _\x8d_\x8h_\x8t_\x8__\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8)
77 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t77 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
78 Resume·Data78 Resume·Data
 79 _\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
79 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8)80 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8b_\x8u_\x8f_\x8(_\x8)
80 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)81 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
81 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)82 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
82 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8)83 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8)
83 _\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_\x8) 
84 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t84 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
85 Filter 
86 _\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r 
87 _\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r 
88 Bdecoding85 Bdecoding
89 _\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e86 _\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8n_\x8o_\x8d_\x8e
90 _\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)87 _\x8p_\x8r_\x8i_\x8n_\x8t_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)
91 _\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)88 _\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8(_\x8)
92 Create·Torrents89 Create·Torrents
93 _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w90 _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w
94 _\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t91 _\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t
Max diff block lines reached; 5162/11013 bytes (46.87%) of diff not shown.
2.24 MB
./usr/share/doc/libtorrent-rasterbar-doc/html/single-page-ref.html
    
Offset 28, 726 lines modifiedOffset 28, 726 lines modified
28 <td>2.0.10</td></tr>28 <td>2.0.10</td></tr>
29 </tbody>29 </tbody>
30 </table>30 </table>
31 <p><a·class="reference·external"·href="reference.html">home</a></p>31 <p><a·class="reference·external"·href="reference.html">home</a></p>
32 <div·class="contents·topic"·id="table-of-contents">32 <div·class="contents·topic"·id="table-of-contents">
33 <p·class="topic-title">Table·of·contents</p>33 <p·class="topic-title">Table·of·contents</p>
34 <ul·class="simple">34 <ul·class="simple">
35 <li><a·class="reference·internal"·href="#counters"·id="toc-entry-1">counters</a><ul>35 <li><a·class="reference·internal"·href="#alert"·id="toc-entry-1">alert</a><ul>
 36 <li><a·class="reference·internal"·href="#timestamp"·id="toc-entry-2">timestamp()</a></li>
 37 <li><a·class="reference·internal"·href="#type"·id="toc-entry-3">type()</a></li>
 38 <li><a·class="reference·internal"·href="#what"·id="toc-entry-4">what()</a></li>
 39 <li><a·class="reference·internal"·href="#message"·id="toc-entry-5">message()</a></li>
36 <li><a·class="reference·internal"·href="#inc-stats-counter-operator"·id="toc-entry-2">inc_stats_counter()·operator[]()</a></li>40 <li><a·class="reference·internal"·href="#category"·id="toc-entry-6">category()</a></li>
37 </ul>41 </ul>
38 </li>42 </li>
39 <li><a·class="reference·internal"·href="#stats-metric"·id="toc-entry-3">stats_metric</a></li>43 <li><a·class="reference·internal"·href="#dht-routing-bucket"·id="toc-entry-7">dht_routing_bucket</a></li>
40 <li><a·class="reference·internal"·href="#session-stats-metrics"·id="toc-entry-4">session_stats_metrics()</a></li> 
41 <li><a·class="reference·internal"·href="#find-metric-idx"·id="toc-entry-5">find_metric_idx()</a></li> 
42 <li><a·class="reference·internal"·href="#enum-metric-type-t"·id="toc-entry-6">enum·metric_type_t</a></li> 
43 <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-7">peer_request</a><ul>44 <li><a·class="reference·internal"·href="#torrent-alert"·id="toc-entry-8">torrent_alert</a><ul>
44 <li><a·class="reference·internal"·href="#operator"·id="toc-entry-8">operator==()</a></li>45 <li><a·class="reference·internal"·href="#message-1"·id="toc-entry-9">message()</a></li>
45 </ul>46 </ul>
46 </li>47 </li>
47 <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-9">piece_block</a></li> 
48 <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-10">info_hash_t</a><ul> 
49 <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-11">info_hash_t()</a></li> 
50 <li><a·class="reference·internal"·href="#has-v1-has-has-v2"·id="toc-entry-12">has_v1()·has()·has_v2()</a></li> 
51 <li><a·class="reference·internal"·href="#get"·id="toc-entry-13">get()</a></li>48 <li><a·class="reference·internal"·href="#peer-alert"·id="toc-entry-10">peer_alert</a></li>
 49 <li><a·class="reference·internal"·href="#tracker-alert"·id="toc-entry-11">tracker_alert</a><ul>
52 <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-14">get_best()</a></li>50 <li><a·class="reference·internal"·href="#tracker-url"·id="toc-entry-12">tracker_url()</a></li>
53 <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-15">for_each()</a></li> 
54 </ul>51 </ul>
55 </li>52 </li>
 53 <li><a·class="reference·internal"·href="#torrent-removed-alert"·id="toc-entry-13">torrent_removed_alert</a></li>
56 <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-16">peer_info</a><ul>54 <li><a·class="reference·internal"·href="#read-piece-alert"·id="toc-entry-14">read_piece_alert</a></li>
 55 <li><a·class="reference·internal"·href="#file-completed-alert"·id="toc-entry-15">file_completed_alert</a></li>
57 <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-17">i2p_destination()</a></li>56 <li><a·class="reference·internal"·href="#file-renamed-alert"·id="toc-entry-16">file_renamed_alert</a><ul>
 57 <li><a·class="reference·internal"·href="#old-name-new-name"·id="toc-entry-17">old_name()·new_name()</a></li>
58 </ul>58 </ul>
59 </li>59 </li>
60 <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-18">torrent_peer_equal()</a></li> 
61 <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-19">make_magnet_uri()</a></li> 
62 <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-20">parse_magnet_uri()</a></li> 
63 <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-21">truncate_files()</a></li> 
64 <li><a·class="reference·internal"·href="#version"·id="toc-entry-22">version()</a></li> 
65 <li><a·class="reference·internal"·href="#load-torrent-file-load-torrent-parsed-load-torrent-buffer"·id="toc-entry-23">load_torrent_file()·load_torrent_parsed()·load_torrent_buffer()</a></li> 
66 <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-24">enum·event_t</a></li> 
67 <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-25">enum·portmap_transport</a></li> 
68 <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-26">enum·portmap_protocol</a></li> 
69 <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-27">enum·connection_type</a></li> 
70 <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-28">enum·protocol_version</a></li> 
71 <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-29">enum·socket_type_t</a></li> 
72 <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-30">torrent_flags_t</a></li> 
73 <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-31">download_priority_t</a></li> 
74 <li><a·class="reference·internal"·href="#pex-flags-t"·id="toc-entry-32">pex_flags_t</a></li> 
75 <li><a·class="reference·internal"·href="#int"·id="toc-entry-33">int</a></li> 
76 <li><a·class="reference·internal"·href="#char-const"·id="toc-entry-34">char·const*</a></li> 
77 <li><a·class="reference·internal"·href="#std-uint64-t"·id="toc-entry-35">std::uint64_t</a></li> 
78 <li><a·class="reference·internal"·href="#file-slice"·id="toc-entry-36">file_slice</a></li> 
79 <li><a·class="reference·internal"·href="#file-storage"·id="toc-entry-37">file_storage</a><ul> 
80 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-38">is_valid()</a></li> 
81 <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-39">reserve()</a></li> 
82 <li><a·class="reference·internal"·href="#add-file-add-file-borrow"·id="toc-entry-40">add_file()·add_file_borrow()</a></li> 
83 <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-41">rename_file()</a></li>60 <li><a·class="reference·internal"·href="#file-rename-failed-alert"·id="toc-entry-18">file_rename_failed_alert</a></li>
84 <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-42">map_block()</a></li> 
85 <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-43">map_file()</a></li> 
86 <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-44">num_files()</a></li> 
87 <li><a·class="reference·internal"·href="#end-file"·id="toc-entry-45">end_file()</a></li> 
88 <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-46">file_range()</a></li> 
89 <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-47">total_size()</a></li> 
90 <li><a·class="reference·internal"·href="#num-pieces-set-num-pieces"·id="toc-entry-48">num_pieces()·set_num_pieces()</a></li> 
91 <li><a·class="reference·internal"·href="#end-piece"·id="toc-entry-49">end_piece()</a></li> 
92 <li><a·class="reference·internal"·href="#last-piece"·id="toc-entry-50">last_piece()</a></li> 
93 <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-51">piece_range()</a></li>61 <li><a·class="reference·internal"·href="#performance-alert"·id="toc-entry-19">performance_alert</a><ul>
 62 <li><a·class="reference·internal"·href="#enum-performance-warning-t"·id="toc-entry-20">enum·performance_warning_t</a></li>
94 <li><a·class="reference·internal"·href="#set-piece-length-piece-length"·id="toc-entry-52">set_piece_length()·piece_length()</a></li> 
95 <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-53">piece_size()</a></li> 
96 <li><a·class="reference·internal"·href="#piece-size2"·id="toc-entry-54">piece_size2()</a></li> 
97 <li><a·class="reference·internal"·href="#blocks-in-piece2"·id="toc-entry-55">blocks_in_piece2()</a></li> 
98 <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-56">blocks_per_piece()</a></li> 
99 <li><a·class="reference·internal"·href="#name-set-name"·id="toc-entry-57">name()·set_name()</a></li> 
100 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-58">swap()</a></li> 
101 <li><a·class="reference·internal"·href="#canonicalize"·id="toc-entry-59">canonicalize()</a></li> 
102 <li><a·class="reference·internal"·href="#root-pad-file-at-file-name-mtime-file-size-root-ptr-file-path-symlink-file-offset-hash"·id="toc-entry-60">root()·pad_file_at()·file_name()·mtime()·file_size()·root_ptr()·file_path()·symlink()·file_offset()·hash()</a></li> 
103 <li><a·class="reference·internal"·href="#file-num-pieces-file-piece-range-file-num-blocks"·id="toc-entry-61">file_num_pieces()·file_piece_range()·file_num_blocks()</a></li> 
104 <li><a·class="reference·internal"·href="#file-first-block-node-file-first-piece-node"·id="toc-entry-62">file_first_block_node()·file_first_piece_node()</a></li> 
105 <li><a·class="reference·internal"·href="#file-path-hash"·id="toc-entry-63">file_path_hash()</a></li> 
106 <li><a·class="reference·internal"·href="#all-path-hashes"·id="toc-entry-64">all_path_hashes()</a></li> 
107 <li><a·class="reference·internal"·href="#file-flags"·id="toc-entry-65">file_flags()</a></li> 
108 <li><a·class="reference·internal"·href="#file-absolute-path"·id="toc-entry-66">file_absolute_path()</a></li> 
109 <li><a·class="reference·internal"·href="#file-index-at-piece-file-index-at-offset"·id="toc-entry-67">file_index_at_piece()·file_index_at_offset()</a></li> 
110 <li><a·class="reference·internal"·href="#file-index-for-root"·id="toc-entry-68">file_index_for_root()</a></li> 
111 <li><a·class="reference·internal"·href="#piece-index-at-file"·id="toc-entry-69">piece_index_at_file()</a></li> 
112 <li><a·class="reference·internal"·href="#sanitize-symlinks"·id="toc-entry-70">sanitize_symlinks()</a></li> 
113 <li><a·class="reference·internal"·href="#v2"·id="toc-entry-71">v2()</a></li> 
114 </ul>63 </ul>
115 </li>64 </li>
116 <li><a·class="reference·internal"·href="#storage-params"·id="toc-entry-72">storage_params</a></li>65 <li><a·class="reference·internal"·href="#state-changed-alert"·id="toc-entry-21">state_changed_alert</a></li>
117 <li><a·class="reference·internal"·href="#mmap-disk-io-constructor"·id="toc-entry-73">mmap_disk_io_constructor()</a></li> 
118 <li><a·class="reference·internal"·href="#disabled-disk-io-constructor"·id="toc-entry-74">disabled_disk_io_constructor()</a></li> 
119 <li><a·class="reference·internal"·href="#default-disk-io-constructor"·id="toc-entry-75">default_disk_io_constructor()</a></li> 
120 <li><a·class="reference·internal"·href="#posix-disk-io-constructor"·id="toc-entry-76">posix_disk_io_constructor()</a></li> 
121 <li><a·class="reference·internal"·href="#enum-storage-mode-t"·id="toc-entry-77">enum·storage_mode_t</a></li> 
122 <li><a·class="reference·internal"·href="#enum-status-t"·id="toc-entry-78">enum·status_t</a></li> 
123 <li><a·class="reference·internal"·href="#enum-move-flags-t"·id="toc-entry-79">enum·move_flags_t</a></li> 
124 <li><a·class="reference·internal"·href="#peer-class-info"·id="toc-entry-80">peer_class_info</a></li> 
125 <li><a·class="reference·internal"·href="#peer-class-type-filter"·id="toc-entry-81">peer_class_type_filter</a><ul> 
126 <li><a·class="reference·internal"·href="#remove-add"·id="toc-entry-82">remove()·add()</a></li>66 <li><a·class="reference·internal"·href="#tracker-error-alert"·id="toc-entry-22">tracker_error_alert</a><ul>
127 <li><a·class="reference·internal"·href="#allow-disallow"·id="toc-entry-83">allow()·disallow()</a></li> 
128 <li><a·class="reference·internal"·href="#apply"·id="toc-entry-84">apply()</a></li>67 <li><a·class="reference·internal"·href="#failure-reason"·id="toc-entry-23">failure_reason()</a></li>
129 <li><a·class="reference·internal"·href="#enum-socket-type-t-1"·id="toc-entry-85">enum·socket_type_t</a></li> 
130 </ul>68 </ul>
131 </li>69 </li>
132 <li><a·class="reference·internal"·href="#announce-infohash"·id="toc-entry-86">announce_infohash</a></li> 
133 <li><a·class="reference·internal"·href="#announce-endpoint"·id="toc-entry-87">announce_endpoint</a></li> 
134 <li><a·class="reference·internal"·href="#announce-entry"·id="toc-entry-88">announce_entry</a><ul> 
135 <li><a·class="reference·internal"·href="#operator-announce-entry-announce-entry"·id="toc-entry-89">operator=()·~announce_entry()·announce_entry()</a></li> 
136 <li><a·class="reference·internal"·href="#enum-tracker-source"·id="toc-entry-90">enum·tracker_source</a></li>70 <li><a·class="reference·internal"·href="#tracker-warning-alert"·id="toc-entry-24">tracker_warning_alert</a><ul>
 71 <li><a·class="reference·internal"·href="#warning-message"·id="toc-entry-25">warning_message()</a></li>
137 </ul>72 </ul>
138 </li>73 </li>
139 <li><a·class="reference·internal"·href="#torrent-status"·id="toc-entry-91">torrent_status</a><ul>74 <li><a·class="reference·internal"·href="#scrape-reply-alert"·id="toc-entry-26">scrape_reply_alert</a></li>
 75 <li><a·class="reference·internal"·href="#scrape-failed-alert"·id="toc-entry-27">scrape_failed_alert</a><ul>
140 <li><a·class="reference·internal"·href="#operator-1"·id="toc-entry-92">operator==()</a></li>76 <li><a·class="reference·internal"·href="#error-message"·id="toc-entry-28">error_message()</a></li>
141 <li><a·class="reference·internal"·href="#enum-state-t"·id="toc-entry-93">enum·state_t</a></li> 
142 </ul>77 </ul>
143 </li>78 </li>
Max diff block lines reached; 1489427/1508034 bytes (98.77%) of diff not shown.
823 KB
html2text {}
    
Offset 1, 222 lines modifiedOffset 1, 29 lines modified
1 >1 >
2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]2 _\x8[_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8l_\x8o_\x8g_\x8o_\x8]
3 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.103 V\x8Ve\x8er\x8rs\x8si\x8io\x8on\x8n:\x8:·2.0.10
4 _\x8h_\x8o_\x8m_\x8e4 _\x8h_\x8o_\x8m_\x8e
5 Table·of·contents5 Table·of·contents
 6 ····*·_\x8a_\x8l_\x8e_\x8r_\x8t
6 ····*·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s 
7 ··········o·_\x8i_\x8n_\x8c_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8[_\x8]_\x8(_\x8) 
8 ····*·_\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c 
9 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8) 
10 ····*·_\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8) 
11 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t 
12 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t 
13 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) 
14 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k 
15 ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t 
16 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8) 
17 ··········o·_\x8h_\x8a_\x8s_\x8__\x8v_\x81_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8__\x8v_\x82_\x8(_\x8) 
18 ··········o·_\x8g_\x8e_\x8t_\x8(_\x8) 
19 ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8) 
20 ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) 
21 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o 
22 ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) 
23 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) 
24 ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) 
25 ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) 
26 ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) 
27 ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) 
28 ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) 
29 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t 
30 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t 
31 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l 
32 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e 
33 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n 
34 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t 
35 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t 
36 ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t 
37 ····*·_\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t 
38 ····*·_\x8i_\x8n_\x8t 
39 ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* 
40 ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t 
41 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8l_\x8i_\x8c_\x8e 
42 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e 
43 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) 
44 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8) 
45 ··········o·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8o_\x8r_\x8r_\x8o_\x8w_\x8(_\x8) 
46 ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) 
47 ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8) 
48 ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) 
49 ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) 
50 ··········o·_\x8e_\x8n_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) 
51 ··········o·_\x8f_.i_.l_.e_.__.r_.a_.n_.g_.e_\x8(_\x8)7 ··········o·_\x8t_.i_.m_.e_.s_.t_.a_.m_.p_\x8(_\x8)
52 ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) 
53 ··········o·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8) 
54 ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) 
55 ··········o·_\x8l_\x8a_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) 
56 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8) 
57 ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8) 
58 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8) 
59 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x82_\x8(_\x8) 
60 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8i_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x82_\x8(_\x8) 
61 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8) 
62 ··········o·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) 
63 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8) 
64 ··········o·_\x8c_\x8a_\x8n_\x8o_\x8n_\x8i_\x8c_\x8a_\x8l_\x8i_\x8z_\x8e_\x8(_\x8) 
65 ··········o·_\x8r_\x8o_\x8o_\x8t_\x8(_\x8)_\x8·_\x8p_\x8a_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8m_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8__\x8p_\x8t_\x8r_\x8(_\x8) 
66 ············_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)_\x8·_\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h_\x8(_\x8) 
67 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8u_\x8m_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8(_\x8) 
68 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) 
69 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8) 
70 ··········o·_\x8a_\x8l_\x8l_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) 
71 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8) 
72 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8b_\x8s_\x8o_\x8l_\x8u_\x8t_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8) 
73 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8) 
74 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8) 
75 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) 
76 ··········o·_\x8s_\x8a_\x8n_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8s_\x8(_\x8) 
77 ··········o·_\x8v_\x82_\x8(_\x8) 
78 ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s 
79 ····*·_\x8m_\x8m_\x8a_\x8p_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) 
80 ····*·_\x8d_\x8i_\x8s_\x8a_\x8b_\x8l_\x8e_\x8d_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) 
81 ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) 
82 ····*·_\x8p_\x8o_\x8s_\x8i_\x8x_\x8__\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8o_\x8__\x8c_\x8o_\x8n_\x8s_\x8t_\x8r_\x8u_\x8c_\x8t_\x8o_\x8r_\x8(_\x8) 
83 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t 
84 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8__\x8t 
85 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8m_\x8o_\x8v_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t 
86 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8i_\x8n_\x8f_\x8o 
87 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r 
88 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8(_\x8) 
89 ··········o·_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8)_\x8·_\x8d_\x8i_\x8s_\x8a_\x8l_\x8l_\x8o_\x8w_\x8(_\x8) 
90 ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8) 
91 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t 
92 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h 
93 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t 
94 ····*·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y 
95 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)_\x8·_\x8~_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8)_\x8·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y_\x8(_\x8) 
96 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8__\x8s_\x8o_\x8u_\x8r_\x8c_\x8e 
97 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s 
98 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) 
99 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t 
100 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e 
101 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8) 
102 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) 
103 ··········o·_\x8r_\x8e_\x8f_\x8r_\x8e_\x8s_\x8h_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8) 
104 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8) 
105 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) 
106 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8) 
107 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8) 
108 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8) 
109 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) 
110 ··········o·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8i_\x8s_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8d_\x8(_\x8) 
111 ··········o·_\x8i_\x8s_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8u_\x8n_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) 
112 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8) 
113 ··········o·_\x8a_\x8d_\x8d_\x8__\x8d_\x8h_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8) 
114 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) 
115 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) 
116 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) 
117 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8) 
118 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8d_\x8h_\x8t_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8) 
119 ··········o·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8) 
120 ··········o·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8) 
121 ··········o·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8) 
122 ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) 
123 ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8i_\x8p_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) 
124 ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) 
125 ··········o·_\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8)_\x8·_\x8s_\x8s_\x8l_\x8__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8__\x8p_\x8o_\x8r_\x8t_\x8(_\x8)_\x8·_\x8i_\x8s_\x8__\x8l_\x8i_\x8s_\x8t_\x8e_\x8n_\x8i_\x8n_\x8g_\x8(_\x8) 
126 ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8) 
Max diff block lines reached; 831526/842612 bytes (98.68%) of diff not shown.
3.03 MB
./usr/share/doc/libtorrent-rasterbar-doc/html/todo.html
    
Offset 459, 15 lines modifiedOffset 459, 306 lines modified
459 »       auto·o·=·rpc.allocate_observer&lt;null_observer&gt;(std::move(algo),·source,·node_id());459 »       auto·o·=·rpc.allocate_observer&lt;null_observer&gt;(std::move(algo),·source,·node_id());
460 #if·TORRENT_USE_ASSERTS460 #if·TORRENT_USE_ASSERTS
461 »       o-&gt;m_in_constructor·=·false;461 »       o-&gt;m_in_constructor·=·false;
462 #endif462 #endif
463 »       o-&gt;flags·|=·observer::flag_queried;463 »       o-&gt;flags·|=·observer::flag_queried;
464 »       rpc.invoke(req,·source,·o);464 »       rpc.invoke(req,·source,·o);
  
 465 </pre></td></tr><tr·style="background:·#fcc"><td>relevance&nbsp;3</td><td><a·href="javascript:expand(9)">../src/torrent.cpp:418</a></td><td>we·could·probably·get·away·with·just·saving·a·few·fields·here</td></tr><tr·id="9"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>we·could·probably·get·away·with·just·saving·a·few·fields·here</h2><h4>../src/torrent.cpp:418</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">»   »   //·---·V2·HASHES·---
  
 466 »       »       if·(m_torrent_file-&gt;is_valid()·&amp;&amp;·m_torrent_file-&gt;info_hashes().has_v2())
 467 »       »       {
 468 »       »       »       if·(!p.merkle_trees.empty())
 469 »       »       »       »       load_merkle_trees(
 470 »       »       »       »       »       std::move(p.merkle_trees)
 471 »       »       »       »       »       ,·std::move(p.merkle_tree_mask)
 472 »       »       »       »       »       ,·std::move(p.verified_leaf_hashes));
  
 473 »       »       »       //·we·really·don't·want·to·store·extra·copies·of·the·trees
 474 »       »       »       TORRENT_ASSERT(p.merkle_trees.empty());
 475 »       »       }
  
 476 »       »       if·(valid_metadata())
 477 »       »       {
 478 »       »       »       inc_stats_counter(counters::num_total_pieces_added
 479 »       »       »       »       ,·m_torrent_file-&gt;num_pieces());
 480 »       »       }
  
 481 <div·style="background:·#ffff00"·width="100%">»    »    m_add_torrent_params·=·std::make_unique&lt;add_torrent_params&gt;(std::move(p));
 482 </div>» }
  
 483 »       void·torrent::load_merkle_trees(
 484 »       »       aux::vector&lt;std::vector&lt;sha256_hash&gt;,·file_index_t&gt;·trees_import
 485 »       »       ,·aux::vector&lt;std::vector&lt;bool&gt;,·file_index_t&gt;·mask
 486 »       »       ,·aux::vector&lt;std::vector&lt;bool&gt;,·file_index_t&gt;·verified)
 487 »       {
 488 »       »       auto·const&amp;·fs·=·m_torrent_file-&gt;orig_files();
  
 489 »       »       std::vector&lt;bool&gt;·const·empty_verified;
 490 »       »       for·(file_index_t·i{0};·i·&lt;·fs.end_file();·++i)
 491 »       »       {
 492 »       »       »       if·(fs.pad_file_at(i)·||·fs.file_size(i)·==·0)
 493 »       »       »       »       continue;
  
 494 »       »       »       if·(i·&gt;=·trees_import.end_index())·break;
 495 »       »       »       std::vector&lt;bool&gt;·const&amp;·verified_bitmask·=·(i·&gt;=·verified.end_index())·?·empty_verified·:·verified[i];
 496 »       »       »       if·(i·&lt;·mask.end_index()·&amp;&amp;·!mask[i].empty())
 497 »       »       »       {
 498 »       »       »       »       mask[i].resize(m_merkle_trees[i].size(),·false);
 499 »       »       »       »       m_merkle_trees[i].load_sparse_tree(trees_import[i],·mask[i],·verified_bitmask);
 500 »       »       »       }
 501 »       »       »       else
 502 »       »       »       {
 503 »       »       »       »       m_merkle_trees[i].load_tree(trees_import[i],·verified_bitmask);
 504 »       »       »       }
 505 »       »       }
 506 »       }
  
 507 »       void·torrent::inc_stats_counter(int·c,·int·value)
 508 </pre></td></tr><tr·style="background:·#fcc"><td>relevance&nbsp;3</td><td><a·href="javascript:expand(10)">../src/torrent.cpp:714</a></td><td>assert·there·are·no·outstanding·async·operations·on·this·torrent</td></tr><tr·id="10"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>assert·there·are·no·outstanding·async·operations·on·this
 509 torrent</h2><h4>../src/torrent.cpp:714</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">#endif
  
 510 »       »       if·(!m_ses.dht())·return·false;
 511 »       »       if·(m_torrent_file-&gt;is_valid()·&amp;&amp;·!m_files_checked)·return·false;
 512 »       »       if·(!m_announce_to_dht)·return·false;
 513 »       »       if·(m_paused)·return·false;
  
 514 »       »       //·don't·announce·private·torrents
 515 »       »       if·(m_torrent_file-&gt;is_valid()·&amp;&amp;·m_torrent_file-&gt;priv())·return·false;
 516 »       »       if·(m_trackers.empty())·return·true;
 517 »       »       if·(!settings().get_bool(settings_pack::use_dht_as_fallback))·return·true;
  
 518 »       »       return·std::none_of(m_trackers.begin(),·m_trackers.end()
 519 »       »       »       ,·[](aux::announce_entry·const&amp;·tr)·{·return·bool(tr.verified);·});
 520 »       }
  
 521 #endif
  
 522 »       torrent::~torrent()
 523 »       {
 524 <div·style="background:·#ffff00"·width="100%">
 525 </div>#if·TORRENT_USE_ASSERTS
 526 »       »       for·(torrent_list_index_t·i{};·i·!=·m_links.end_index();·++i)
 527 »       »       {
 528 »       »       »       if·(!m_links[i].in_list())·continue;
 529 »       »       »       m_links[i].unlink(m_ses.torrent_list(i),·i);
 530 »       »       }
 531 #endif
  
 532 »       »       //·The·invariant·can't·be·maintained·here,·since·the·torrent
 533 »       »       //·is·being·destructed,·all·weak·references·to·it·have·been
 534 »       »       //·reset,·which·means·that·all·its·peers·already·have·an
 535 »       »       //·invalidated·torrent·pointer·(so·it·cannot·be·verified·to·be·correct)
  
 536 »       »       //·i.e.·the·invariant·can·only·be·maintained·if·all·connections·have
 537 »       »       //·been·closed·by·the·time·the·torrent·is·destructed.·And·they·are
 538 »       »       //·supposed·to·be·closed.·So·we·can·still·do·the·invariant·check.
  
 539 »       »       //·however,·the·torrent·object·may·be·destructed·from·the·main
 540 »       »       //·thread·when·shutting·down,·if·the·disk·cache·has·references·to·it.
 541 »       »       //·this·means·that·the·invariant·check·that·this·is·called·from·the
 542 »       »       //·network·thread·cannot·be·maintained
  
 543 »       »       TORRENT_ASSERT(m_peer_class·==·peer_class_t{0});
 544 »       »       TORRENT_ASSERT(m_connections.empty());
 545 »       »       //·just·in·case,·make·sure·the·session·accounting·is·kept·right
 546 »       »       for·(auto·p·:·m_connections)
 547 »       »       »       m_ses.close_connection(p);
 548 »       }
  
 549 »       void·torrent::read_piece(piece_index_t·const·piece)
 550 </pre></td></tr><tr·style="background:·#fcc"><td>relevance&nbsp;3</td><td><a·href="javascript:expand(11)">../src/torrent.cpp:1326</a></td><td>there's·some·duplication·between·this·function·and·peer_connection::incoming_piece().·is·there·a·way·to·merge·something?</td></tr><tr·id="11"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>there's·some·duplication·between·this·function·and
 551 peer_connection::incoming_piece().·is·there·a·way·to·merge·something?</h2><h4>../src/torrent.cpp:1326</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">»»piece_picker&amp;·m_picker;
 552 »       »       piece_index_t·m_piece;
 553 »       };
  
 554 »       void·torrent::add_piece_async(piece_index_t·const·piece
 555 »       »       ,·std::vector&lt;char&gt;·data,·add_piece_flags_t·const·flags)
 556 »       {
 557 »       »       TORRENT_ASSERT(is_single_thread());
  
 558 »       »       //·make·sure·the·piece·index·is·correct
 559 »       »       if·(piece·&gt;=·torrent_file().end_piece())
 560 »       »       »       return;
  
 561 »       »       //·make·sure·the·piece·size·is·correct
 562 »       »       if·(data.size()·!=·std::size_t(m_torrent_file-&gt;piece_size(piece)))
 563 »       »       »       return;
Max diff block lines reached; 656114/669817 bytes (97.95%) of diff not shown.
2.39 MB
html2text {}
    
Offset 454, 14 lines modifiedOffset 454, 318 lines modified
454 |···············································································································································································|454 |···············································································································································································|
455 |»      auto·o·=·rpc.allocate_observer<null_observer>(std::move(algo),·source,·node_id());····························································································|455 |»      auto·o·=·rpc.allocate_observer<null_observer>(std::move(algo),·source,·node_id());····························································································|
456 |#if·TORRENT_USE_ASSERTS························································································································································|456 |#if·TORRENT_USE_ASSERTS························································································································································|
457 |»      o->m_in_constructor·=·false;··················································································································································|457 |»      o->m_in_constructor·=·false;··················································································································································|
458 |#endif·········································································································································································|458 |#endif·········································································································································································|
459 |»      o->flags·|=·observer::flag_queried;···········································································································································|459 |»      o->flags·|=·observer::flag_queried;···········································································································································|
460 |_\x8»  _\x8r_\x8p_\x8c_\x8._\x8i_\x8n_\x8v_\x8o_\x8k_\x8e_\x8(_\x8r_\x8e_\x8q_\x8,_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8,_\x8·_\x8o_\x8)_\x8;_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|460 |_\x8»  _\x8r_\x8p_\x8c_\x8._\x8i_\x8n_\x8v_\x8o_\x8k_\x8e_\x8(_\x8r_\x8e_\x8q_\x8,_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8,_\x8·_\x8o_\x8)_\x8;_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 461 |_\x8r_\x8e_\x8l_\x8e_\x8v_\x8a_\x8n_\x8c_\x8e_\x8 _\x83_\x8|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8c_\x8p_\x8p_\x8:_\x84_\x81_\x88_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8w_\x8e_\x8·_\x8c_\x8o_\x8u_\x8l_\x8d_\x8·_\x8p_\x8r_\x8o_\x8b_\x8a_\x8b_\x8l_\x8y_\x8·_\x8g_\x8e_\x8t_\x8·_\x8a_\x8w_\x8a_\x8y_\x8·_\x8w_\x8i_\x8t_\x8h_\x8·_\x8j_\x8u_\x8s_\x8t_\x8·_\x8s_\x8a_\x8v_\x8i_\x8n_\x8g_\x8·_\x8a_\x8·_\x8f_\x8e_\x8w_\x8·_\x8f_\x8i_\x8e_\x8l_\x8d_\x8s_\x8·_\x8h_\x8e_\x8r_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 462 |*\x8**\x8**\x8**\x8**\x8*·w\x8we\x8e·c\x8co\x8ou\x8ul\x8ld\x8d·p\x8pr\x8ro\x8ob\x8ba\x8ab\x8bl\x8ly\x8y·g\x8ge\x8et\x8t·a\x8aw\x8wa\x8ay\x8y·w\x8wi\x8it\x8th\x8h·j\x8ju\x8us\x8st\x8t·s\x8sa\x8av\x8vi\x8in\x8ng\x8g·a\x8a·f\x8fe\x8ew\x8w·f\x8fi\x8ie\x8el\x8ld\x8ds\x8s·h\x8he\x8er\x8re\x8e·*\x8**\x8**\x8**\x8**\x8*······································································································|
 463 |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t.\x8.c\x8cp\x8pp\x8p:\x8:4\x841\x818\x88·*\x8**\x8**\x8*·················································································································································|
 464 |//·---·V2·HASHES·---···························································································································································|
 465 |···············································································································································································|
 466 |»      »      if·(m_torrent_file->is_valid()·&&·m_torrent_file->info_hashes().has_v2())····································································································|
 467 |»      »      {············································································································································································|
 468 |»      »      »      if·(!p.merkle_trees.empty())················································································································································|
 469 |»      »      »      »      load_merkle_trees(·························································································································································|
 470 |»      »      »      »      »      std::move(p.merkle_trees)·················································································································································|
 471 |»      »      »      »      »      ,·std::move(p.merkle_tree_mask)···········································································································································|
 472 |»      »      »      »      »      ,·std::move(p.verified_leaf_hashes));·····································································································································|
 473 |···············································································································································································|
 474 |»      »      »      //·we·really·don't·want·to·store·extra·copies·of·the·trees··················································································································|
 475 |»      »      »      TORRENT_ASSERT(p.merkle_trees.empty());·····································································································································|
 476 |»      »      }············································································································································································|
 477 |···············································································································································································|
 478 |»      »      if·(valid_metadata())························································································································································|
 479 |»      »      {············································································································································································|
 480 |»      »      »      inc_stats_counter(counters::num_total_pieces_added··························································································································|
 481 |»      »      »      »      ,·m_torrent_file->num_pieces());···········································································································································|
 482 |»      »      }············································································································································································|
 483 |···············································································································································································|
 484 |m_add_torrent_params·=·std::make_unique<add_torrent_params>(std::move(p));·····································································································|
 485 |}··············································································································································································|
 486 |···············································································································································································|
 487 |»      void·torrent::load_merkle_trees(··············································································································································|
 488 |»      »      aux::vector<std::vector<sha256_hash>,·file_index_t>·trees_import·············································································································|
 489 |»      »      ,·aux::vector<std::vector<bool>,·file_index_t>·mask··························································································································|
 490 |»      »      ,·aux::vector<std::vector<bool>,·file_index_t>·verified)·····················································································································|
 491 |»      {·············································································································································································|
 492 |»      »      auto·const&·fs·=·m_torrent_file->orig_files();·······························································································································|
 493 |···············································································································································································|
 494 |»      »      std::vector<bool>·const·empty_verified;······································································································································|
 495 |»      »      for·(file_index_t·i{0};·i·<·fs.end_file();·++i)······························································································································|
 496 |»      »      {············································································································································································|
 497 |»      »      »      if·(fs.pad_file_at(i)·||·fs.file_size(i)·==·0)······························································································································|
 498 |»      »      »      »      continue;··································································································································································|
 499 |···············································································································································································|
 500 |»      »      »      if·(i·>=·trees_import.end_index())·break;···································································································································|
 501 |»      »      »      std::vector<bool>·const&·verified_bitmask·=·(i·>=·verified.end_index())·?·empty_verified·:·verified[i];·····································································|
 502 |»      »      »      if·(i·<·mask.end_index()·&&·!mask[i].empty())·······························································································································|
 503 |»      »      »      {···········································································································································································|
 504 |»      »      »      »      mask[i].resize(m_merkle_trees[i].size(),·false);···························································································································|
 505 |»      »      »      »      m_merkle_trees[i].load_sparse_tree(trees_import[i],·mask[i],·verified_bitmask);····························································································|
 506 |»      »      »      }···········································································································································································|
 507 |»      »      »      else········································································································································································|
 508 |»      »      »      {···········································································································································································|
 509 |»      »      »      »      m_merkle_trees[i].load_tree(trees_import[i],·verified_bitmask);············································································································|
 510 |»      »      »      }···········································································································································································|
 511 |»      »      }············································································································································································|
 512 |»      }·············································································································································································|
 513 |···············································································································································································|
 514 |_\x8»  _\x8v_\x8o_\x8i_\x8d_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8:_\x8:_\x8i_\x8n_\x8c_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8(_\x8i_\x8n_\x8t_\x8·_\x8c_\x8,_\x8·_\x8i_\x8n_\x8t_\x8·_\x8v_\x8a_\x8l_\x8u_\x8e_\x8)_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 515 |_\x8r_\x8e_\x8l_\x8e_\x8v_\x8a_\x8n_\x8c_\x8e_\x8 _\x83_\x8|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8c_\x8p_\x8p_\x8:_\x87_\x81_\x84_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8a_\x8s_\x8s_\x8e_\x8r_\x8t_\x8·_\x8t_\x8h_\x8e_\x8r_\x8e_\x8·_\x8a_\x8r_\x8e_\x8·_\x8n_\x8o_\x8·_\x8o_\x8u_\x8t_\x8s_\x8t_\x8a_\x8n_\x8d_\x8i_\x8n_\x8g_\x8·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8s_\x8·_\x8o_\x8n_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 516 |*\x8**\x8**\x8**\x8**\x8*·a\x8as\x8ss\x8se\x8er\x8rt\x8t·t\x8th\x8he\x8er\x8re\x8e·a\x8ar\x8re\x8e·n\x8no\x8o·o\x8ou\x8ut\x8ts\x8st\x8ta\x8an\x8nd\x8di\x8in\x8ng\x8g·a\x8as\x8sy\x8yn\x8nc\x8c·o\x8op\x8pe\x8er\x8ra\x8at\x8ti\x8io\x8on\x8ns\x8s·o\x8on\x8n·t\x8th\x8hi\x8is\x8s·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·*\x8**\x8**\x8**\x8**\x8*···································································································|
 517 |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t.\x8.c\x8cp\x8pp\x8p:\x8:7\x871\x814\x84·*\x8**\x8**\x8*·················································································································································|
 518 |#endif·········································································································································································|
 519 |···············································································································································································|
 520 |»      »      if·(!m_ses.dht())·return·false;··············································································································································|
 521 |»      »      if·(m_torrent_file->is_valid()·&&·!m_files_checked)·return·false;············································································································|
 522 |»      »      if·(!m_announce_to_dht)·return·false;········································································································································|
 523 |»      »      if·(m_paused)·return·false;··················································································································································|
 524 |···············································································································································································|
 525 |»      »      //·don't·announce·private·torrents···········································································································································|
 526 |»      »      if·(m_torrent_file->is_valid()·&&·m_torrent_file->priv())·return·false;······································································································|
 527 |»      »      if·(m_trackers.empty())·return·true;·········································································································································|
 528 |»      »      if·(!settings().get_bool(settings_pack::use_dht_as_fallback))·return·true;···································································································|
 529 |···············································································································································································|
 530 |»      »      return·std::none_of(m_trackers.begin(),·m_trackers.end()·····················································································································|
 531 |»      »      »      ,·[](aux::announce_entry·const&·tr)·{·return·bool(tr.verified);·});·········································································································|
 532 |»      }·············································································································································································|
 533 |···············································································································································································|
 534 |#endif·········································································································································································|
 535 |···············································································································································································|
 536 |»      torrent::~torrent()···························································································································································|
 537 |»      {·············································································································································································|
 538 |···············································································································································································|
 539 |#if·TORRENT_USE_ASSERTS························································································································································|
 540 |»      »      for·(torrent_list_index_t·i{};·i·!=·m_links.end_index();·++i)················································································································|
 541 |»      »      {············································································································································································|
 542 |»      »      »      if·(!m_links[i].in_list())·continue;········································································································································|
 543 |»      »      »      m_links[i].unlink(m_ses.torrent_list(i),·i);································································································································|
 544 |»      »      }············································································································································································|
 545 |#endif·········································································································································································|
 546 |···············································································································································································|
 547 |»      »      //·The·invariant·can't·be·maintained·here,·since·the·torrent·················································································································|
 548 |»      »      //·is·being·destructed,·all·weak·references·to·it·have·been··················································································································|
 549 |»      »      //·reset,·which·means·that·all·its·peers·already·have·an·····················································································································|
 550 |»      »      //·invalidated·torrent·pointer·(so·it·cannot·be·verified·to·be·correct)······································································································|
 551 |···············································································································································································|
 552 |»      »      //·i.e.·the·invariant·can·only·be·maintained·if·all·connections·have·········································································································|
 553 |»      »      //·been·closed·by·the·time·the·torrent·is·destructed.·And·they·are···········································································································|
 554 |»      »      //·supposed·to·be·closed.·So·we·can·still·do·the·invariant·check.············································································································|
 555 |···············································································································································································|
 556 |»      »      //·however,·the·torrent·object·may·be·destructed·from·the·main···············································································································|
 557 |»      »      //·thread·when·shutting·down,·if·the·disk·cache·has·references·to·it.········································································································|
 558 |»      »      //·this·means·that·the·invariant·check·that·this·is·called·from·the··········································································································|
 559 |»      »      //·network·thread·cannot·be·maintained·······································································································································|
 560 |···············································································································································································|
 561 |»      »      TORRENT_ASSERT(m_peer_class·==·peer_class_t{0});·····························································································································|
 562 |»      »      TORRENT_ASSERT(m_connections.empty());·······································································································································|
 563 |»      »      //·just·in·case,·make·sure·the·session·accounting·is·kept·right··············································································································|
 564 |»      »      for·(auto·p·:·m_connections)·················································································································································|
 565 |»      »      »      m_ses.close_connection(p);··················································································································································|
 566 |»      }·············································································································································································|
 567 |···············································································································································································|
 568 |_\x8»  _\x8v_\x8o_\x8i_\x8d_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8:_\x8:_\x8r_\x8e_\x8a_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8t_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8)_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 569 |_\x8r_\x8e_\x8l_\x8e_\x8v_\x8a_\x8n_\x8c_\x8e_\x8 _\x83_\x8|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8._\x8c_\x8p_\x8p_\x8:_\x81_\x83_\x82_\x86_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8t_\x8h_\x8e_\x8r_\x8e_\x8'_\x8s_\x8·_\x8s_\x8o_\x8m_\x8e_\x8·_\x8d_\x8u_\x8p_\x8l_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8·_\x8b_\x8e_\x8t_\x8w_\x8e_\x8e_\x8n_\x8·_\x8t_\x8h_\x8i_\x8s_\x8·_\x8f_\x8u_\x8n_\x8c_\x8t_\x8i_\x8o_\x8n_\x8·_\x8a_\x8n_\x8d_\x8·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8:_\x8:_\x8i_\x8n_\x8c_\x8o_\x8m_\x8i_\x8n_\x8g_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)_\x8._\x8·_\x8i_\x8s_\x8·_\x8t_\x8h_\x8e_\x8r_\x8e_\x8·_\x8a_\x8·_\x8w_\x8a_\x8y_\x8·_\x8t_\x8o_\x8·_\x8m_\x8e_\x8r_\x8g_\x8e_\x8·_\x8s_\x8o_\x8m_\x8e_\x8t_\x8h_\x8i_\x8n_\x8g_\x8?_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 570 |*\x8**\x8**\x8**\x8**\x8*·t\x8th\x8he\x8er\x8re\x8e'\x8's\x8s·s\x8so\x8om\x8me\x8e·d\x8du\x8up\x8pl\x8li\x8ic\x8ca\x8at\x8ti\x8io\x8on\x8n·b\x8be\x8et\x8tw\x8we\x8ee\x8en\x8n·t\x8th\x8hi\x8is\x8s·f\x8fu\x8un\x8nc\x8ct\x8ti\x8io\x8on\x8n·a\x8an\x8nd\x8d·p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n:\x8::\x8:i\x8in\x8nc\x8co\x8om\x8mi\x8in\x8ng\x8g_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e(\x8()\x8).\x8.·i\x8is\x8s·t\x8th\x8he\x8er\x8re\x8e·a\x8a·w\x8wa\x8ay\x8y·t\x8to\x8o·m\x8me\x8er\x8rg\x8ge\x8e·s\x8so\x8om\x8me\x8et\x8th\x8hi\x8in\x8ng\x8g?\x8?·*\x8**\x8**\x8**\x8**\x8*···········································|
 571 |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t.\x8.c\x8cp\x8pp\x8p:\x8:1\x813\x832\x826\x86·*\x8**\x8**\x8*················································································································································|
 572 |piece_picker&·m_picker;························································································································································|
 573 |»      »      piece_index_t·m_piece;·······················································································································································|
 574 |»      };············································································································································································|
 575 |···············································································································································································|
 576 |»      void·torrent::add_piece_async(piece_index_t·const·piece·······················································································································|
 577 |»      »      ,·std::vector<char>·data,·add_piece_flags_t·const·flags)·····················································································································|
 578 |»      {·············································································································································································|
 579 |»      »      TORRENT_ASSERT(is_single_thread());··········································································································································|
 580 |···············································································································································································|
Max diff block lines reached; 2448822/2510417 bytes (97.55%) of diff not shown.
2.98 KB
python3-libtorrent_2.0.10-1.1_armhf.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-02-28·20:35:15.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-02-28·20:35:15.000000·debian-binary
2 -rw-r--r--···0········0········0·····1016·2024-02-28·20:35:15.000000·control.tar.xz2 -rw-r--r--···0········0········0·····1016·2024-02-28·20:35:15.000000·control.tar.xz
3 -rw-r--r--···0········0········0···641792·2024-02-28·20:35:15.000000·data.tar.xz3 -rw-r--r--···0········0········0···641788·2024-02-28·20:35:15.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
2.45 KB
data.tar.xz
2.43 KB
data.tar
2.0 KB
file list
    
Offset 1, 15 lines modifiedOffset 1, 15 lines modified
1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./1 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./
2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/2 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/
3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/lib/3 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/lib/
4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/lib/python3/4 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/lib/python3/
5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/5 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/
6 -rw-r--r--···0·root·········(0)·root·········(0)··4147716·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.cpython-312-arm-linux-gnueabihf.so6 -rw-r--r--···0·root·········(0)·root·········(0)··4147716·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.cpython-312-arm-linux-gnueabihf.so
7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.egg-info/7 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.egg-info/
8 -rw-r--r--···0·root·········(0)·root·········(0)······274·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.egg-info/PKG-INFO8 -rw-r--r--···0·root·········(0)·root·········(0)······273·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.egg-info/PKG-INFO
9 -rw-r--r--···0·root·········(0)·root·········(0)········1·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.egg-info/dependency_links.txt9 -rw-r--r--···0·root·········(0)·root·········(0)········1·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.egg-info/dependency_links.txt
10 -rw-r--r--···0·root·········(0)·root·········(0)·······17·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.egg-info/top_level.txt10 -rw-r--r--···0·root·········(0)·root·········(0)·······17·2024-02-28·20:35:15.000000·./usr/lib/python3/dist-packages/libtorrent.egg-info/top_level.txt
11 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/share/11 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/share/
12 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/share/doc/12 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/share/doc/
13 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/share/doc/python3-libtorrent/13 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-02-28·20:35:15.000000·./usr/share/doc/python3-libtorrent/
14 -rw-r--r--···0·root·········(0)·root·········(0)·····2217·2024-02-28·20:35:15.000000·./usr/share/doc/python3-libtorrent/changelog.Debian.gz14 -rw-r--r--···0·root·········(0)·root·········(0)·····2217·2024-02-28·20:35:15.000000·./usr/share/doc/python3-libtorrent/changelog.Debian.gz
15 -rw-r--r--···0·root·········(0)·root·········(0)····33112·2024-02-19·12:14:14.000000·./usr/share/doc/python3-libtorrent/changelog.gz15 -rw-r--r--···0·root·········(0)·root·········(0)····33112·2024-02-19·12:14:14.000000·./usr/share/doc/python3-libtorrent/changelog.gz
424 B
./usr/lib/python3/dist-packages/libtorrent.egg-info/PKG-INFO
    
Offset 2, 10 lines modifiedOffset 2, 10 lines modified
2 Name:·libtorrent2 Name:·libtorrent
3 Version:·2.0.103 Version:·2.0.10
4 Summary:·Python·bindings·for·libtorrent-rasterbar4 Summary:·Python·bindings·for·libtorrent-rasterbar
5 Home-page:·http://libtorrent.org5 Home-page:·http://libtorrent.org
6 Author:·Arvid·Norberg6 Author:·Arvid·Norberg
7 Author-email:·arvid@libtorrent.org7 Author-email:·arvid@libtorrent.org
8 License:·BSD8 License:·BSD
9 Platform:·Linux-aarch649 Platform:·Linux-armv7l
  
10 Python·bindings·for·libtorrent-rasterbar10 Python·bindings·for·libtorrent-rasterbar