6.02 MB
/srv/reproducible-results/rbuild-debian/r-b-build.xm1OfGq3/b1/libtorrent-rasterbar_2.0.10-1.1_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.xm1OfGq3/b2/libtorrent-rasterbar_2.0.10-1.1_amd64.changes
757 B
Files
    
Offset 1, 7 lines modifiedOffset 1, 7 lines modified
  
1 ·14eae06655145f0a5e7dff15365d12c6·365488·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_amd64.deb1 ·14eae06655145f0a5e7dff15365d12c6·365488·libdevel·optional·libtorrent-rasterbar-dev_2.0.10-1.1_amd64.deb
2 ·2dcec17064ef8a73683e66748ad1da2e·1669120·doc·optional·libtorrent-rasterbar-doc_2.0.10-1.1_all.deb2 ·82a22689860faf67499b6c4ef04e8aab·1668344·doc·optional·libtorrent-rasterbar-doc_2.0.10-1.1_all.deb
3 ·4394d25f51487ed7169a2d4039352536·50681804·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_amd64.deb3 ·4394d25f51487ed7169a2d4039352536·50681804·debug·optional·libtorrent-rasterbar2.0t64-dbgsym_2.0.10-1.1_amd64.deb
4 ·77e58fa9ab2d5c375342d459992417bb·1645692·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_amd64.deb4 ·77e58fa9ab2d5c375342d459992417bb·1645692·libs·optional·libtorrent-rasterbar2.0t64_2.0.10-1.1_amd64.deb
5 ·57aa9dd90fdec4534227ca6a233feb78·13080152·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_amd64.deb5 ·57aa9dd90fdec4534227ca6a233feb78·13080152·debug·optional·python3-libtorrent-dbgsym_2.0.10-1.1_amd64.deb
6 ·1566c610ec8bb8b0936a6d8e3040b793·700872·python·optional·python3-libtorrent_2.0.10-1.1_amd64.deb6 ·1566c610ec8bb8b0936a6d8e3040b793·700872·python·optional·python3-libtorrent_2.0.10-1.1_amd64.deb
6.02 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·····3648·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··1665280·2024-02-28·20:35:15.000000·data.tar.xz3 -rw-r--r--···0········0········0··1664516·2024-02-28·20:35:15.000000·data.tar.xz
1.0 KB
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
927 B
xz --list
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 ··Streams:···········11 ··Streams:···········1
2 ··Blocks:············12 ··Blocks:············1
3 ··Compressed·size:···3648·B3 ··Compressed·size:···3636·B
4 ··Uncompressed·size:·20.0·KiB·(20480·B)4 ··Uncompressed·size:·20.0·KiB·(20480·B)
5 ··Ratio:·············0.1785 ··Ratio:·············0.178
6 ··Check:·············CRC646 ··Check:·············CRC64
7 ··Stream·Padding:····0·B7 ··Stream·Padding:····0·B
8 ··Streams:8 ··Streams:
9 ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding9 ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding
10 ·········1·········1···············0···············0············3648···········20480··0.178··CRC64············010 ·········1·········1···············0···············0············3636···········20480··0.178··CRC64············0
11 ··Blocks:11 ··Blocks:
12 ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check12 ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check
13 ·········1·········1··············12···············0············3612···········20480··0.176··CRC6413 ·········1·········1··············12···············0············3600···········20480··0.176··CRC64
6.01 MB
data.tar.xz
6.01 MB
data.tar
6.82 KB
file list
    
Offset 78, 38 lines modifiedOffset 78, 38 lines modified
78 -rw-r--r--···0·root·········(0)·root·········(0)·····9631·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/write_disk_buffers.png78 -rw-r--r--···0·root·········(0)·root·········(0)·····9631·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/img/write_disk_buffers.png
79 -rw-r--r--···0·root·········(0)·root·········(0)·····9766·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/index.html79 -rw-r--r--···0·root·········(0)·root·········(0)·····9766·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)···144603·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)···144603·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)····27435·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)····25856·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)····88949·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)····50884·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)····50884·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)····48568·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)···101842·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)···101840·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)···129829·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)···129821·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)····55634·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)····16461·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)····16459·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)····34353·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)··1272298·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)··1272288·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)·····3021·2024-02-28·20:35:15.000000·./usr/share/doc/libtorrent-rasterbar-doc/html/troubleshooting.html112 -rw-r--r--···0·root·········(0)·root·········(0)·····3021·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
1.73 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/manual-ref.html
    
Offset 100, 15 lines modifiedOffset 100, 15 lines modified
100 the·<tt·class="docutils·literal">session</tt>,·it·contains·the·main·loop·that·serves·all·torrents.</p>100 the·<tt·class="docutils·literal">session</tt>,·it·contains·the·main·loop·that·serves·all·torrents.</p>
101 <p>The·basic·usage·is·as·follows:</p>101 <p>The·basic·usage·is·as·follows:</p>
102 <ul>102 <ul>
103 <li><p·class="first">construct·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·possibly·passing·in·the·state·from·a·previous·<a·class="reference·external"·href="reference-Session.html#session">session</a>.103 <li><p·class="first">construct·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·possibly·passing·in·the·state·from·a·previous·<a·class="reference·external"·href="reference-Session.html#session">session</a>.
104 use·<a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a>·and·pass·in·the·resulting·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>·object·to104 use·<a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a>·and·pass·in·the·resulting·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>·object·to
105 the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·constructor.</p>105 the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·constructor.</p>
106 </li>106 </li>
107 <li><p·class="first">start·extensions·(see·<a·class="reference·external"·href="reference-Plugins.html#add_extension()">add_extension()</a>).</p>107 <li><p·class="first">start·extensions·(see·<a·class="reference·external"·href="reference-Session.html#add_extension()">add_extension()</a>).</p>
108 </li>108 </li>
109 <li><p·class="first">start·DHT,·LSD,·UPnP,·NAT-PMP·etc·(see·start_dht(),·start_lsd(),·start_upnp()109 <li><p·class="first">start·DHT,·LSD,·UPnP,·NAT-PMP·etc·(see·start_dht(),·start_lsd(),·start_upnp()
110 and·start_natpmp()).</p>110 and·start_natpmp()).</p>
111 </li>111 </li>
112 <li><p·class="first">parse·.torrent-files·and·add·them·to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·(see·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>,112 <li><p·class="first">parse·.torrent-files·and·add·them·to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·(see·<a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a>,
113 <a·class="reference·external"·href="reference-Session.html#async_add_torrent()">async_add_torrent()</a>·and·<a·class="reference·external"·href="reference-Session.html#add_torrent()">add_torrent()</a>)</p>113 <a·class="reference·external"·href="reference-Session.html#async_add_torrent()">async_add_torrent()</a>·and·<a·class="reference·external"·href="reference-Session.html#add_torrent()">add_torrent()</a>)</p>
114 </li>114 </li>
13.5 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="#const-void-operator"·id="toc-entry-4">const*()·void*()·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·void·<strong>const*</strong>·()·const·=·delete; 
58 ···client_data_t&amp;·<strong>operator=</strong>·(void·const*)·=·delete; 
59 ···operator·<strong>void*</strong>·()·const·=·delete; 
60 ···client_data_t&amp;·<strong>operator=</strong>·(void*)·=·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·void·<strong>const*</strong>·()·const·=·delete; 
77 client_data_t&amp;·<strong>operator=</strong>·(void·const*)·=·delete; 
78 operator·<strong>void*</strong>·()·const·=·delete; 
79 client_data_t&amp;·<strong>operator=</strong>·(void*)·=·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 ···T*·<strong>get</strong>·()·const;
 378 ···explicit·operator·<strong>T</strong>·()·const;
 379 ···operator·void·<strong>const*</strong>·()·const·=·delete;
 380 ···operator·<strong>void*</strong>·()·const·=·delete;
 381 ···client_data_t&amp;·<strong>operator=</strong>·(void*)·=·delete;
 382 ···client_data_t&amp;·<strong>operator=</strong>·(void·const*)·=·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="const*()"></a>
 393 <a·name="void*()"></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%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>
 395 <div·class="section"·id="const-void-operator">
 396 <h2>const*()·void*()·operator=()</h2>
 397 <pre·class="literal-block">
 398 operator·void·<strong>const*</strong>·()·const·=·delete;
 399 operator·<strong>void*</strong>·()·const·=·delete;
 400 client_data_t&amp;·<strong>operator=</strong>·(void*)·=·delete;
 401 client_data_t&amp;·<strong>operator=</strong>·(void·const*)·=·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.87 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_\x8o_\x8n_\x8s_\x8t_\x8*_\x8(_\x8)_\x8·_\x8v_\x8o_\x8i_\x8d_\x8*_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)9 ··········o·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*_\x8(_\x8)_\x8·_\x8v_\x8o_\x8i_\x8d_\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·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; 
24 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; 
25 ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; 
26 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·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·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete; 
37 client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·delete; 
38 operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete; 
39 client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·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 ···T*·g\x8ge\x8et\x8t·()·const;
 278 ···explicit·operator·T\x8T·()·const;
 279 ···operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete;
 280 ···operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete;
 281 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete;
 282 ···client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·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*·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*
 292 operator·void·c\x8co\x8on\x8ns\x8st\x8t*\x8*·()·const·=·delete;
 293 operator·v\x8vo\x8oi\x8id\x8d*\x8*·()·const·=·delete;
 294 client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void*)·=·delete;
 295 client_data_t&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(void·const*)·=·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
17.0 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Alerts.html
    
Offset 50, 15 lines modifiedOffset 50, 15 lines modified
50 <li><a·class="reference·internal"·href="#tracker-url"·id="toc-entry-12">tracker_url()</a></li>50 <li><a·class="reference·internal"·href="#tracker-url"·id="toc-entry-12">tracker_url()</a></li>
51 </ul>51 </ul>
52 </li>52 </li>
53 <li><a·class="reference·internal"·href="#torrent-removed-alert"·id="toc-entry-13">torrent_removed_alert</a></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>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>55 <li><a·class="reference·internal"·href="#file-completed-alert"·id="toc-entry-15">file_completed_alert</a></li>
56 <li><a·class="reference·internal"·href="#file-renamed-alert"·id="toc-entry-16">file_renamed_alert</a><ul>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>57 <li><a·class="reference·internal"·href="#new-name-old-name"·id="toc-entry-17">new_name()·old_name()</a></li>
58 </ul>58 </ul>
59 </li>59 </li>
60 <li><a·class="reference·internal"·href="#file-rename-failed-alert"·id="toc-entry-18">file_rename_failed_alert</a></li>60 <li><a·class="reference·internal"·href="#file-rename-failed-alert"·id="toc-entry-18">file_rename_failed_alert</a></li>
61 <li><a·class="reference·internal"·href="#performance-alert"·id="toc-entry-19">performance_alert</a><ul>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>62 <li><a·class="reference·internal"·href="#enum-performance-warning-t"·id="toc-entry-20">enum·performance_warning_t</a></li>
63 </ul>63 </ul>
64 </li>64 </li>
Offset 204, 15 lines modifiedOffset 204, 15 lines modified
204 <li><a·class="reference·internal"·href="#session-error-alert"·id="toc-entry-120">session_error_alert</a></li>204 <li><a·class="reference·internal"·href="#session-error-alert"·id="toc-entry-120">session_error_alert</a></li>
205 <li><a·class="reference·internal"·href="#dht-live-nodes-alert"·id="toc-entry-121">dht_live_nodes_alert</a><ul>205 <li><a·class="reference·internal"·href="#dht-live-nodes-alert"·id="toc-entry-121">dht_live_nodes_alert</a><ul>
206 <li><a·class="reference·internal"·href="#num-nodes-nodes"·id="toc-entry-122">num_nodes()·nodes()</a></li>206 <li><a·class="reference·internal"·href="#num-nodes-nodes"·id="toc-entry-122">num_nodes()·nodes()</a></li>
207 </ul>207 </ul>
208 </li>208 </li>
209 <li><a·class="reference·internal"·href="#session-stats-header-alert"·id="toc-entry-123">session_stats_header_alert</a></li>209 <li><a·class="reference·internal"·href="#session-stats-header-alert"·id="toc-entry-123">session_stats_header_alert</a></li>
210 <li><a·class="reference·internal"·href="#dht-sample-infohashes-alert"·id="toc-entry-124">dht_sample_infohashes_alert</a><ul>210 <li><a·class="reference·internal"·href="#dht-sample-infohashes-alert"·id="toc-entry-124">dht_sample_infohashes_alert</a><ul>
211 <li><a·class="reference·internal"·href="#num-samples-samples"·id="toc-entry-125">num_samples()·samples()</a></li>211 <li><a·class="reference·internal"·href="#samples-num-samples"·id="toc-entry-125">samples()·num_samples()</a></li>
212 <li><a·class="reference·internal"·href="#num-nodes"·id="toc-entry-126">num_nodes()</a></li>212 <li><a·class="reference·internal"·href="#num-nodes"·id="toc-entry-126">num_nodes()</a></li>
213 <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-127">nodes()</a></li>213 <li><a·class="reference·internal"·href="#nodes"·id="toc-entry-127">nodes()</a></li>
214 </ul>214 </ul>
215 </li>215 </li>
216 <li><a·class="reference·internal"·href="#block-uploaded-alert"·id="toc-entry-128">block_uploaded_alert</a></li>216 <li><a·class="reference·internal"·href="#block-uploaded-alert"·id="toc-entry-128">block_uploaded_alert</a></li>
217 <li><a·class="reference·internal"·href="#alerts-dropped-alert"·id="toc-entry-129">alerts_dropped_alert</a></li>217 <li><a·class="reference·internal"·href="#alerts-dropped-alert"·id="toc-entry-129">alerts_dropped_alert</a></li>
218 <li><a·class="reference·internal"·href="#socks5-alert"·id="toc-entry-130">socks5_alert</a></li>218 <li><a·class="reference·internal"·href="#socks5-alert"·id="toc-entry-130">socks5_alert</a></li>
Offset 544, 27 lines modifiedOffset 544, 27 lines modified
544 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>&quot;</p>544 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>&quot;</p>
545 <p>This·is·posted·as·a·response·to·a·<a·class="reference·external"·href="reference-Torrent_Handle.html#rename_file()">torrent_handle::rename_file()</a>·call,·if·the·rename545 <p>This·is·posted·as·a·response·to·a·<a·class="reference·external"·href="reference-Torrent_Handle.html#rename_file()">torrent_handle::rename_file()</a>·call,·if·the·rename
546 operation·succeeds.</p>546 operation·succeeds.</p>
547 <pre·class="literal-block">547 <pre·class="literal-block">
548 struct·file_renamed_alert·final·:·torrent_alert548 struct·file_renamed_alert·final·:·torrent_alert
549 {549 {
550 ···std::string·<strong>message</strong>·()·const·override;550 ···std::string·<strong>message</strong>·()·const·override;
551 ···char·const*·<strong>old_name</strong>·()·const; 
552 ···char·const*·<strong>new_name</strong>·()·const;551 ···char·const*·<strong>new_name</strong>·()·const;
 552 ···char·const*·<strong>old_name</strong>·()·const;
  
553 ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage;553 ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage;
554 ···file_index_t·const·index;554 ···file_index_t·const·index;
555 };555 };
556 </pre>556 </pre>
557 <a·name="old_name()"></a>557 <a·name="new_name()"></a>
558 <a·name="new_name()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_renamed_alert%3A%3A%5Bold_name%28%29+new_name%28%29%5D&labels=documentation&body=Documentation+under+heading+%22file_renamed_alert%3A%3A%5Bo[·...·truncated·by·diffoscope;·len:·115,·SHA:·72da25389de135e3f51a83f0cc6caaa34d6efcd577f35b0f4e8bfdffb5229c12·...·]-name">558 <a·name="old_name()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_renamed_alert%3A%3A%5Bnew_name%28%29+old_name%28%29%5D&labels=documentation&body=Documentation+under+heading+%22file_renamed_alert%3A%3A%5Bn[·...·truncated·by·diffoscope;·len:·115,·SHA:·f5990cb24984dbef9defc26483b5d556e0e2d6e2e6910fe78dcd430a242b1ad5·...·]-name">
559 <h2>old_name()·new_name()</h2>559 <h2>new_name()·old_name()</h2>
560 <pre·class="literal-block">560 <pre·class="literal-block">
561 char·const*·<strong>old_name</strong>·()·const; 
562 char·const*·<strong>new_name</strong>·()·const;561 char·const*·<strong>new_name</strong>·()·const;
 562 char·const*·<strong>old_name</strong>·()·const;
563 </pre>563 </pre>
564 <p>returns·the·new·and·previous·file·name,·respectively.</p>564 <p>returns·the·new·and·previous·file·name,·respectively.</p>
565 <a·name="index"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_renamed_alert%3A%3A%5Bindex%5D&labels=documentation&body=Documentation+under+heading+%22file_renamed_alert%3A%3A%5Bindex%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">565 <a·name="index"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_renamed_alert%3A%3A%5Bindex%5D&labels=documentation&body=Documentation+under+heading+%22file_renamed_alert%3A%3A%5Bindex%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">
566 <dt>index</dt>566 <dt>index</dt>
567 <dd>refers·to·the·index·of·the·file·that·was·renamed,</dd>567 <dd>refers·to·the·index·of·the·file·that·was·renamed,</dd>
568 </dl>568 </dl>
569 <a·name="file_rename_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+file_rename_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+file_rename_failed_alert%22+could+be+improved">report·issue</a>]</span></div>569 <a·name="file_rename_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+file_rename_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+file_rename_failed_alert%22+could+be+improved">report·issue</a>]</span></div>
Offset 1287, 26 lines modifiedOffset 1287, 26 lines modified
1287 <tt·class="docutils·literal"><span·class="pre">torrent_handle::move_storage</span></tt>.·This·is·useful·to·synchronize·with·the1287 <tt·class="docutils·literal"><span·class="pre">torrent_handle::move_storage</span></tt>.·This·is·useful·to·synchronize·with·the
1288 actual·disk.·The·<tt·class="docutils·literal">storage_path()</tt>·member·return·the·new·path·of·the1288 actual·disk.·The·<tt·class="docutils·literal">storage_path()</tt>·member·return·the·new·path·of·the
1289 storage.</p>1289 storage.</p>
1290 <pre·class="literal-block">1290 <pre·class="literal-block">
1291 struct·storage_moved_alert·final·:·torrent_alert1291 struct·storage_moved_alert·final·:·torrent_alert
1292 {1292 {
1293 ···std::string·<strong>message</strong>·()·const·override;1293 ···std::string·<strong>message</strong>·()·const·override;
1294 ···char·const*·<strong>old_path</strong>·()·const; 
1295 ···char·const*·<strong>storage_path</strong>·()·const;1294 ···char·const*·<strong>storage_path</strong>·()·const;
 1295 ···char·const*·<strong>old_path</strong>·()·const;
  
1296 ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage;1296 ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::storage;
1297 };1297 };
1298 </pre>1298 </pre>
1299 <a·name="old_path()"></a>1299 <a·name="old_path()"></a>
1300 <a·name="storage_path()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="old-path-storage-path">1300 <a·name="storage_path()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D&labels=documentation&body=Documentation+under+heading+%22storage_moved_alert%3A%3A%5Bold_path%28%29+storage_path%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="old-path-storage-path">
1301 <h2>old_path()·storage_path()</h2>1301 <h2>old_path()·storage_path()</h2>
1302 <pre·class="literal-block">1302 <pre·class="literal-block">
1303 char·const*·<strong>old_path</strong>·()·const; 
1304 char·const*·<strong>storage_path</strong>·()·const;1303 char·const*·<strong>storage_path</strong>·()·const;
 1304 char·const*·<strong>old_path</strong>·()·const;
1305 </pre>1305 </pre>
1306 <p>the·path·the·torrent·was·moved·to·and·from,·respectively.</p>1306 <p>the·path·the·torrent·was·moved·to·and·from,·respectively.</p>
1307 <a·name="storage_moved_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_moved_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+storage_moved_failed_alert%22+could+be+improved">report·issue</a>]</span></div>1307 <a·name="storage_moved_failed_alert"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_moved_failed_alert&labels=documentation&body=Documentation+under+heading+%22class+storage_moved_failed_alert%22+could+be+improved">report·issue</a>]</span></div>
1308 </div>1308 </div>
1309 <div·class="section"·id="storage-moved-failed-alert">1309 <div·class="section"·id="storage-moved-failed-alert">
1310 <h1>storage_moved_failed_alert</h1>1310 <h1>storage_moved_failed_alert</h1>
1311 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>&quot;</p>1311 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/alert_types.hpp">libtorrent/alert_types.hpp</a>&quot;</p>
Offset 3005, 17 lines modifiedOffset 3005, 17 lines modified
3005 ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::dht_operation;3005 ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::dht_operation;
3006 ···sha1_hash·node_id;3006 ···sha1_hash·node_id;
3007 ···aux::noexcept_movable&lt;udp::endpoint&gt;·endpoint;3007 ···aux::noexcept_movable&lt;udp::endpoint&gt;·endpoint;
3008 ···time_duration·const·interval;3008 ···time_duration·const·interval;
3009 ···int·const·num_infohashes;3009 ···int·const·num_infohashes;
3010 };3010 };
3011 </pre>3011 </pre>
3012 <a·name="num_samples()"></a>3012 <a·name="samples()"></a>
3013 <a·name="samples()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_sample_infohashes_alert%3A%3A%5Bnum_samples%28%29+samples%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_sample_infohas[·...·truncated·by·diffoscope;·len:·135,·SHA:·23355ba6ae0f8f36e64156a6c3c947d27fe9374ae4357e1a4fe0755f531d1674·...·]-samples">3013 <a·name="num_samples()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_sample_infohashes_alert%3A%3A%5Bsamples%28%29+num_samples%28%29%5D&labels=documentation&body=Documentation+under+heading+%22dht_sample_inf[·...·truncated·by·diffoscope;·len:·139,·SHA:·dcc65a1843018040dad778404a5cf7eb020f142ed22acca72790a5140f63e5c2·...·]-samples">
3014 <h2>num_samples()·samples()</h2>3014 <h2>samples()·num_samples()</h2>
3015 <pre·class="literal-block">3015 <pre·class="literal-block">
3016 std::vector&lt;sha1_hash&gt;·<strong>samples</strong>·()·const;3016 std::vector&lt;sha1_hash&gt;·<strong>samples</strong>·()·const;
3017 int·<strong>num_samples</strong>·()·const;3017 int·<strong>num_samples</strong>·()·const;
3018 </pre>3018 </pre>
3019 <p>returns·the·number·of·info-hashes·returned·by·the·node,·as·well·as·the3019 <p>returns·the·number·of·info-hashes·returned·by·the·node,·as·well·as·the
3020 actual·info-hashes.·<tt·class="docutils·literal">num_samples()</tt>·is·more·efficient·than3020 actual·info-hashes.·<tt·class="docutils·literal">num_samples()</tt>·is·more·efficient·than
3021 <tt·class="docutils·literal"><span·class="pre">samples().size()</span></tt>.</p>3021 <tt·class="docutils·literal"><span·class="pre">samples().size()</span></tt>.</p>
Offset 3079, 16 lines modifiedOffset 3079, 16 lines modified
3079 <p>this·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·is·posted·to·indicate·to·the·client·that·some·alerts·were3079 <p>this·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·is·posted·to·indicate·to·the·client·that·some·alerts·were
3080 dropped.·Dropped·meaning·that·the·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·failed·to·be·delivered·to·the3080 dropped.·Dropped·meaning·that·the·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·failed·to·be·delivered·to·the
3081 client.·The·most·common·cause·of·such·failure·is·that·the·internal·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>3081 client.·The·most·common·cause·of·such·failure·is·that·the·internal·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>
3082 queue·grew·too·big·(controlled·by·alert_queue_size).</p>3082 queue·grew·too·big·(controlled·by·alert_queue_size).</p>
3083 <pre·class="literal-block">3083 <pre·class="literal-block">
3084 struct·alerts_dropped_alert·final·:·alert3084 struct·alerts_dropped_alert·final·:·alert
3085 {3085 {
3086 ···std::string·<strong>message</strong>·()·const·override; 
3087 ···<strong>static_assert</strong>·(num_alert_types·&lt;=·abi_alert_count,·&quot;need·to·increase·bitset.·This·is·an·ABI·break&quot;);3086 ···<strong>static_assert</strong>·(num_alert_types·&lt;=·abi_alert_count,·&quot;need·to·increase·bitset.·This·is·an·ABI·break&quot;);
 3087 ···std::string·<strong>message</strong>·()·const·override;
  
3088 ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::error;3088 ···static·constexpr·alert_category_t·<strong>static_category</strong>··=·alert_category::error;
3089 ···std::bitset&lt;abi_alert_count&gt;·dropped_alerts;3089 ···std::bitset&lt;abi_alert_count&gt;·dropped_alerts;
3090 };3090 };
3091 </pre>3091 </pre>
3092 <a·name="dropped_alerts"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:alerts_dropped_alert%3A%3A%5Bdropped_alerts%5D&labels=documentation&body=Documentation+under+heading+%22alerts_dropped_alert%3A%3A%5Bdropped_alerts%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">3092 <a·name="dropped_alerts"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:alerts_dropped_alert%3A%3A%5Bdropped_alerts%5D&labels=documentation&body=Documentation+under+heading+%22alerts_dropped_alert%3A%3A%5Bdropped_alerts%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">
3093 <dt>dropped_alerts</dt>3093 <dt>dropped_alerts</dt>
6.97 KB
html2text {}
    
Offset 15, 15 lines modifiedOffset 15, 15 lines modified
15 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t15 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
16 ····*·_\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
17 ··········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)
18 ····*·_\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
19 ····*·_\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
20 ····*·_\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
21 ····*·_\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
22 ··········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)
23 ····*·_\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
24 ····*·_\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
25 ··········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
26 ····*·_\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
27 ····*·_\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
28 ··········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)
29 ····*·_\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 123, 15 lines modifiedOffset 123, 15 lines modified
123 ····*·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8s_\x8p_\x8o_\x8n_\x8s_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t123 ····*·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8s_\x8p_\x8o_\x8n_\x8s_\x8e_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
124 ····*·_\x8p_\x8i_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8o_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t124 ····*·_\x8p_\x8i_\x8c_\x8k_\x8e_\x8r_\x8__\x8l_\x8o_\x8g_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
125 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t125 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
126 ····*·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t126 ····*·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
127 ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)_\x8·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)127 ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)_\x8·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)
128 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8h_\x8e_\x8a_\x8d_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t128 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8h_\x8e_\x8a_\x8d_\x8e_\x8r_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
129 ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t129 ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
130 ··········o·_\x8n_.u_.m_.__.s_.a_.m_.p_.l_.e_.s_.(_.)_.·_\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8)130 ··········o·_\x8s_.a_.m_.p_.l_.e_.s_.(_.)_.·_.n_.u_.m_.__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8s_\x8(_\x8)
131 ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)131 ··········o·_\x8n_\x8u_\x8m_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)
132 ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)132 ··········o·_\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)
133 ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t133 ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
134 ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8__\x8d_\x8r_\x8o_\x8p_\x8p_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t134 ····*·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s_\x8__\x8d_\x8r_\x8o_\x8p_\x8p_\x8e_\x8d_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
135 ····*·_\x8s_\x8o_\x8c_\x8k_\x8s_\x85_\x8__\x8a_\x8l_\x8e_\x8r_\x8t135 ····*·_\x8s_\x8o_\x8c_\x8k_\x8s_\x85_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
136 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t136 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8__\x8a_\x8l_\x8e_\x8r_\x8t
137 ····*·_\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
Offset 400, 25 lines modifiedOffset 400, 25 lines modified
400 *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_r\x8re\x8en\x8na\x8am\x8me\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*400 *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_r\x8re\x8en\x8na\x8am\x8me\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
401 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p"401 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p"
402 This·is·posted·as·a·response·to·a·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·call,·if·the402 This·is·posted·as·a·response·to·a·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)·call,·if·the
403 rename·operation·succeeds.403 rename·operation·succeeds.
404 struct·file_renamed_alert·final·:·torrent_alert404 struct·file_renamed_alert·final·:·torrent_alert
405 {405 {
406 ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override;406 ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override;
407 ···char·const*·o\x8ol\x8ld\x8d_\x8_n\x8na\x8am\x8me\x8e·()·const; 
408 ···char·const*·n\x8ne\x8ew\x8w_\x8_n\x8na\x8am\x8me\x8e·()·const;407 ···char·const*·n\x8ne\x8ew\x8w_\x8_n\x8na\x8am\x8me\x8e·()·const;
 408 ···char·const*·o\x8ol\x8ld\x8d_\x8_n\x8na\x8am\x8me\x8e·()·const;
  
409 ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::409 ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::
410 storage;410 storage;
411 ···file_index_t·const·index;411 ···file_index_t·const·index;
412 };412 };
413 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]413 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
414 *\x8**\x8**\x8**\x8**\x8*·o.ol.ld.d_._n.na.am.me.e(.().)·n.ne.ew.w_\x8_n\x8na\x8am\x8me\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*414 *\x8**\x8**\x8**\x8**\x8*·n.ne.ew.w_._n.na.am.me.e(.().)·o.ol.ld.d_\x8_n\x8na\x8am\x8me\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
415 char·const*·o\x8ol\x8ld\x8d_\x8_n\x8na\x8am\x8me\x8e·()·const; 
416 char·const*·n\x8ne\x8ew\x8w_\x8_n\x8na\x8am\x8me\x8e·()·const;415 char·const*·n\x8ne\x8ew\x8w_\x8_n\x8na\x8am\x8me\x8e·()·const;
 416 char·const*·o\x8ol\x8ld\x8d_\x8_n\x8na\x8am\x8me\x8e·()·const;
417 returns·the·new·and·previous·file·name,·respectively.417 returns·the·new·and·previous·file·name,·respectively.
418 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]418 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
419 ··index419 ··index
420 ······refers·to·the·index·of·the·file·that·was·renamed,420 ······refers·to·the·index·of·the·file·that·was·renamed,
421 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]421 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
422 *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*422 *\x8**\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
423 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p"423 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p"
Offset 1035, 24 lines modifiedOffset 1035, 24 lines modified
1035 The·storage_moved_alert·is·generated·when·all·the·disk·IO·has·completed·and·the1035 The·storage_moved_alert·is·generated·when·all·the·disk·IO·has·completed·and·the
1036 files·have·been·moved,·as·an·effect·of·a·call·to·torrent_handle::move_storage.1036 files·have·been·moved,·as·an·effect·of·a·call·to·torrent_handle::move_storage.
1037 This·is·useful·to·synchronize·with·the·actual·disk.·The·storage_path()·member1037 This·is·useful·to·synchronize·with·the·actual·disk.·The·storage_path()·member
1038 return·the·new·path·of·the·storage.1038 return·the·new·path·of·the·storage.
1039 struct·storage_moved_alert·final·:·torrent_alert1039 struct·storage_moved_alert·final·:·torrent_alert
1040 {1040 {
1041 ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override;1041 ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override;
1042 ···char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; 
1043 ···char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const;1042 ···char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const;
 1043 ···char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const;
  
1044 ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::1044 ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::
1045 storage;1045 storage;
1046 };1046 };
1047 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]1047 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
1048 *\x8**\x8**\x8**\x8**\x8*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*1048 *\x8**\x8**\x8**\x8**\x8*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
1049 char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const; 
1050 char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const;1049 char·const*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8at\x8th\x8h·()·const;
 1050 char·const*·o\x8ol\x8ld\x8d_\x8_p\x8pa\x8at\x8th\x8h·()·const;
1051 the·path·the·torrent·was·moved·to·and·from,·respectively.1051 the·path·the·torrent·was·moved·to·and·from,·respectively.
1052 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]1052 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
1053 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_m\x8mo\x8ov\x8ve\x8ed\x8d_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*1053 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_m\x8mo\x8ov\x8ve\x8ed\x8d_\x8_f\x8fa\x8ai\x8il\x8le\x8ed\x8d_\x8_a\x8al\x8le\x8er\x8rt\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
1054 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p"1054 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p"
1055 The·storage_moved_failed_alert·is·generated·when·an·attempt·to·move·the1055 The·storage_moved_failed_alert·is·generated·when·an·attempt·to·move·the
1056 storage,·via·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8),·fails.1056 storage,·via·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8:_\x8:_\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8),·fails.
1057 struct·storage_moved_failed_alert·final·:·torrent_alert1057 struct·storage_moved_failed_alert·final·:·torrent_alert
Offset 2339, 15 lines modifiedOffset 2339, 15 lines modified
2339 dht_operation;2339 dht_operation;
2340 ···sha1_hash·node_id;2340 ···sha1_hash·node_id;
2341 ···aux::noexcept_movable<udp::endpoint>·endpoint;2341 ···aux::noexcept_movable<udp::endpoint>·endpoint;
2342 ···time_duration·const·interval;2342 ···time_duration·const·interval;
2343 ···int·const·num_infohashes;2343 ···int·const·num_infohashes;
2344 };2344 };
2345 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]2345 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
2346 *\x8**\x8**\x8**\x8**\x8*·n.nu.um.m_._s.sa.am.mp.pl.le.es.s(.().)·s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*2346 *\x8**\x8**\x8**\x8**\x8*·s.sa.am.mp.pl.le.es.s(.().)·n.nu.um.m_._s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
2347 std::vector<sha1_hash>·s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const;2347 std::vector<sha1_hash>·s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const;
2348 int·n\x8nu\x8um\x8m_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const;2348 int·n\x8nu\x8um\x8m_\x8_s\x8sa\x8am\x8mp\x8pl\x8le\x8es\x8s·()·const;
2349 returns·the·number·of·info-hashes·returned·by·the·node,·as·well·as·the·actual2349 returns·the·number·of·info-hashes·returned·by·the·node,·as·well·as·the·actual
2350 info-hashes.·num_samples()·is·more·efficient·than·samples().size().2350 info-hashes.·num_samples()·is·more·efficient·than·samples().size().
2351 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]2351 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
2352 *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*2352 *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
2353 int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const;2353 int·n\x8nu\x8um\x8m_\x8_n\x8no\x8od\x8de\x8es\x8s·()·const;
Offset 2394, 17 lines modifiedOffset 2394, 17 lines modified
2394 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p"2394 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8s_\x8._\x8h_\x8p_\x8p"
2395 this·_\x8a_\x8l_\x8e_\x8r_\x8t·is·posted·to·indicate·to·the·client·that·some·alerts·were·dropped.2395 this·_\x8a_\x8l_\x8e_\x8r_\x8t·is·posted·to·indicate·to·the·client·that·some·alerts·were·dropped.
2396 Dropped·meaning·that·the·_\x8a_\x8l_\x8e_\x8r_\x8t·failed·to·be·delivered·to·the·client.·The·most2396 Dropped·meaning·that·the·_\x8a_\x8l_\x8e_\x8r_\x8t·failed·to·be·delivered·to·the·client.·The·most
2397 common·cause·of·such·failure·is·that·the·internal·_\x8a_\x8l_\x8e_\x8r_\x8t·queue·grew·too·big2397 common·cause·of·such·failure·is·that·the·internal·_\x8a_\x8l_\x8e_\x8r_\x8t·queue·grew·too·big
2398 (controlled·by·alert_queue_size).2398 (controlled·by·alert_queue_size).
2399 struct·alerts_dropped_alert·final·:·alert2399 struct·alerts_dropped_alert·final·:·alert
2400 {2400 {
2401 ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override; 
2402 ···s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_a\x8as\x8ss\x8se\x8er\x8rt\x8t·(num_alert_types·<=·abi_alert_count,·"need·to·increase·bitset.2401 ···s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_a\x8as\x8ss\x8se\x8er\x8rt\x8t·(num_alert_types·<=·abi_alert_count,·"need·to·increase·bitset.
2403 This·is·an·ABI·break");2402 This·is·an·ABI·break");
 2403 ···std::string·m\x8me\x8es\x8ss\x8sa\x8ag\x8ge\x8e·()·const·override;
  
2404 ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::error;2404 ···static·constexpr·alert_category_t·s\x8st\x8ta\x8at\x8ti\x8ic\x8c_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y··=·alert_category::error;
2405 ···std::bitset<abi_alert_count>·dropped_alerts;2405 ···std::bitset<abi_alert_count>·dropped_alerts;
2406 };2406 };
2407 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]2407 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
2408 ··dropped_alerts2408 ··dropped_alerts
2409 ······a·bitmask·indicating·which·alerts·were·dropped.·Each·bit·represents·the2409 ······a·bitmask·indicating·which·alerts·were·dropped.·Each·bit·represents·the
38.7 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-string-value-at-list-int-value-at-list-at-list-size"·id="toc-entry-8">list_string_value_at()·list_int_value_at()·list_at()·list_size()</a></li>42 <li><a·class="reference·internal"·href="#list-string-value-at-list-size-list-at-list-int-value-at"·id="toc-entry-8">list_string_value_at()·list_size()·list_at()·list_int_value_at()</a></li>
43 <li><a·class="reference·internal"·href="#dict-find-dict-at-node-dict-find-int-dict-at-dict-find-list-dict-find-string-value-dict-size-dict-find-dict-dict-find-int-value-dict-find-string"·id="toc-entry-9">dict_find()·dict_at_node()·dict_find_int()·dict_at()·dict_find_list()·dict_find_string_value()·dict_size()·d[·...·truncated·by·diffoscope;·len:·54,·SHA:·571333e98592223e19bad0b679345d4f054ce0154ceb5bf377c746aa95c1fef7·...·]()</a></li>43 <li><a·class="reference·internal"·href="#dict-find-dict-find-string-value-dict-at-dict-find-list-dict-find-dict-dict-at-node-dict-find-string-dict-find-int-value-dict-find-int-dict-size"·id="toc-entry-9">dict_find()·dict_find_string_value()·dict_at()·dict_find_list()·dict_find_dict()·dict_at_node()·dict_find_st[·...·truncated·by·diffoscope;·len:·54,·SHA:·19e2cc31071c5334e6c6843c18a6fea42d14ad5a1af26e878c69e8c5f04ed003·...·]()</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-offset-string-ptr"·id="toc-entry-11">string_value()·string_length()·string_offset()·string_ptr()</a></li>45 <li><a·class="reference·internal"·href="#string-offset-string-value-string-length-string-ptr"·id="toc-entry-11">string_offset()·string_value()·string_length()·string_ptr()</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 57, 51 lines modifiedOffset 57, 51 lines modified
57 </div>57 </div>
58 <a·name="bdecode_node"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+bdecode_node&labels=documentation&body=Documentation+under+heading+%22class+bdecode_node%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="bdecode-node">58 <a·name="bdecode_node"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+bdecode_node&labels=documentation&body=Documentation+under+heading+%22class+bdecode_node%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="bdecode-node">
59 <h1>bdecode_node</h1>59 <h1>bdecode_node</h1>
60 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>&quot;</p>60 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>&quot;</p>
61 <p>Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(61 <p>Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(
62 to·be·able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the62 to·be·able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the
63 <a·class="reference·external"·href="reference-Bdecoding.html#non_owning()">non_owning()</a>·member·function.</p>63 <a·class="reference·external"·href="reference-Bdecoding.html#non_owning()">non_owning()</a>·member·function.</p>
64 <p>There·are·5·different·types·of·nodes,·see·<a·class="reference·external"·href="reference-Bdecoding.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 ···bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node&amp;&amp;)·&amp;·=·default; 
70 ···bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;; 
71 ···<strong>bdecode_node</strong>·(bdecode_node·const&amp;);69 ···<strong>bdecode_node</strong>·(bdecode_node·const&amp;);
72 ···<strong>bdecode_node</strong>·(bdecode_node&amp;&amp;)·noexcept;70 ···<strong>bdecode_node</strong>·(bdecode_node&amp;&amp;)·noexcept;
 71 ···bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;
 72 ···bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node&amp;&amp;)·&amp;·=·default;
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;
 77 ···std::ptrdiff_t·<strong>data_offset</strong>·()·const·noexcept;
78 ···string_view·<strong>list_string_value_at</strong>·(int·i 
79 ······,·string_view·default_val·=·string_view())·const; 
80 ···int·<strong>list_size</strong>·()·const;78 ···int·<strong>list_size</strong>·()·const;
81 ···std::int64_t·<strong>list_int_value_at</strong>·(int·i79 ···std::int64_t·<strong>list_int_value_at</strong>·(int·i
82 ······,·std::int64_t·default_val·=·0)·const;80 ······,·std::int64_t·default_val·=·0)·const;
 81 ···string_view·<strong>list_string_value_at</strong>·(int·i
 82 ······,·string_view·default_val·=·string_view())·const;
83 ···bdecode_node·<strong>list_at</strong>·(int·i)·const;83 ···bdecode_node·<strong>list_at</strong>·(int·i)·const;
84 ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const;84 ···bdecode_node·<strong>dict_find_string</strong>·(string_view·key)·const;
 85 ···int·<strong>dict_size</strong>·()·const;
85 ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const;86 ···bdecode_node·<strong>dict_find_list</strong>·(string_view·key)·const;
86 ···std::pair&lt;string_view,·bdecode_node&gt;·<strong>dict_at</strong>·(int·i)·const;87 ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const;
87 ···std::pair&lt;bdecode_node,·bdecode_node&gt;·<strong>dict_at_node</strong>·(int·i)·const;88 ···std::pair&lt;bdecode_node,·bdecode_node&gt;·<strong>dict_at_node</strong>·(int·i)·const;
88 ···string_view·<strong>dict_find_string_value</strong>·(string_view·key 
89 ······,·string_view·default_value·=·string_view())·const; 
90 ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key89 ···std::int64_t·<strong>dict_find_int_value</strong>·(string_view·key
91 ······,·std::int64_t·default_val·=·0)·const;90 ······,·std::int64_t·default_val·=·0)·const;
92 ···bdecode_node·<strong>dict_find_int</strong>·(string_view·key)·const; 
93 ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const;91 ···string_view·<strong>dict_find_string_value</strong>·(string_view·key
 92 ······,·string_view·default_value·=·string_view())·const;
94 ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const;93 ···bdecode_node·<strong>dict_find_dict</strong>·(string_view·key)·const;
95 ···int·<strong>dict_size</strong>·()·const;94 ···std::pair&lt;string_view,·bdecode_node&gt;·<strong>dict_at</strong>·(int·i)·const;
 95 ···bdecode_node·<strong>dict_find</strong>·(string_view·key)·const;
96 ···std::int64_t·<strong>int_value</strong>·()·const;96 ···std::int64_t·<strong>int_value</strong>·()·const;
97 ···std::ptrdiff_t·<strong>string_offset</strong>·()·const; 
98 ···string_view·<strong>string_value</strong>·()·const; 
99 ···int·<strong>string_length</strong>·()·const; 
100 ···char·const*·<strong>string_ptr</strong>·()·const;97 ···char·const*·<strong>string_ptr</strong>·()·const;
 98 ···int·<strong>string_length</strong>·()·const;
 99 ···string_view·<strong>string_value</strong>·()·const;
 100 ···std::ptrdiff_t·<strong>string_offset</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 121, 28 lines modifiedOffset 121, 28 lines modified
121 </pre>121 </pre>
122 <p>creates·a·default·constructed·node,·it·will·have·the·type·<tt·class="docutils·literal">none_t</tt>.</p>122 <p>creates·a·default·constructed·node,·it·will·have·the·type·<tt·class="docutils·literal">none_t</tt>.</p>
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 bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node&amp;&amp;)·&amp;·=·default; 
129 bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;; 
130 <strong>bdecode_node</strong>·(bdecode_node·const&amp;);128 <strong>bdecode_node</strong>·(bdecode_node·const&amp;);
131 <strong>bdecode_node</strong>·(bdecode_node&amp;&amp;)·noexcept;129 <strong>bdecode_node</strong>·(bdecode_node&amp;&amp;)·noexcept;
 130 bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;
 131 bdecode_node&amp;·<strong>operator=</strong>·(bdecode_node&amp;&amp;)·&amp;·=·default;
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">
139 type_t·<strong>type</strong>·()·const·noexcept;139 type_t·<strong>type</strong>·()·const·noexcept;
140 </pre>140 </pre>
141 <p>the·type·of·this·node.·See·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>.</p>141 <p>the·type·of·this·node.·See·<a·class="reference·external"·href="reference-Torrent_Info.html#type_t">type_t</a>.</p>
142 <a·name="bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bbool%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bbool%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>142 <a·name="bool()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:bdecode_node%3A%3A%5Bbool%28%29%5D&labels=documentation&body=Documentation+under+heading+%22bdecode_node%3A%3A%5Bbool%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
143 <div·class="section"·id="bool">143 <div·class="section"·id="bool">
144 <h2>bool()</h2>144 <h2>bool()</h2>
145 <pre·class="literal-block">145 <pre·class="literal-block">
146 explicit·operator·<strong>bool</strong>·()·const·noexcept;146 explicit·operator·<strong>bool</strong>·()·const·noexcept;
147 </pre>147 </pre>
148 <p>returns·true·if·<a·class="reference·external"·href="reference-Plugins.html#type()">type()</a>·!=·none_t.</p>148 <p>returns·true·if·<a·class="reference·external"·href="reference-Plugins.html#type()">type()</a>·!=·none_t.</p>
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; 
Max diff block lines reached; 11990/23288 bytes (51.49%) of diff not shown.
15.8 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__\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8(_\x8)_\x8·_\x8d_\x8a_\x8t_\x8a_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)
 13 ··········o·_\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)_\x8·_\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)
 14 ··········o·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8l_\x8i_\x8s_\x8t_\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_\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__\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8l_\x8i_\x8s_\x8t_\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(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8i_\x8n_\x8t_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8l_\x8i_\x8s_\x8t 
15 ············_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8d_\x8i_\x8c_\x8t_\x8(_\x8) 
16 ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8i_.n_.t_.__.v_.a_.l_.u_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)15 ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8d_.i_.c_.t_.(_.)_.·_.d_.i_.c_.t_.__.a_.t_.__.n_.o_.d_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8(_\x8)
 16 ············_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8i_\x8n_\x8t_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8f_\x8i_\x8n_\x8d_\x8__\x8i_\x8n_\x8t_\x8(_\x8)_\x8·_\x8d_\x8i_\x8c_\x8t_\x8__\x8s_\x8i_\x8z_\x8e_\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_.__.o_.f_.f_.s_.e_.t_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8p_\x8t_\x8r_\x8(_\x8)18 ··········o·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8o_.f_.f_.s_.e_.t_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.v_.a_.l_.u_.e_.(_.)_.·_.s_.t_.r_.i_.n_.g_.__.l_.e_.n_.g_.t_.h_\x8(_\x8)_\x8·_\x8s_\x8t_\x8r_\x8i_\x8n_\x8g_\x8__\x8p_\x8t_\x8r_\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 30, 46 lines modifiedOffset 30, 46 lines modified
30 Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(·to·be30 Sometimes·it's·important·to·get·a·non-owning·reference·to·the·root·node·(·to·be
31 able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)31 able·to·copy·it·as·a·reference·for·instance).·For·that,·use·the·_\x8n_\x8o_\x8n_\x8__\x8o_\x8w_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)
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 ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; 
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·const&);37 ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&);
40 ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept;38 ···b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept;
 39 ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;
 40 ···bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default;
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;
 45 ···std::ptrdiff_t·d\x8da\x8at\x8ta\x8a_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const·noexcept;
46 ···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 
47 ······,·string_view·default_val·=·string_view())·const; 
48 ···int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const;46 ···int·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·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·i47 ···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;48 ······,·std::int64_t·default_val·=·0)·const;
 49 ···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
 50 ······,·string_view·default_val·=·string_view())·const;
51 ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const;51 ···bdecode_node·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t·(int·i)·const;
52 ···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;52 ···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;
 53 ···int·d\x8di\x8ic\x8ct\x8t_\x8_s\x8si\x8iz\x8ze\x8e·()·const;
53 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const;54 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_l\x8li\x8is\x8st\x8t·(string_view·key)·const;
54 ···std::pair<string_view,·bdecode_node>·d.di.ic.ct.t_._a.at.t·(int·i)·const;55 ···bdecode_node·d.di.ic.ct.t_._f.fi.in.nd.d_._i.in.nt.t·(string_view·key)·const;
55 ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const;56 ···std::pair<bdecode_node,·bdecode_node>·d\x8di\x8ic\x8ct\x8t_\x8_a\x8at\x8t_\x8_n\x8no\x8od\x8de\x8e·(int·i)·const;
56 ···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 
57 ······,·string_view·default_value·=·string_view())·const; 
58 ···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·key57 ···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
59 ······,·std::int64_t·default_val·=·0)·const;58 ······,·std::int64_t·default_val·=·0)·const;
60 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_i\x8in\x8nt\x8t·(string_view·key)·const; 
61 ···bdecode_node·d.di.ic.ct.t_._f.fi.in.nd.d·(string_view·key)·const;59 ···string_view·d.di.ic.ct.t_._f.fi.in.nd.d_._s.st.tr.ri.in.ng.g_._v.va.al.lu.ue.e·(string_view·key
 60 ······,·string_view·default_value·=·string_view())·const;
62 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const;61 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d_\x8_d\x8di\x8ic\x8ct\x8t·(string_view·key)·const;
63 ···int·d.di.ic.ct.t_._s.si.iz.ze.e·()·const;62 ···std::pair<string_view,·bdecode_node>·d.di.ic.ct.t_._a.at.t·(int·i)·const;
 63 ···bdecode_node·d\x8di\x8ic\x8ct\x8t_\x8_f\x8fi\x8in\x8nd\x8d·(string_view·key)·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 ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·const; 
66 ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·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;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 ···string_view·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_v\x8va\x8al\x8lu\x8ue\x8e·()·const;
 68 ···std::ptrdiff_t·s\x8st\x8tr\x8ri\x8in\x8ng\x8g_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·()·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 83, 18 lines modifiedOffset 83, 18 lines modified
83 };83 };
84 [_\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]
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 bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default; 
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·const&);90 b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node·const&);
93 b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept;91 b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_n\x8no\x8od\x8de\x8e·(bdecode_node&&)·noexcept;
 92 bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;
 93 bdecode_node&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node&&)·&·=·default;
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_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)·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)·*\x8**\x8**\x8**\x8**\x8*
119 *\x8**\x8**\x8**\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_i\x8in\x8nt\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_a\x8at\x8t(\x8()\x8)·l\x8li\x8is\x8st\x8t_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
120 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 
121 ······,·string_view·default_val·=·string_view())·const; 
Max diff block lines reached; 6565/16206 bytes (40.51%) of diff not shown.
28.7 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Bencoding.html
    
Offset 34, 24 lines modifiedOffset 34, 24 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="#preformatted-string-list-integer-dict"·id="toc-entry-7">preformatted()·string()·list()·integer()·dict()</a></li>41 <li><a·class="reference·internal"·href="#integer-list-dict-string-preformatted"·id="toc-entry-7">integer()·list()·dict()·string()·preformatted()</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="#operator-2"·id="toc-entry-13">operator&lt;&lt;()</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="#bencode"·id="toc-entry-14">bencode()</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-Core.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.
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);
 77 ···<strong>entry</strong>·(span&lt;char·const&gt;);
76 ···<strong>entry</strong>·(preformatted_type);78 ···<strong>entry</strong>·(preformatted_type);
77 ···<strong>entry</strong>·(integer_type);79 ···<strong>entry</strong>·(integer_type);
78 ···<strong>entry</strong>·(list_type); 
79 ···<strong>entry</strong>·(dictionary_type);80 ···<strong>entry</strong>·(dictionary_type);
80 ···<strong>entry</strong>·(span&lt;char·const&gt;); 
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>·(entry&amp;&amp;)·&amp;·noexcept;
84 ···entry&amp;·<strong>operator=</strong>·(list_type)·&amp;;85 ···entry&amp;·<strong>operator=</strong>·(preformatted_type)·&amp;;
85 ···entry&amp;·<strong>operator=</strong>·(dictionary_type)·&amp;;86 ···entry&amp;·<strong>operator=</strong>·(dictionary_type)·&amp;;
 87 ···entry&amp;·<strong>operator=</strong>·(entry·const&amp;)·&amp;;
86 ···entry&amp;·<strong>operator=</strong>·(span&lt;char·const&gt;)·&amp;;88 ···entry&amp;·<strong>operator=</strong>·(span&lt;char·const&gt;)·&amp;;
87 ···entry&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;; 
88 ···entry&amp;·<strong>operator=</strong>·(integer_type)·&amp;;89 ···entry&amp;·<strong>operator=</strong>·(integer_type)·&amp;;
89 ···entry&amp;·<strong>operator=</strong>·(preformatted_type)·&amp;; 
90 ···entry&amp;·<strong>operator=</strong>·(entry&amp;&amp;)·&amp;·noexcept; 
91 ···entry&amp;·<strong>operator=</strong>·(entry·const&amp;)·&amp;;90 ···entry&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;
 91 ···entry&amp;·<strong>operator=</strong>·(list_type)·&amp;;
92 ···entry&amp;·<strong>operator=</strong>·(U·v)·&amp;;92 ···entry&amp;·<strong>operator=</strong>·(U·v)·&amp;;
 93 ···string_type&amp;·<strong>string</strong>·();
93 ···list_type·const&amp;·<strong>list</strong>·()·const;94 ···preformatted_type·const&amp;·<strong>preformatted</strong>·()·const;
94 ···string_type·const&amp;·<strong>string</strong>·()·const;95 ···string_type·const&amp;·<strong>string</strong>·()·const;
95 ···dictionary_type·const&amp;·<strong>dict</strong>·()·const; 
96 ···integer_type·const&amp;·<strong>integer</strong>·()·const; 
97 ···preformatted_type&amp;·<strong>preformatted</strong>·();96 ···preformatted_type&amp;·<strong>preformatted</strong>·();
98 ···preformatted_type·const&amp;·<strong>preformatted</strong>·()·const; 
99 ···string_type&amp;·<strong>string</strong>·(); 
100 ···list_type&amp;·<strong>list</strong>·(); 
101 ···dictionary_type&amp;·<strong>dict</strong>·();97 ···dictionary_type&amp;·<strong>dict</strong>·();
 98 ···list_type·const&amp;·<strong>list</strong>·()·const;
102 ···integer_type&amp;·<strong>integer</strong>·();99 ···integer_type&amp;·<strong>integer</strong>·();
 100 ···list_type&amp;·<strong>list</strong>·();
 101 ···integer_type·const&amp;·<strong>integer</strong>·()·const;
 102 ···dictionary_type·const&amp;·<strong>dict</strong>·()·const;
103 ···void·<strong>swap</strong>·(entry&amp;·e);103 ···void·<strong>swap</strong>·(entry&amp;·e);
104 ···entry·const&amp;·<strong>operator[]</strong>·(string_view·key)·const; 
105 ···entry&amp;·<strong>operator[]</strong>·(string_view·key);104 ···entry&amp;·<strong>operator[]</strong>·(string_view·key);
106 ···entry·const*·<strong>find_key</strong>·(string_view·key)·const;105 ···entry·const&amp;·<strong>operator[]</strong>·(string_view·key)·const;
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);
 132 <strong>entry</strong>·(span&lt;char·const&gt;);
131 <strong>entry</strong>·(preformatted_type);133 <strong>entry</strong>·(preformatted_type);
132 <strong>entry</strong>·(integer_type);134 <strong>entry</strong>·(integer_type);
133 <strong>entry</strong>·(list_type); 
134 <strong>entry</strong>·(dictionary_type);135 <strong>entry</strong>·(dictionary_type);
135 <strong>entry</strong>·(span&lt;char·const&gt;); 
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>·(entry&amp;&amp;)·&amp;·noexcept;
159 entry&amp;·<strong>operator=</strong>·(list_type)·&amp;;160 entry&amp;·<strong>operator=</strong>·(preformatted_type)·&amp;;
160 entry&amp;·<strong>operator=</strong>·(dictionary_type)·&amp;;161 entry&amp;·<strong>operator=</strong>·(dictionary_type)·&amp;;
 162 entry&amp;·<strong>operator=</strong>·(entry·const&amp;)·&amp;;
161 entry&amp;·<strong>operator=</strong>·(span&lt;char·const&gt;)·&amp;;163 entry&amp;·<strong>operator=</strong>·(span&lt;char·const&gt;)·&amp;;
162 entry&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;; 
163 entry&amp;·<strong>operator=</strong>·(integer_type)·&amp;;164 entry&amp;·<strong>operator=</strong>·(integer_type)·&amp;;
164 entry&amp;·<strong>operator=</strong>·(preformatted_type)·&amp;; 
165 entry&amp;·<strong>operator=</strong>·(entry&amp;&amp;)·&amp;·noexcept; 
166 entry&amp;·<strong>operator=</strong>·(entry·const&amp;)·&amp;;165 entry&amp;·<strong>operator=</strong>·(bdecode_node·const&amp;)·&amp;;
 166 entry&amp;·<strong>operator=</strong>·(list_type)·&amp;;
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>
Max diff block lines reached; 8296/17028 bytes (48.72%) of diff not shown.
11.9 KB
html2text {}
    
Offset 5, 22 lines modifiedOffset 5, 22 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·_\x8p_.r_.e_.f_.o_.r_.m_.a_.t_.t_.e_.d_.(_.)_.·_.s_.t_.r_.i_.n_.g_.(_.)_.·_.l_.i_.s_.t_.(_.)_.·_.i_.n_.t_.e_.g_.e_.r_.(_.)_.·_.d_.i_.c_.t_\x8(_\x8)12 ··········o·_\x8i_.n_.t_.e_.g_.e_.r_.(_.)_.·_.l_.i_.s_.t_.(_.)_.·_.d_.i_.c_.t_.(_.)_.·_.s_.t_.r_.i_.n_.g_.(_.)_.·_.p_.r_.e_.f_.o_.r_.m_.a_.t_.t_.e_.d_\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 ····*·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8<_\x8(_\x8) 
19 ····*·_\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)
20 Bencoding·is·a·common·representation·in·bittorrent·used·for·dictionary,·list,20 Bencoding·is·a·common·representation·in·bittorrent·used·for·dictionary,·list,
21 _\x8i_\x8n_\x8t·and·string·hierarchies.·It's·used·to·encode·.torrent·files·and·some21 _\x8i_\x8n_\x8t·and·string·hierarchies.·It's·used·to·encode·.torrent·files·and·some
22 messages·in·the·network·protocol.·libtorrent·also·uses·it·to·store·settings,22 messages·in·the·network·protocol.·libtorrent·also·uses·it·to·store·settings,
23 resume·data·and·other·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·state.23 resume·data·and·other·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·state.
24 Strings·in·bencoded·structures·do·not·necessarily·represent·text.·Strings·are24 Strings·in·bencoded·structures·do·not·necessarily·represent·text.·Strings·are
25 raw·byte·buffers·of·a·certain·length.·If·a·string·is·meant·to·be·interpreted·as25 raw·byte·buffers·of·a·certain·length.·If·a·string·is·meant·to·be·interpreted·as
26 text,·it·is·required·to·be·UTF-8·encoded.·See·_\x8B_\x8E_\x8P_\x8·_\x83.26 text,·it·is·required·to·be·UTF-8·encoded.·See·_\x8B_\x8E_\x8P_\x8·_\x83.
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);
 43 ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>);
42 ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type);44 ···e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type);
43 ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type);45 ···e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type);
44 ···e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); 
45 ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type);46 ···e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type);
46 ···e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); 
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=·(entry&&)·&·noexcept;
50 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&;51 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&;
51 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&;52 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&;
 53 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&;
52 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&;54 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&;
53 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; 
54 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&;55 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&;
55 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; 
56 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; 
57 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&;56 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;
 57 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&;
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 ···list_type·const&·l.li.is.st.t·()·const;59 ···string_type&·s.st.tr.ri.in.ng.g·();
 60 ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const;
60 ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const;61 ···string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const;
61 ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; 
62 ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const; 
63 ···preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·();62 ···preformatted_type&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·();
64 ···preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const; 
65 ···string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·(); 
66 ···list_type&·l\x8li\x8is\x8st\x8t·(); 
67 ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·();63 ···dictionary_type&·d\x8di\x8ic\x8ct\x8t·();
 64 ···list_type·const&·l\x8li\x8is\x8st\x8t·()·const;
68 ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·();65 ···integer_type&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·();
 66 ···list_type&·l\x8li\x8is\x8st\x8t·();
 67 ···integer_type·const&·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r·()·const;
 68 ···dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const;
69 ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e);69 ···void·s\x8sw\x8wa\x8ap\x8p·(entry&·e);
70 ···entry·const&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key)·const; 
71 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key);70 ···entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r[\x8[]\x8]·(string_view·key);
72 ···entry·const*·f.fi.in.nd.d_._k.ke.ey.y·(string_view·key)·const;71 ···entry·const&·o.op.pe.er.ra.at.to.or.r[.[].]·(string_view·key)·const;
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);
 93 e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>);
92 e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type);94 e\x8en\x8nt\x8tr\x8ry\x8y·(preformatted_type);
93 e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type);95 e\x8en\x8nt\x8tr\x8ry\x8y·(integer_type);
94 e\x8en\x8nt\x8tr\x8ry\x8y·(list_type); 
95 e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type);96 e\x8en\x8nt\x8tr\x8ry\x8y·(dictionary_type);
96 e\x8en\x8nt\x8tr\x8ry\x8y·(span<char·const>); 
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=·(entry&&)·&·noexcept;
109 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&;110 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&;
110 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&;111 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(dictionary_type)·&;
 112 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&;
111 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&;113 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(span<char·const>)·&;
112 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&; 
113 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&;114 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(integer_type)·&;
114 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(preformatted_type)·&; 
115 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry&&)·&·noexcept; 
116 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(entry·const&)·&;115 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(bdecode_node·const&)·&;
 116 entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(list_type)·&;
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*·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d(\x8()\x8)·s\x8st\x8tr\x8ri\x8in\x8ng\x8g(\x8()\x8)·l\x8li\x8is\x8st\x8t(\x8()\x8)·i\x8in\x8nt\x8te\x8eg\x8ge\x8er\x8r(\x8()\x8)·d\x8di\x8ic\x8ct\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
120 list_type·const&·l.li.is.st.t·()·const;119 *.**.**.**.**.*·i.in.nt.te.eg.ge.er.r(.().)·l.li.is.st.t(.().)·d.di.ic.ct.t(.().)·s.st.tr.ri.in.ng.g(.().)·p.pr.re.ef.fo.or.rm.ma.at.tt.te.ed.d(.().)·*.**.**.**.**.*
 120 string_type&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·();
 121 preformatted_type·const&·p\x8pr\x8re\x8ef\x8fo\x8or\x8rm\x8ma\x8at\x8tt\x8te\x8ed\x8d·()·const;
121 string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const;122 string_type·const&·s\x8st\x8tr\x8ri\x8in\x8ng\x8g·()·const;
122 dictionary_type·const&·d\x8di\x8ic\x8ct\x8t·()·const; 
Max diff block lines reached; 5075/12146 bytes (41.78%) of diff not shown.
85.5 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Core.html
    
Offset 28, 134 lines modifiedOffset 28, 85 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="#info-hash-t"·id="toc-entry-1">info_hash_t</a><ul>35 <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-1">peer_request</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-has-v1-has-v2"·id="toc-entry-3">has()·has_v1()·has_v2()</a></li> 
38 <li><a·class="reference·internal"·href="#get"·id="toc-entry-4">get()</a></li>36 <li><a·class="reference·internal"·href="#operator"·id="toc-entry-2">operator==()</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> 
41 </ul>37 </ul>
42 </li>38 </li>
43 <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-7">peer_info</a><ul>39 <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-3">peer_info</a><ul>
44 <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-8">i2p_destination()</a></li>40 <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-4">i2p_destination()</a></li>
45 </ul>41 </ul>
46 </li>42 </li>
47 <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-9">peer_request</a><ul>43 <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-5">piece_block</a></li>
 44 <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-6">info_hash_t</a><ul>
 45 <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-7">info_hash_t()</a></li>
 46 <li><a·class="reference·internal"·href="#has-v1-has-has-v2"·id="toc-entry-8">has_v1()·has()·has_v2()</a></li>
48 <li><a·class="reference·internal"·href="#operator"·id="toc-entry-10">operator==()</a></li>47 <li><a·class="reference·internal"·href="#get"·id="toc-entry-9">get()</a></li>
 48 <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-10">get_best()</a></li>
 49 <li><a·class="reference·internal"·href="#for-each"·id="toc-entry-11">for_each()</a></li>
49 </ul>50 </ul>
50 </li>51 </li>
 52 <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-12">make_magnet_uri()</a></li>
51 <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-11">piece_block</a></li>53 <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-13">parse_magnet_uri()</a></li>
52 <li><a·class="reference·internal"·href="#load-torrent-parsed-load-torrent-buffer-load-torrent-file"·id="toc-entry-12">load_torrent_parsed()·load_torrent_buffer()·load_torrent_file()</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="#torrent-peer-equal"·id="toc-entry-14">torrent_peer_equal()</a></li>
 55 <li><a·class="reference·internal"·href="#load-torrent-file-load-torrent-parsed-load-torrent-buffer"·id="toc-entry-15">load_torrent_file()·load_torrent_parsed()·load_torrent_buffer()</a></li>
54 <li><a·class="reference·internal"·href="#version"·id="toc-entry-14">version()</a></li>56 <li><a·class="reference·internal"·href="#version"·id="toc-entry-16">version()</a></li>
55 <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-15">make_magnet_uri()</a></li> 
56 <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-16">parse_magnet_uri()</a></li> 
57 <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-17">truncate_files()</a></li>57 <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-17">truncate_files()</a></li>
 58 <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-18">enum·portmap_transport</a></li>
58 <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-18">enum·protocol_version</a></li>59 <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-19">enum·portmap_protocol</a></li>
59 <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-19">enum·connection_type</a></li> 
60 <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-20">enum·socket_type_t</a></li>60 <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-20">enum·socket_type_t</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-protocol-version"·id="toc-entry-22">enum·protocol_version</a></li>
61 <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-21">enum·event_t</a></li>63 <li><a·class="reference·internal"·href="#enum-event-t"·id="toc-entry-23">enum·event_t</a></li>
62 <li><a·class="reference·internal"·href="#enum-portmap-transport"·id="toc-entry-22">enum·portmap_transport</a></li> 
63 <li><a·class="reference·internal"·href="#enum-portmap-protocol"·id="toc-entry-23">enum·portmap_protocol</a></li> 
64 <li><a·class="reference·internal"·href="#int"·id="toc-entry-24">int</a></li> 
65 <li><a·class="reference·internal"·href="#char-const"·id="toc-entry-25">char·const*</a></li> 
66 <li><a·class="reference·internal"·href="#std-uint64-t"·id="toc-entry-26">std::uint64_t</a></li> 
67 <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-27">torrent_flags_t</a></li> 
68 <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-28">download_priority_t</a></li>64 <li><a·class="reference·internal"·href="#download-priority-t"·id="toc-entry-24">download_priority_t</a></li>
 65 <li><a·class="reference·internal"·href="#torrent-flags-t"·id="toc-entry-25">torrent_flags_t</a></li>
69 <li><a·class="reference·internal"·href="#pex-flags-t"·id="toc-entry-29">pex_flags_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="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·[·...·truncated·by·diffoscope;·len:·30,·SHA:·322adb15935e799e5c42c9af27ecb761a0e0e7bc185d3d3cfba2da22c19b12b7·...·]t">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><d[·...·truncated·by·diffoscope;·len:·34,·SHA:·788993e3a529aedb202fe73ca32ff11539b0cbb8859aa40a57ea90708ba7e727·...·]t">
73 <h1>info_hash_t</h1>73 <h1>peer_request</h1>
74 <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/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>
75 <p>class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash 
76 (SHA-1)·or·a·v2·info-hash·(SHA-256)·or·both.</p> 
77 <div·class="admonition·note"> 
78 <p·class="first·admonition-title">Note</p> 
79 <p·class="last">If·<tt·class="docutils·literal">has_v2()</tt>·is·false·then·the·v1·hash·might·actually·be·a·truncated 
80 v2·hash</p> 
81 </div> 
82 <pre·class="literal-block">77 <pre·class="literal-block">
83 struct·info_hash_t78 struct·peer_request
84 {79 {
85 ···explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; 
86 ···<strong>info_hash_t</strong>·()·noexcept·=·default; 
87 ···explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; 
88 ···<strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; 
89 ···bool·<strong>has</strong>·(protocol_version·v)·const; 
90 ···bool·<strong>has_v2</strong>·()·const; 
91 ···bool·<strong>has_v1</strong>·()·const; 
92 ···sha1_hash·<strong>get</strong>·(protocol_version·v)·const; 
93 ···sha1_hash·<strong>get_best</strong>·()·const; 
94 ···friend·bool·<strong>operator!=</strong>·(info_hash_t·const&amp;·lhs,·info_hash_t·const&amp;·rhs); 
95 ···friend·bool·<strong>operator==</strong>·(info_hash_t·const&amp;·lhs,·info_hash_t·const&amp;·rhs)·noexcept; 
96 ···template·&lt;typename·F&gt;·void·<strong>for_each</strong>·(F·f)·const; 
97 ···bool·<strong>operator&lt;</strong>·(info_hash_t·const&amp;·o)·const;80 ···bool·<strong>operator==</strong>·(peer_request·const&amp;·r)·const;
98 ···friend·std::ostream&amp;·<strong>operator&lt;&lt;</strong>·(std::ostream&amp;·os,·info_hash_t·const&amp;·ih); 
  
99 ···sha1_hash·v1; 
100 ···sha256_hash·v2;81 ···piece_index_t·piece;
 82 ···int·start;
 83 ···int·length;
101 };84 };
102 </pre>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>
103 <a·name="info_hash_t()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Binfo_hash_t%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="info-hash-t-1"> 
104 <h2>info_hash_t()</h2> 
105 <pre·class="literal-block"> 
106 explicit·<strong>info_hash_t</strong>·(sha1_hash·h1)·noexcept; 
107 <strong>info_hash_t</strong>·()·noexcept·=·default; 
108 explicit·<strong>info_hash_t</strong>·(sha256_hash·h2)·noexcept; 
109 <strong>info_hash_t</strong>·(sha1_hash·h1,·sha256_hash·h2)·noexcept; 
110 </pre> 
111 <p>The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2 
112 hash.</p> 
113 <p>For·backwards·compatibility,·make·it·possible·to·construct·directly 
114 from·a·v1·hash.·This·constructor·allows·<em>implicit</em>·conversion·from·a 
115 v1·hash,·but·the·implicitness·is·deprecated.</p> 
116 <a·name="has()"></a> 
117 <a·name="has_v1()"></a> 
118 <a·name="has_v2()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Bhas%28%29+has_v1%28%29+has_v2%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Bhas%28%29+has_v1%28%29+has_v2%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> 
119 <div·class="section"·id="has-has-v1-has-v2"> 
120 <h2>has()·has_v1()·has_v2()</h2> 
121 <pre·class="literal-block"> 
122 bool·<strong>has</strong>·(protocol_version·v)·const; 
123 bool·<strong>has_v2</strong>·()·const; 
124 bool·<strong>has_v1</strong>·()·const; 
125 </pre> 
126 <p>returns·true·if·the·corresponding·info·hash·is·present·in·this 
127 object.</p> 
128 <a·name="get()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:info_hash_t%3A%3A%5Bget%28%29%5D&labels=documentation&body=Documentation+under+heading+%22info_hash_t%3A%3A%5Bget%28%29%5D%22+could+be+improved">report·issue</a>]</span></div> 
129 <div·class="section"·id="get"> 
130 <h2>get()</h2> 
131 <pre·class="literal-block"> 
132 sha1_hash·<strong>get</strong>·(protocol_version·v)·const; 
133 </pre> 
Max diff block lines reached; 41369/53785 bytes (76.92%) of diff not shown.
32.8 KB
html2text {}
    
Offset 1, 100 lines modifiedOffset 1, 68 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_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o
 9 ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8)
 10 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k
6 ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t11 ····*·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t
7 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8)12 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t_\x8(_\x8)
8 ··········o·_\x8h_\x8a_\x8s_\x8(_.)_.·_.h_.a_.s_.__.v_.1_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8__\x8v_\x82_\x8(_\x8)13 ··········o·_\x8h_\x8a_\x8s_\x8__.v_.1_.(_.)_.·_.h_.a_.s_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8__\x8v_\x82_\x8(_\x8)
9 ··········o·_\x8g_\x8e_\x8t_\x8(_\x8)14 ··········o·_\x8g_\x8e_\x8t_\x8(_\x8)
10 ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8)15 ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8e_\x8s_\x8t_\x8(_\x8)
11 ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8)16 ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8)
12 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o 
13 ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) 
14 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t 
15 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) 
16 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k 
17 ····*·_\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)_\x8·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) 
18 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) 
19 ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) 
20 ····*·_\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)17 ····*·_\x8m_\x8a_\x8k_\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)18 ····*·_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)
 19 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8)
 20 ····*·_\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)
 21 ····*·_\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
22 ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)22 ····*·_\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
23 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n 
24 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e 
25 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t 
26 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t 
27 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t23 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t
28 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l24 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l
 25 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t
 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·_\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t
 29 ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t
 30 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
 31 ····*·_\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
29 ····*·_\x8i_\x8n_\x8t32 ····*·_\x8i_\x8n_\x8t
30 ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*33 ····*·_\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*
31 ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t34 ····*·_\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t
32 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t 
33 ····*·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t 
34 ····*·_\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t 
35 [_\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]
36 *\x8**\x8**\x8**\x8**\x8**\x8*·i.in.nf.fo.o_._h.ha.as.sh.h_._t\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*36 *\x8**\x8**\x8**\x8**\x8**\x8*·p.pe.ee.er.r_._r.re.eq.qu.ue.es.st\x8t·*\x8**\x8**\x8**\x8**\x8**\x8*
37 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8i_.n_.f_.o_.__.h_.a_.s_.h_\x8._\x8h_\x8p_\x8p"37 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_.e_.e_.r_.__.r_.e_.q_.u_.e_.s_.t_\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
38 class·holding·the·info-hash·of·a·torrent.·It·can·hold·a·v1·info-hash·(SHA-1)·or 
39 a·v2·info-hash·(SHA-256)·or·both. 
40 Note 
41 If·has_v2()·is·false·then·the·v1·hash·might·actually·be·a·truncated·v2·hash 
42 struct·info_hash_t 
43 {41 {
44 ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1)·noexcept; 
45 ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; 
46 ···explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; 
47 ···i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; 
48 ···bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; 
49 ···bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; 
50 ···bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; 
51 ···sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; 
52 ···sha1_hash·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t·()·const; 
53 ···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) 
55 noexcept; 
56 ···template·<typename·F>·void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(F·f)·const; 
57 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<.<·(info_hash_t·const&·o)·const;42 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=.==.=·(peer_request·const&·r)·const;
58 ···friend·std::ostream&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<<\x8<·(std::ostream&·os,·info_hash_t·const&·ih); 
  
59 ···sha1_hash·v1; 
60 ···sha256_hash·v2;43 ···piece_index_t·piece;
 44 ···int·start;
 45 ···int·length;
61 };46 };
62 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]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.
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·(sha1_hash·h1)·noexcept; 
65 i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·()·noexcept·=·default; 
66 explicit·i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha256_hash·h2)·noexcept; 
67 i\x8in\x8nf\x8fo\x8o_\x8_h\x8ha\x8as\x8sh\x8h_\x8_t\x8t·(sha1_hash·h1,·sha256_hash·h2)·noexcept; 
68 The·default·constructor·creates·an·object·that·has·neither·a·v1·or·v2·hash. 
69 For·backwards·compatibility,·make·it·possible·to·construct·directly·from·a·v1 
70 hash.·This·constructor·allows·i\x8im\x8mp\x8pl\x8li\x8ic\x8ci\x8it\x8t·conversion·from·a·v1·hash,·but·the 
71 implicitness·is·deprecated. 
72 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
73 *\x8**\x8**\x8**\x8**\x8*·h\x8ha\x8as\x8s(\x8()\x8)·h\x8ha\x8as\x8s_\x8_v\x8v1\x81(\x8()\x8)·h\x8ha\x8as\x8s_\x8_v\x8v2\x82(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
74 bool·h\x8ha\x8as\x8s·(protocol_version·v)·const; 
75 bool·h\x8ha\x8as\x8s_\x8_v\x8v2\x82·()·const; 
76 bool·h\x8ha\x8as\x8s_\x8_v\x8v1\x81·()·const; 
77 returns·true·if·the·corresponding·info·hash·is·present·in·this·object. 
78 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]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.
79 *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
80 sha1_hash·g\x8ge\x8et\x8t·(protocol_version·v)·const; 
81 returns·the·has·for·the·specified·protocol·version 
82 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]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.
83 *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
84 sha1_hash·g\x8ge\x8et\x8t_\x8_b\x8be\x8es\x8st\x8t·()·const; 
85 returns·the·v2·(truncated)·info-hash,·if·there·is·one,·otherwise·returns·the·v1 
86 info-hash 
87 [_\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]
 59 ··length
 60 ······The·size·of·the·range,·in·bytes.
88 *\x8**\x8**\x8**\x8**\x8*·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
89 template·<typename·F>·void·f\x8fo\x8or\x8r_\x8_e\x8ea\x8ac\x8ch\x8h·(F·f)·const; 
90 calls·the·function·object·f·for·each·hash·that·is·available.·starting·with·v1. 
91 The·signature·of·F·is: 
92 void(sha1_hash·const&,·protocol_version); 
93 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]61 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
94 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*62 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·*\x8**\x8**\x8**\x8**\x8**\x8*
95 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p"63 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8._\x8h_\x8p_\x8p"
96 holds·information·and·statistics·about·one·peer·that·libtorrent·is·connected·to64 holds·information·and·statistics·about·one·peer·that·libtorrent·is·connected·to
Max diff block lines reached; 26483/33614 bytes (78.79%) of diff not shown.
29.3 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Create_Torrents.html
    
Offset 30, 33 lines modifiedOffset 30, 33 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-url-seed-add-http-seed"·id="toc-entry-10">add_url_seed()·add_http_seed()</a></li>
45 <li><a·class="reference·internal"·href="#add-node"·id="toc-entry-11">add_node()</a></li>45 <li><a·class="reference·internal"·href="#add-node"·id="toc-entry-11">add_node()</a></li>
46 <li><a·class="reference·internal"·href="#add-tracker"·id="toc-entry-12">add_tracker()</a></li>46 <li><a·class="reference·internal"·href="#add-tracker"·id="toc-entry-12">add_tracker()</a></li>
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="#set-priv-priv"·id="toc-entry-14">set_priv()·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-length-piece-size"·id="toc-entry-20">piece_length()·piece_size()</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>55 <li><a·class="reference·internal"·href="#add-collection-add-similar-torrent"·id="toc-entry-21">add_collection()·add_similar_torrent()</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 121, 29 lines modifiedOffset 121, 29 lines modified
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_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);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 ···bool·<strong>priv</strong>·()·const; 
129 ···void·<strong>set_priv</strong>·(bool·p);128 ···void·<strong>set_priv</strong>·(bool·p);
 129 ···bool·<strong>priv</strong>·()·const;
130 ···bool·<strong>is_v2_only</strong>·()·const;130 ···bool·<strong>is_v2_only</strong>·()·const;
131 ···bool·<strong>is_v1_only</strong>·()·const;131 ···bool·<strong>is_v1_only</strong>·()·const;
132 ···int·<strong>num_pieces</strong>·()·const;132 ···int·<strong>num_pieces</strong>·()·const;
133 ···piece_index_t·<strong>end_piece</strong>·()·const;133 ···piece_index_t·<strong>end_piece</strong>·()·const;
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_length</strong>·()·const; 
140 ···int·<strong>piece_size</strong>·(piece_index_t·i)·const;139 ···int·<strong>piece_size</strong>·(piece_index_t·i)·const;
141 ···void·<strong>add_collection</strong>·(string_view·c);140 ···int·<strong>piece_length</strong>·()·const;
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;
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 entry·<strong>generate</strong>·()·const;185 entry·<strong>generate</strong>·()·const;
186 std::vector&lt;char&gt;·<strong>generate_buf</strong>·()·const;186 std::vector&lt;char&gt;·<strong>generate_buf</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 270, 18 lines modifiedOffset 270, 18 lines modified
270 16·kiB·blocks.·Note·that·piece·sizes·must·be·powers-of-2,·so·all270 16·kiB·blocks.·Note·that·piece·sizes·must·be·powers-of-2,·so·all
271 per-piece·merkle·trees·are·complete.271 per-piece·merkle·trees·are·complete.
272 A·SHA-256·hash·of·all·zeros·is·internally·used·to·indicate·a·hash272 A·SHA-256·hash·of·all·zeros·is·internally·used·to·indicate·a·hash
273 that·has·not·been·set.·Setting·such·hash·will·not·be·considered·set273 that·has·not·been·set.·Setting·such·hash·will·not·be·considered·set
274 when·calling·<a·class="reference·external"·href="reference-Create_Torrents.html#generate()">generate()</a>.274 when·calling·<a·class="reference·external"·href="reference-Create_Torrents.html#generate()">generate()</a>.
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_url_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%5B[·...·truncated·by·diffoscope;·len:·27,·SHA:·c2f6ab073ec583a3e638139795b02ee07974718cbc77ec52778b80d1fb7b0ee9·...·]_seed%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>278 <a·name="add_http_seed()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Badd_url_seed%28%29+add_http_seed%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5[·...·truncated·by·diffoscope;·len:·28,·SHA:·64810a812abf0c9adbace5f235d637c4c4ef755b6b659976ac48125498d909a3·...·]_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-url-seed-add-http-seed">
280 <h2>add_http_seed()·add_url_seed()</h2>280 <h2>add_url_seed()·add_http_seed()</h2>
281 <pre·class="literal-block">281 <pre·class="literal-block">
282 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);283 void·<strong>add_http_seed</strong>·(string_view·url);
284 </pre>284 </pre>
285 <p>This·adds·a·url·seed·to·the·torrent.·You·can·have·any·number·of·url·seeds.·For·a285 <p>This·adds·a·url·seed·to·the·torrent.·You·can·have·any·number·of·url·seeds.·For·a
286 single·file·torrent,·this·should·be·an·HTTP·url,·pointing·to·a·file·with·identical286 single·file·torrent,·this·should·be·an·HTTP·url,·pointing·to·a·file·with·identical
287 content·as·the·file·of·the·torrent.·For·a·multi-file·torrent,·it·should·point·to287 content·as·the·file·of·the·torrent.·For·a·multi-file·torrent,·it·should·point·to
Offset 318, 21 lines modifiedOffset 318, 21 lines modified
318 </pre>318 </pre>
319 <p>This·function·sets·an·X.509·certificate·in·PEM·format·to·the·torrent.·This·makes·the319 <p>This·function·sets·an·X.509·certificate·in·PEM·format·to·the·torrent.·This·makes·the
320 torrent·an·<em>SSL·torrent</em>.·An·SSL·torrent·requires·that·each·peer·has·a·valid·certificate320 torrent·an·<em>SSL·torrent</em>.·An·SSL·torrent·requires·that·each·peer·has·a·valid·certificate
321 signed·by·this·root·certificate.·For·SSL·torrents,·all·peers·are·connecting·over·SSL321 signed·by·this·root·certificate.·For·SSL·torrents,·all·peers·are·connecting·over·SSL
322 connections.·For·more·information,·see·the·section·on·<a·class="reference·external"·href="manual-ref.html#ssl-torrents">ssl·torrents</a>.</p>322 connections.·For·more·information,·see·the·section·on·<a·class="reference·external"·href="manual-ref.html#ssl-torrents">ssl·torrents</a>.</p>
323 <p>The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the323 <p>The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the
324 certificate.</p>324 certificate.</p>
325 <a·name="set_priv()"></a>325 <a·name="priv()"></a>
326 <a·name="priv()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bset_priv%28%29+priv%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bset_priv%28%29+priv%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>326 <a·name="set_priv()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bpriv%28%29+set_priv%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bpriv%28%29+se[·...·truncated·by·diffoscope;·len:·2,·SHA:·032beb669f27bd2bbc9f02b3546079a3a7ce253bc0fc0ef590cc76f040ec384c·...·]priv%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
327 <div·class="section"·id="set-priv-priv">327 <div·class="section"·id="priv-set-priv">
328 <h2>set_priv()·priv()</h2>328 <h2>priv()·set_priv()</h2>
329 <pre·class="literal-block">329 <pre·class="literal-block">
330 bool·<strong>priv</strong>·()·const; 
331 void·<strong>set_priv</strong>·(bool·p);330 void·<strong>set_priv</strong>·(bool·p);
 331 bool·<strong>priv</strong>·()·const;
332 </pre>332 </pre>
333 <p>Sets·and·queries·the·private·flag·of·the·torrent.333 <p>Sets·and·queries·the·private·flag·of·the·torrent.
334 Torrents·with·the·private·flag·set·ask·the·client·to·not·use·any·other334 Torrents·with·the·private·flag·set·ask·the·client·to·not·use·any·other
335 sources·than·the·tracker·for·peers,·and·to·not·use·DHT·to·advertise·itself·publicly,335 sources·than·the·tracker·for·peers,·and·to·not·use·DHT·to·advertise·itself·publicly,
336 only·the·tracker.</p>336 only·the·tracker.</p>
337 <a·name="num_pieces()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bnum_pieces%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bnum_pieces%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>337 <a·name="num_pieces()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:create_torrent%3A%3A%5Bnum_pieces%28%29%5D&labels=documentation&body=Documentation+under+heading+%22create_torrent%3A%3A%5Bnum_pieces%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
338 <div·class="section"·id="num-pieces">338 <div·class="section"·id="num-pieces">
Offset 372, 27 lines modifiedOffset 372, 27 lines modified
Max diff block lines reached; 6015/17373 bytes (34.62%) of diff not shown.
12.2 KB
html2text {}
    
Offset 1, 33 lines modifiedOffset 1, 33 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_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.a_.d_.d_.__.u_.r_.l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)15 ··········o·_\x8a_\x8d_\x8d_\x8__\x8u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.a_.d_.d_.__.h_.t_.t_.p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)
16 ··········o·_\x8a_\x8d_\x8d_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)16 ··········o·_\x8a_\x8d_\x8d_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)
17 ··········o·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8)17 ··········o·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8)
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·_\x8s_.e_.t_.__.p_.r_.i_.v_.(_.)_.·_\x8p_\x8r_\x8i_\x8v_\x8(_\x8)19 ··········o·_\x8p_.r_.i_.v_.(_.)_.·_.s_.e_.t_.__\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)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_\x8d_\x8d_\x8__\x8s_.i_.m_.i_.l_.a_.r_.__.t_.o_.r_.r_.e_.n_.t_.(_.)_.·_.a_.d_.d_.__.c_.o_.l_.l_.e_.c_.t_.i_.o_.n_\x8(_\x8)26 ··········o·_\x8a_\x8d_\x8d_\x8__\x8c_.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)
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 83, 29 lines modifiedOffset 83, 29 lines modified
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_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);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 ···bool·p\x8pr\x8ri\x8iv\x8v·()·const; 
91 ···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;
92 ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const;92 ···bool·i\x8is\x8s_\x8_v\x8v2\x82_\x8_o\x8on\x8nl\x8ly\x8y·()·const;
93 ···bool·i\x8is\x8s_\x8_v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y·()·const;93 ···bool·i\x8is\x8s_\x8_v\x8v1\x81_\x8_o\x8on\x8nl\x8ly\x8y·()·const;
94 ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const;94 ···int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const;
95 ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;95 ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;
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_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; 
102 ···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;
103 ···void·a.ad.dd.d_._c.co.ol.ll.le.ec.ct.ti.io.on.n·(string_view·c);102 ···int·p.pi.ie.ec.ce.e_._l.le.en.ng.gt.th.h·()·const;
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;
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 entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const;138 entry·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e·()·const;
139 std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·const;139 std::vector<char>·g\x8ge\x8en\x8ne\x8er\x8ra\x8at\x8te\x8e_\x8_b\x8bu\x8uf\x8f·()·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 197, 15 lines modifiedOffset 197, 15 lines modified
197 the·merkle·tree·formed·by·the·piece's·16·kiB·blocks.·Note·that·piece·sizes·must197 the·merkle·tree·formed·by·the·piece's·16·kiB·blocks.·Note·that·piece·sizes·must
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.ht.tt.tp.p_._s.se.ee.ed.d(.().)·a.ad.dd.d_._u.ur.rl.l_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*204 *\x8**\x8**\x8**\x8**\x8*·a\x8ad\x8dd\x8d_\x8_u.ur.rl.l_._s.se.ee.ed.d(.().)·a.ad.dd.d_._h.ht.tt.tp.p_\x8_s\x8se\x8ee\x8ed\x8d(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
205 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);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
210 should·point·to·a·directory·containing·a·directory·with·the·same·name·as·this210 should·point·to·a·directory·containing·a·directory·with·the·same·name·as·this
211 torrent,·and·all·the·files·of·the·torrent·in·it.211 torrent,·and·all·the·files·of·the·torrent·in·it.
Offset 234, 17 lines modifiedOffset 234, 17 lines modified
234 makes·the·torrent·an·S\x8SS\x8SL\x8L·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t.·An·SSL·torrent·requires·that·each·peer·has·a234 makes·the·torrent·an·S\x8SS\x8SL\x8L·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t.·An·SSL·torrent·requires·that·each·peer·has·a
235 valid·certificate·signed·by·this·root·certificate.·For·SSL·torrents,·all·peers235 valid·certificate·signed·by·this·root·certificate.·For·SSL·torrents,·all·peers
236 are·connecting·over·SSL·connections.·For·more·information,·see·the·section·on236 are·connecting·over·SSL·connections.·For·more·information,·see·the·section·on
237 _\x8s_\x8s_\x8l_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s.237 _\x8s_\x8s_\x8l_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s.
238 The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the238 The·string·is·not·the·path·to·the·cert,·it's·the·actual·content·of·the
239 certificate.239 certificate.
240 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]240 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
241 *\x8**\x8**\x8**\x8**\x8*·s.se.et.t_._p.pr.ri.iv.v(.().)·p\x8pr\x8ri\x8iv\x8v(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*241 *\x8**\x8**\x8**\x8**\x8*·p.pr.ri.iv.v(.().)·s.se.et.t_._p\x8pr\x8ri\x8iv\x8v(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
242 bool·p\x8pr\x8ri\x8iv\x8v·()·const; 
243 void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p);242 void·s\x8se\x8et\x8t_\x8_p\x8pr\x8ri\x8iv\x8v·(bool·p);
 243 bool·p\x8pr\x8ri\x8iv\x8v·()·const;
244 Sets·and·queries·the·private·flag·of·the·torrent.·Torrents·with·the·private244 Sets·and·queries·the·private·flag·of·the·torrent.·Torrents·with·the·private
245 flag·set·ask·the·client·to·not·use·any·other·sources·than·the·tracker·for245 flag·set·ask·the·client·to·not·use·any·other·sources·than·the·tracker·for
246 peers,·and·to·not·use·DHT·to·advertise·itself·publicly,·only·the·tracker.246 peers,·and·to·not·use·DHT·to·advertise·itself·publicly,·only·the·tracker.
247 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]247 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
248 *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*248 *\x8**\x8**\x8**\x8**\x8*·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
249 int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const;249 int·n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·()·const;
250 returns·the·number·of·pieces·in·the·associated·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·object.250 returns·the·number·of·pieces·in·the·associated·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e·object.
Offset 263, 23 lines modifiedOffset 263, 23 lines modified
263 delta·from·the·first·piece·in·the·file.·i.e.·the·first·index·is·0.263 delta·from·the·first·piece·in·the·file.·i.e.·the·first·index·is·0.
264 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]264 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
265 *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*265 *\x8**\x8**\x8**\x8**\x8*·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
266 std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const;266 std::int64_t·t\x8to\x8ot\x8ta\x8al\x8l_\x8_s\x8si\x8iz\x8ze\x8e·()·const;
267 the·total·number·of·bytes·of·all·files·and·pad·files267 the·total·number·of·bytes·of·all·files·and·pad·files
268 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]268 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
269 *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h(\x8()\x8)·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*269 *\x8**\x8**\x8**\x8**\x8*·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h(\x8()\x8)·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
270 int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const; 
271 int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const;270 int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·i)·const;
 271 int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_l\x8le\x8en\x8ng\x8gt\x8th\x8h·()·const;
Max diff block lines reached; 3776/12470 bytes (30.28%) of diff not shown.
26.0 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Custom_Storage.html
    
Offset 28, 51 lines modifiedOffset 28, 51 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="#open-file-state"·id="toc-entry-1">open_file_state</a></li>
35 <li><a·class="reference·internal"·href="#disk-observer"·id="toc-entry-1">disk_observer</a><ul>36 <li><a·class="reference·internal"·href="#disk-interface"·id="toc-entry-2">disk_interface</a><ul>
 37 <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-3">new_torrent()</a></li>
 38 <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-4">remove_torrent()</a></li>
 39 <li><a·class="reference·internal"·href="#async-write-async-read"·id="toc-entry-5">async_write()·async_read()</a></li>
36 <li><a·class="reference·internal"·href="#on-disk"·id="toc-entry-2">on_disk()</a></li>40 <li><a·class="reference·internal"·href="#async-hash"·id="toc-entry-6">async_hash()</a></li>
 41 <li><a·class="reference·internal"·href="#async-hash2"·id="toc-entry-7">async_hash2()</a></li>
 42 <li><a·class="reference·internal"·href="#async-move-storage"·id="toc-entry-8">async_move_storage()</a></li>
 43 <li><a·class="reference·internal"·href="#async-release-files"·id="toc-entry-9">async_release_files()</a></li>
 44 <li><a·class="reference·internal"·href="#async-check-files"·id="toc-entry-10">async_check_files()</a></li>
 45 <li><a·class="reference·internal"·href="#async-stop-torrent"·id="toc-entry-11">async_stop_torrent()</a></li>
 46 <li><a·class="reference·internal"·href="#async-rename-file"·id="toc-entry-12">async_rename_file()</a></li>
 47 <li><a·class="reference·internal"·href="#async-delete-files"·id="toc-entry-13">async_delete_files()</a></li>
 48 <li><a·class="reference·internal"·href="#async-set-file-priority"·id="toc-entry-14">async_set_file_priority()</a></li>
 49 <li><a·class="reference·internal"·href="#async-clear-piece"·id="toc-entry-15">async_clear_piece()</a></li>
 50 <li><a·class="reference·internal"·href="#update-stats-counters"·id="toc-entry-16">update_stats_counters()</a></li>
 51 <li><a·class="reference·internal"·href="#get-status"·id="toc-entry-17">get_status()</a></li>
 52 <li><a·class="reference·internal"·href="#abort"·id="toc-entry-18">abort()</a></li>
 53 <li><a·class="reference·internal"·href="#submit-jobs"·id="toc-entry-19">submit_jobs()</a></li>
 54 <li><a·class="reference·internal"·href="#settings-updated"·id="toc-entry-20">settings_updated()</a></li>
37 </ul>55 </ul>
38 </li>56 </li>
39 <li><a·class="reference·internal"·href="#open-file-state"·id="toc-entry-3">open_file_state</a></li>57 <li><a·class="reference·internal"·href="#storage-holder"·id="toc-entry-21">storage_holder</a></li>
 58 <li><a·class="reference·internal"·href="#buffer-allocator-interface"·id="toc-entry-22">buffer_allocator_interface</a></li>
40 <li><a·class="reference·internal"·href="#disk-interface"·id="toc-entry-4">disk_interface</a><ul>59 <li><a·class="reference·internal"·href="#disk-buffer-holder"·id="toc-entry-23">disk_buffer_holder</a><ul>
 60 <li><a·class="reference·internal"·href="#disk-buffer-holder-1"·id="toc-entry-24">disk_buffer_holder()</a></li>
41 <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-5">new_torrent()</a></li>61 <li><a·class="reference·internal"·href="#disk-buffer-holder-2"·id="toc-entry-25">disk_buffer_holder()</a></li>
42 <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-6">remove_torrent()</a></li> 
43 <li><a·class="reference·internal"·href="#async-read-async-write"·id="toc-entry-7">async_read()·async_write()</a></li> 
44 <li><a·class="reference·internal"·href="#async-hash"·id="toc-entry-8">async_hash()</a></li> 
45 <li><a·class="reference·internal"·href="#async-hash2"·id="toc-entry-9">async_hash2()</a></li> 
46 <li><a·class="reference·internal"·href="#async-move-storage"·id="toc-entry-10">async_move_storage()</a></li> 
47 <li><a·class="reference·internal"·href="#async-release-files"·id="toc-entry-11">async_release_files()</a></li> 
48 <li><a·class="reference·internal"·href="#async-check-files"·id="toc-entry-12">async_check_files()</a></li>62 <li><a·class="reference·internal"·href="#disk-buffer-holder-3"·id="toc-entry-26">~disk_buffer_holder()</a></li>
49 <li><a·class="reference·internal"·href="#async-stop-torrent"·id="toc-entry-13">async_stop_torrent()</a></li> 
50 <li><a·class="reference·internal"·href="#async-rename-file"·id="toc-entry-14">async_rename_file()</a></li> 
51 <li><a·class="reference·internal"·href="#async-delete-files"·id="toc-entry-15">async_delete_files()</a></li> 
52 <li><a·class="reference·internal"·href="#async-set-file-priority"·id="toc-entry-16">async_set_file_priority()</a></li> 
53 <li><a·class="reference·internal"·href="#async-clear-piece"·id="toc-entry-17">async_clear_piece()</a></li> 
54 <li><a·class="reference·internal"·href="#update-stats-counters"·id="toc-entry-18">update_stats_counters()</a></li> 
55 <li><a·class="reference·internal"·href="#get-status"·id="toc-entry-19">get_status()</a></li> 
56 <li><a·class="reference·internal"·href="#abort"·id="toc-entry-20">abort()</a></li>63 <li><a·class="reference·internal"·href="#data"·id="toc-entry-27">data()</a></li>
 64 <li><a·class="reference·internal"·href="#reset"·id="toc-entry-28">reset()</a></li>
 65 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-29">swap()</a></li>
 66 <li><a·class="reference·internal"·href="#is-mutable"·id="toc-entry-30">is_mutable()</a></li>
57 <li><a·class="reference·internal"·href="#submit-jobs"·id="toc-entry-21">submit_jobs()</a></li>67 <li><a·class="reference·internal"·href="#bool"·id="toc-entry-31">bool()</a></li>
58 <li><a·class="reference·internal"·href="#settings-updated"·id="toc-entry-22">settings_updated()</a></li> 
59 </ul>68 </ul>
60 </li>69 </li>
61 <li><a·class="reference·internal"·href="#storage-holder"·id="toc-entry-23">storage_holder</a></li> 
62 <li><a·class="reference·internal"·href="#buffer-allocator-interface"·id="toc-entry-24">buffer_allocator_interface</a></li> 
63 <li><a·class="reference·internal"·href="#disk-buffer-holder"·id="toc-entry-25">disk_buffer_holder</a><ul>70 <li><a·class="reference·internal"·href="#disk-observer"·id="toc-entry-32">disk_observer</a><ul>
64 <li><a·class="reference·internal"·href="#disk-buffer-holder-1"·id="toc-entry-26">disk_buffer_holder()</a></li> 
65 <li><a·class="reference·internal"·href="#disk-buffer-holder-2"·id="toc-entry-27">disk_buffer_holder()</a></li> 
66 <li><a·class="reference·internal"·href="#disk-buffer-holder-3"·id="toc-entry-28">~disk_buffer_holder()</a></li> 
67 <li><a·class="reference·internal"·href="#data"·id="toc-entry-29">data()</a></li> 
68 <li><a·class="reference·internal"·href="#reset"·id="toc-entry-30">reset()</a></li> 
69 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-31">swap()</a></li> 
70 <li><a·class="reference·internal"·href="#is-mutable"·id="toc-entry-32">is_mutable()</a></li> 
71 <li><a·class="reference·internal"·href="#bool"·id="toc-entry-33">bool()</a></li>71 <li><a·class="reference·internal"·href="#on-disk"·id="toc-entry-33">on_disk()</a></li>
72 </ul>72 </ul>
73 </li>73 </li>
74 <li><a·class="reference·internal"·href="#settings-interface"·id="toc-entry-34">settings_interface</a></li>74 <li><a·class="reference·internal"·href="#settings-interface"·id="toc-entry-34">settings_interface</a></li>
75 <li><a·class="reference·internal"·href="#file-open-mode-t"·id="toc-entry-35">file_open_mode_t</a></li>75 <li><a·class="reference·internal"·href="#file-open-mode-t"·id="toc-entry-35">file_open_mode_t</a></li>
76 </ul>76 </ul>
77 </div>77 </div>
78 <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings()78 <p>You·have·some·control·over·<a·class="reference·external"·href="reference-Session.html#session">session</a>·configuration·through·the·session::apply_settings()
Offset 82, 34 lines modifiedOffset 82, 15 lines modified
82 to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·when·passed·to·session::apply_settings().·It's·empty·when82 to·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·when·passed·to·session::apply_settings().·It's·empty·when
83 constructed.</p>83 constructed.</p>
84 <p>You·have·control·over·proxy·and·authorization·settings·and·also·the·user-agent84 <p>You·have·control·over·proxy·and·authorization·settings·and·also·the·user-agent
85 that·will·be·sent·to·the·tracker.·The·user-agent·will·also·be·used·to·identify·the85 that·will·be·sent·to·the·tracker.·The·user-agent·will·also·be·used·to·identify·the
86 client·with·other·peers.</p>86 client·with·other·peers.</p>
87 <p>Each·configuration·option·is·named·with·an·enum·value·inside·the87 <p>Each·configuration·option·is·named·with·an·enum·value·inside·the
88 <a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·class.·These·are·the·available·settings:</p>88 <a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>·class.·These·are·the·available·settings:</p>
89 <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"> 
90 <h1>disk_observer</h1> 
91 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/disk_observer.hpp">libtorrent/disk_observer.hpp</a>&quot;</p> 
92 <pre·class="literal-block"> 
93 struct·disk_observer 
94 { 
95 ···virtual·void·<strong>on_disk</strong>·()·=·0; 
96 }; 
97 </pre> 
98 <a·name="on_disk()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:disk_observer%3A%3A%5Bon_disk%28%29%5D&labels=documentation&body=Documentation+under+heading+%22disk_observer%3A%3A%5Bon_disk%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="on-disk"> 
99 <h2>on_disk()</h2> 
100 <pre·class="literal-block"> 
101 virtual·void·<strong>on_disk</strong>·()·=·0; 
102 </pre> 
103 <p>called·when·the·disk·cache·size·has·dropped 
104 below·the·low·watermark·again·and·we·can 
105 resume·downloading·from·peers</p> 
106 <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>89 <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·class="section"·id="open-file-state">
107 </div> 
108 <div·class="section"·id="open-file-state"> 
109 <h1>open_file_state</h1>90 <h1>open_file_state</h1>
110 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/disk_interface.hpp">libtorrent/disk_interface.hpp</a>&quot;</p>91 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/disk_interface.hpp">libtorrent/disk_interface.hpp</a>&quot;</p>
111 <p>this·contains·information·about·a·file·that's·currently·open·by·the92 <p>this·contains·information·about·a·file·that's·currently·open·by·the
112 libtorrent·disk·I/O·subsystem.·It's·associated·with·a·single·torrent.</p>93 libtorrent·disk·I/O·subsystem.·It's·associated·with·a·single·torrent.</p>
113 <pre·class="literal-block">94 <pre·class="literal-block">
114 struct·open_file_state95 struct·open_file_state
115 {96 {
Offset 218, 18 lines modifiedOffset 199, 18 lines modified
218 <h2>remove_torrent()</h2>199 <h2>remove_torrent()</h2>
219 <pre·class="literal-block">200 <pre·class="literal-block">
220 virtual·void·<strong>remove_torrent</strong>·(storage_index_t)·=·0;201 virtual·void·<strong>remove_torrent</strong>·(storage_index_t)·=·0;
221 </pre>202 </pre>
222 <p>remove·the·storage·with·the·specified·index.·This·is·not·expected·to203 <p>remove·the·storage·with·the·specified·index.·This·is·not·expected·to
223 delete·any·files·from·disk,·just·to·clean·up·any·resources·associated204 delete·any·files·from·disk,·just·to·clean·up·any·resources·associated
224 with·the·specified·storage.</p>205 with·the·specified·storage.</p>
225 <a·name="async_read()"></a>206 <a·name="async_write()"></a>
226 <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>207 <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>
227 <div·class="section"·id="async-read-async-write">208 <div·class="section"·id="async-write-async-read">
228 <h2>async_read()·async_write()</h2>209 <h2>async_write()·async_read()</h2>
229 <pre·class="literal-block">210 <pre·class="literal-block">
230 virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&amp;·r211 virtual·bool·<strong>async_write</strong>·(storage_index_t·storage,·peer_request·const&amp;·r
231 ······,·char·const*·buf,·std::shared_ptr&lt;disk_observer&gt;·o212 ······,·char·const*·buf,·std::shared_ptr&lt;disk_observer&gt;·o
232 ······,·std::function&lt;void(storage_error·const&amp;)&gt;·handler213 ······,·std::function&lt;void(storage_error·const&amp;)&gt;·handler
233 ······,·disk_job_flags_t·flags·=·{})·=·0;214 ······,·disk_job_flags_t·flags·=·{})·=·0;
234 virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&amp;·r215 virtual·void·<strong>async_read</strong>·(storage_index_t·storage,·peer_request·const&amp;·r
Max diff block lines reached; 5487/17409 bytes (31.52%) of diff not shown.
8.84 KB
html2text {}
    
Offset 1, 19 lines modifiedOffset 1, 17 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 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r 
7 ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8k_\x8(_\x8) 
8 ····*·_\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e6 ····*·_\x8o_\x8p_\x8e_\x8n_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8e
9 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e7 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
10 ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)8 ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
11 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)9 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
12 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_.e_.a_.d_.(_.)_.·_.a_.s_.y_.n_.c_.__.w_.r_.i_.t_.e_\x8(_\x8)10 ··········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__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)11 ··········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_\x82_\x8(_\x8)12 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x82_\x8(_\x8)
15 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8m_\x8o_\x8v_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8)13 ··········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__\x8r_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)14 ··········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__\x8c_\x8h_\x8e_\x8c_\x8k_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)15 ··········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__\x8s_\x8t_\x8o_\x8p_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)16 ··········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__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)17 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
Offset 32, 14 lines modifiedOffset 30, 16 lines modified
32 ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8)30 ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8)
33 ··········o·_\x8~_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8)31 ··········o·_\x8~_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8)
34 ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)32 ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
35 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8)33 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8)
36 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)34 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)
37 ··········o·_\x8i_\x8s_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8(_\x8)35 ··········o·_\x8i_\x8s_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8(_\x8)
38 ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8)36 ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8)
 37 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r
 38 ··········o·_\x8o_\x8n_\x8__\x8d_\x8i_\x8s_\x8k_\x8(_\x8)
39 ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e39 ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
40 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8p_\x8e_\x8n_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t40 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8p_\x8e_\x8n_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t
41 You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session::41 You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session::
42 apply_settings()·member·function.·To·change·one·or·more·configuration·options,42 apply_settings()·member·function.·To·change·one·or·more·configuration·options,
43 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·pass43 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
44 it·in·to·session::apply_settings().44 it·in·to·session::apply_settings().
45 The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied45 The·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k·object·is·a·collection·of·settings·updates·that·are·applied
Offset 47, 26 lines modifiedOffset 47, 14 lines modified
47 constructed.47 constructed.
48 You·have·control·over·proxy·and·authorization·settings·and·also·the·user-agent48 You·have·control·over·proxy·and·authorization·settings·and·also·the·user-agent
49 that·will·be·sent·to·the·tracker.·The·user-agent·will·also·be·used·to·identify49 that·will·be·sent·to·the·tracker.·The·user-agent·will·also·be·used·to·identify
50 the·client·with·other·peers.50 the·client·with·other·peers.
51 Each·configuration·option·is·named·with·an·enum·value·inside·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k51 Each·configuration·option·is·named·with·an·enum·value·inside·the·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k
52 class.·These·are·the·available·settings:52 class.·These·are·the·available·settings:
53 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]53 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
54 *\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* 
55 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" 
56 struct·disk_observer 
57 { 
58 ···virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sk\x8k·()·=·0; 
59 }; 
60 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
61 *\x8**\x8**\x8**\x8**\x8*·o\x8on\x8n_\x8_d\x8di\x8is\x8sk\x8k(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8* 
62 virtual·void·o\x8on\x8n_\x8_d\x8di\x8is\x8sk\x8k·()·=·0; 
63 called·when·the·disk·cache·size·has·dropped·below·the·low·watermark·again·and 
64 we·can·resume·downloading·from·peers 
65 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
66 *\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*54 *\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*
67 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"55 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"
68 this·contains·information·about·a·file·that's·currently·open·by·the·libtorrent56 this·contains·information·about·a·file·that's·currently·open·by·the·libtorrent
69 disk·I/O·subsystem.·It's·associated·with·a·single·torrent.57 disk·I/O·subsystem.·It's·associated·with·a·single·torrent.
70 struct·open_file_state58 struct·open_file_state
71 {59 {
72 ···file_index_t·file_index;60 ···file_index_t·file_index;
Offset 171, 15 lines modifiedOffset 159, 15 lines modified
171 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]159 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
172 *\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*160 *\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*
173 virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0;161 virtual·void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·(storage_index_t)·=·0;
174 remove·the·storage·with·the·specified·index.·This·is·not·expected·to·delete·any162 remove·the·storage·with·the·specified·index.·This·is·not·expected·to·delete·any
175 files·from·disk,·just·to·clean·up·any·resources·associated·with·the·specified163 files·from·disk,·just·to·clean·up·any·resources·associated·with·the·specified
176 storage.164 storage.
177 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]165 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
178 *\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*166 *\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*
179 virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r167 virtual·bool·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_w\x8wr\x8ri\x8it\x8te\x8e·(storage_index_t·storage,·peer_request·const&·r
180 ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o168 ······,·char·const*·buf,·std::shared_ptr<disk_observer>·o
181 ······,·std::function<void(storage_error·const&)>·handler169 ······,·std::function<void(storage_error·const&)>·handler
182 ······,·disk_job_flags_t·flags·=·{})·=·0;170 ······,·disk_job_flags_t·flags·=·{})·=·0;
183 virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r171 virtual·void·a\x8as\x8sy\x8yn\x8nc\x8c_\x8_r\x8re\x8ea\x8ad\x8d·(storage_index_t·storage,·peer_request·const&·r
184 ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler172 ······,·std::function<void(disk_buffer_holder,·storage_error·const&)>·handler
185 ······,·disk_job_flags_t·flags·=·{})·=·0;173 ······,·disk_job_flags_t·flags·=·{})·=·0;
Offset 373, 16 lines modifiedOffset 361, 16 lines modified
373 a·unique,·owning,·reference·to·the·storage·of·a·torrent·in·a·disk·io·subsystem361 a·unique,·owning,·reference·to·the·storage·of·a·torrent·in·a·disk·io·subsystem
374 (class·that·implements·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e).·This·is·held·by·the·internal·libtorrent362 (class·that·implements·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e).·This·is·held·by·the·internal·libtorrent
375 torrent·object·to·tie·the·storage·object·allocated·for·a·torrent·to·the363 torrent·object·to·tie·the·storage·object·allocated·for·a·torrent·to·the
376 lifetime·of·the·internal·torrent·object.·When·a·torrent·is·removed·from·the364 lifetime·of·the·internal·torrent·object.·When·a·torrent·is·removed·from·the
377 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·this·holder·is·destructed·and·will·inform·the·disk·object.365 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·this·holder·is·destructed·and·will·inform·the·disk·object.
378 struct·storage_holder366 struct·storage_holder
379 {367 {
380 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_index_t·idx,·disk_interface&·disk_io); 
381 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·=·default;368 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·=·default;
 369 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_index_t·idx,·disk_interface&·disk_io);
382 ···~\x8~s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·();370 ···~\x8~s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·();
383 ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const;371 ···explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const;
384 ···operator·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_t\x8t·()·const;372 ···operator·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_t\x8t·()·const;
385 ···void·r\x8re\x8es\x8se\x8et\x8t·();373 ···void·r\x8re\x8es\x8se\x8et\x8t·();
386 ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder·const&)·=·delete;374 ···storage_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(storage_holder·const&)·=·delete;
387 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder·const&)·=·delete;375 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder·const&)·=·delete;
388 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder&&·rhs)·noexcept;376 ···s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(storage_holder&&·rhs)·noexcept;
Offset 403, 16 lines modifiedOffset 391, 16 lines modified
403 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8._\x8h_\x8p_\x8p"391 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8._\x8h_\x8p_\x8p"
404 The·disk·buffer·holder·acts·like·a·unique_ptr·that·frees·a·disk·buffer·when392 The·disk·buffer·holder·acts·like·a·unique_ptr·that·frees·a·disk·buffer·when
405 it's·destructed393 it's·destructed
406 If·this·buffer·holder·is·moved-from,·default·constructed·or·reset,·data()·will394 If·this·buffer·holder·is·moved-from,·default·constructed·or·reset,·data()·will
407 return·nullptr.395 return·nullptr.
408 struct·disk_buffer_holder396 struct·disk_buffer_holder
409 {397 {
410 ···disk_buffer_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(disk_buffer_holder&&)·&·noexcept; 
411 ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(disk_buffer_holder&&)·noexcept;398 ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(disk_buffer_holder&&)·noexcept;
 399 ···disk_buffer_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(disk_buffer_holder&&)·&·noexcept;
412 ···disk_buffer_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(disk_buffer_holder·const&)·=·delete;400 ···disk_buffer_holder&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(disk_buffer_holder·const&)·=·delete;
413 ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(disk_buffer_holder·const&)·=·delete;401 ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(disk_buffer_holder·const&)·=·delete;
414 ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(buffer_allocator_interface&·alloc402 ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·(buffer_allocator_interface&·alloc
415 ······,·char*·buf,·int·sz)·noexcept;403 ······,·char*·buf,·int·sz)·noexcept;
416 ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·noexcept·=·default;404 ···d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·()·noexcept·=·default;
417 ···~\x8~d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·();405 ···~\x8~d\x8di\x8is\x8sk\x8k_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r_\x8_h\x8ho\x8ol\x8ld\x8de\x8er\x8r·();
418 ···char*·d\x8da\x8at\x8ta\x8a·()·const·noexcept;406 ···char*·d\x8da\x8at\x8ta\x8a·()·const·noexcept;
Offset 454, 27 lines modifiedOffset 442, 39 lines modified
454 bool·i\x8is\x8s_\x8_m\x8mu\x8ut\x8ta\x8ab\x8bl\x8le\x8e·()·const·noexcept;442 bool·i\x8is\x8s_\x8_m\x8mu\x8ut\x8ta\x8ab\x8bl\x8le\x8e·()·const·noexcept;
455 if·this·returns·true,·the·buffer·may·not·be·modified·in·place443 if·this·returns·true,·the·buffer·may·not·be·modified·in·place
456 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]444 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
457 *\x8**\x8**\x8**\x8**\x8*·b\x8bo\x8oo\x8ol\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*445 *\x8**\x8**\x8**\x8**\x8*·b\x8bo\x8oo\x8ol\x8l(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
458 explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const·noexcept;446 explicit·operator·b\x8bo\x8oo\x8ol\x8l·()·const·noexcept;
459 implicitly·convertible·to·true·if·the·object·is·currently·holding·a·buffer447 implicitly·convertible·to·true·if·the·object·is·currently·holding·a·buffer
460 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]448 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 449 *\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*
 450 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"
 451 struct·disk_observer
 452 {
Max diff block lines reached; 1137/9033 bytes (12.59%) of diff not shown.
18.9 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-DHT.html
    
Offset 28, 39 lines modifiedOffset 28, 65 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-state"·id="toc-entry-1">dht_state</a></li>
35 <li><a·class="reference·internal"·href="#dht-storage-counters"·id="toc-entry-1">dht_storage_counters</a><ul>36 <li><a·class="reference·internal"·href="#dht-storage-counters"·id="toc-entry-2">dht_storage_counters</a><ul>
36 <li><a·class="reference·internal"·href="#reset"·id="toc-entry-2">reset()</a></li>37 <li><a·class="reference·internal"·href="#reset"·id="toc-entry-3">reset()</a></li>
37 </ul>38 </ul>
38 </li>39 </li>
39 <li><a·class="reference·internal"·href="#dht-storage-interface"·id="toc-entry-3">dht_storage_interface</a><ul>40 <li><a·class="reference·internal"·href="#dht-storage-interface"·id="toc-entry-4">dht_storage_interface</a><ul>
40 <li><a·class="reference·internal"·href="#update-node-ids"·id="toc-entry-4">update_node_ids()</a></li>41 <li><a·class="reference·internal"·href="#update-node-ids"·id="toc-entry-5">update_node_ids()</a></li>
41 <li><a·class="reference·internal"·href="#get-peers"·id="toc-entry-5">get_peers()</a></li>42 <li><a·class="reference·internal"·href="#get-peers"·id="toc-entry-6">get_peers()</a></li>
42 <li><a·class="reference·internal"·href="#announce-peer"·id="toc-entry-6">announce_peer()</a></li>43 <li><a·class="reference·internal"·href="#announce-peer"·id="toc-entry-7">announce_peer()</a></li>
43 <li><a·class="reference·internal"·href="#get-immutable-item"·id="toc-entry-7">get_immutable_item()</a></li>44 <li><a·class="reference·internal"·href="#get-immutable-item"·id="toc-entry-8">get_immutable_item()</a></li>
44 <li><a·class="reference·internal"·href="#put-immutable-item"·id="toc-entry-8">put_immutable_item()</a></li>45 <li><a·class="reference·internal"·href="#put-immutable-item"·id="toc-entry-9">put_immutable_item()</a></li>
45 <li><a·class="reference·internal"·href="#get-mutable-item-seq"·id="toc-entry-9">get_mutable_item_seq()</a></li>46 <li><a·class="reference·internal"·href="#get-mutable-item-seq"·id="toc-entry-10">get_mutable_item_seq()</a></li>
46 <li><a·class="reference·internal"·href="#get-mutable-item"·id="toc-entry-10">get_mutable_item()</a></li>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="#put-mutable-item"·id="toc-entry-11">put_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="#get-infohashes-sample"·id="toc-entry-12">get_infohashes_sample()</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="#tick"·id="toc-entry-13">tick()</a></li>50 <li><a·class="reference·internal"·href="#tick"·id="toc-entry-14">tick()</a></li>
50 <li><a·class="reference·internal"·href="#counters"·id="toc-entry-14">counters()</a></li>51 <li><a·class="reference·internal"·href="#counters"·id="toc-entry-15">counters()</a></li>
51 </ul>52 </ul>
52 </li>53 </li>
53 <li><a·class="reference·internal"·href="#dht-state"·id="toc-entry-15">dht_state</a></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">
 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>
 62 <p>This·structure·helps·to·store·and·load·the·state
 63 of·the·<tt·class="docutils·literal">dht_tracker</tt>.
 64 At·this·moment·the·library·is·only·a·dual·stack
 65 implementation·of·the·DHT.·See·<a·class="reference·external"·href="https://www.bittorrent.org/beps/bep_0032.html">BEP·32</a></p>
 66 <pre·class="literal-block">
 67 struct·dht_state
 68 {
 69 ···void·<strong>clear</strong>·();
  
 70 ···node_ids_t·nids;
 71 ···std::vector&lt;udp::endpoint&gt;·nodes;
 72 ···std::vector&lt;udp::endpoint&gt;·nodes6;
 73 };
 74 </pre>
 75 <a·name="nodes"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_state%3A%3A%5Bnodes%5D&labels=documentation&body=Documentation+under+heading+%22dht_state%3A%3A%5Bnodes%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">
 76 <dt>nodes</dt>
 77 <dd>the·bootstrap·nodes·saved·from·the·buckets·node</dd>
 78 </dl>
 79 <a·name="nodes6"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_state%3A%3A%5Bnodes6%5D&labels=documentation&body=Documentation+under+heading+%22dht_state%3A%3A%5Bnodes6%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">
 80 <dt>nodes6</dt>
 81 <dd>the·bootstrap·nodes·saved·from·the·IPv6·buckets·node</dd>
 82 </dl>
59 <a·name="dht_storage_counters"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+dht_storage_counters&labels=documentation&body=Documentation+under+heading+%22class+dht_storage_counters%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="dht-storage-counters">83 <a·name="dht_storage_counters"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+dht_storage_counters&labels=documentation&body=Documentation+under+heading+%22class+dht_storage_counters%22+could+be+improved">report·issue</a>]</span></div>
 84 <div·class="section"·id="dht-storage-counters">
60 <h1>dht_storage_counters</h1>85 <h1>dht_storage_counters</h1>
61 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/dht_storage.hpp">libtorrent/kademlia/dht_storage.hpp</a>&quot;</p>86 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/dht_storage.hpp">libtorrent/kademlia/dht_storage.hpp</a>&quot;</p>
62 <p>This·structure·hold·the·relevant·<a·class="reference·external"·href="reference-Stats.html#counters">counters</a>·for·the·storage</p>87 <p>This·structure·hold·the·relevant·<a·class="reference·external"·href="reference-Stats.html#counters">counters</a>·for·the·storage</p>
63 <pre·class="literal-block">88 <pre·class="literal-block">
64 struct·dht_storage_counters89 struct·dht_storage_counters
65 {90 {
66 ···void·<strong>reset</strong>·();91 ···void·<strong>reset</strong>·();
Offset 282, 53 lines modifiedOffset 308, 16 lines modified
282 <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>
283 <div·class="section"·id="counters">309 <div·class="section"·id="counters">
284 <h2>counters()</h2>310 <h2>counters()</h2>
285 <pre·class="literal-block">311 <pre·class="literal-block">
286 virtual·dht_storage_counters·<strong>counters</strong>·()·const·=·0;312 virtual·dht_storage_counters·<strong>counters</strong>·()·const·=·0;
287 </pre>313 </pre>
288 <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>
289 <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> 
290 </div> 
291 <div·class="section"·id="dht-state"> 
292 <h1>dht_state</h1> 
293 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/dht_state.hpp">libtorrent/kademlia/dht_state.hpp</a>&quot;</p> 
294 <p>This·structure·helps·to·store·and·load·the·state 
295 of·the·<tt·class="docutils·literal">dht_tracker</tt>. 
296 At·this·moment·the·library·is·only·a·dual·stack 
297 implementation·of·the·DHT.·See·<a·class="reference·external"·href="https://www.bittorrent.org/beps/bep_0032.html">BEP·32</a></p> 
298 <pre·class="literal-block"> 
299 struct·dht_state 
300 { 
301 ···void·<strong>clear</strong>·(); 
  
302 ···node_ids_t·nids; 
303 ···std::vector&lt;udp::endpoint&gt;·nodes; 
304 ···std::vector&lt;udp::endpoint&gt;·nodes6; 
305 }; 
306 </pre> 
307 <a·name="nodes"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_state%3A%3A%5Bnodes%5D&labels=documentation&body=Documentation+under+heading+%22dht_state%3A%3A%5Bnodes%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
308 <dt>nodes</dt> 
309 <dd>the·bootstrap·nodes·saved·from·the·buckets·node</dd> 
310 </dl> 
311 <a·name="nodes6"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:dht_state%3A%3A%5Bnodes6%5D&labels=documentation&body=Documentation+under+heading+%22dht_state%3A%3A%5Bnodes6%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils"> 
312 <dt>nodes6</dt> 
313 <dd>the·bootstrap·nodes·saved·from·the·IPv6·buckets·node</dd> 
314 </dl> 
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·class="section"·id="dht-default-storage-constructor"> 
317 <h1>dht_default_storage_constructor()</h1> 
318 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/kademlia/dht_storage.hpp">libtorrent/kademlia/dht_storage.hpp</a>&quot;</p> 
319 <pre·class="literal-block"> 
320 std::unique_ptr&lt;dht_storage_interface&gt;·<strong>dht_default_storage_constructor</strong>·( 
321 ···settings_interface·const&amp;·settings); 
322 </pre> 
323 <p>constructor·for·the·default·DHT·storage.·The·DHT·storage·is·responsible 
324 for·maintaining·peers·and·mutable·and·immutable·items·announced·and 
325 stored/put·to·the·DHT·node.</p> 
326 <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>
327 <div·class="section"·id="sign-mutable-item">317 <div·class="section"·id="sign-mutable-item">
328 <h1>sign_mutable_item()</h1>318 <h1>sign_mutable_item()</h1>
329 <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>
330 <pre·class="literal-block">320 <pre·class="literal-block">
331 signature·<strong>sign_mutable_item</strong>·(321 signature·<strong>sign_mutable_item</strong>·(
332 ···span&lt;char·const&gt;·v322 ···span&lt;char·const&gt;·v
333 ···,·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
Max diff block lines reached; 1663/12891 bytes (12.90%) of diff not shown.
6.14 KB
html2text {}
    
Offset 1, 31 lines modifiedOffset 1, 50 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 ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e
6 ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s7 ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s
7 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8)8 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8)
8 ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e9 ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
9 ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8__\x8i_\x8d_\x8s_\x8(_\x8)10 ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8__\x8i_\x8d_\x8s_\x8(_\x8)
10 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8)11 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8s_\x8(_\x8)
11 ··········o·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8)12 ··········o·_\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8)
12 ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8m_\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)13 ··········o·_\x8g_\x8e_\x8t_\x8__\x8i_\x8m_\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
13 ··········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)
14 ··········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)
15 ··········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)
16 ··········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)
17 ··········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)
18 ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8)19 ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8)
19 ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8)20 ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8)
20 ····*·_\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e 
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*
 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·this
 28 moment·the·library·is·only·a·dual·stack·implementation·of·the·DHT.·See·_\x8B_\x8E_\x8P_\x8·_\x83_\x82
 29 struct·dht_state
 30 {
 31 ···void·c\x8cl\x8le\x8ea\x8ar\x8r·();
  
 32 ···node_ids_t·nids;
 33 ···std::vector<udp::endpoint>·nodes;
 34 ···std::vector<udp::endpoint>·nodes6;
 35 };
 36 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 37 ··nodes
 38 ······the·bootstrap·nodes·saved·from·the·buckets·node
 39 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 40 ··nodes6
 41 ······the·bootstrap·nodes·saved·from·the·IPv6·buckets·node
 42 [_\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\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*43 *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·*\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_\x8o_\x8r_\x8a_\x8g_\x8e_\x8._\x8h_\x8p_\x8p"44 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"
27 This·structure·hold·the·relevant·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s·for·the·storage45 This·structure·hold·the·relevant·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s·for·the·storage
28 struct·dht_storage_counters46 struct·dht_storage_counters
29 {47 {
30 ···void·r\x8re\x8es\x8se\x8et\x8t·();48 ···void·r\x8re\x8es\x8se\x8et\x8t·();
  
Offset 191, 55 lines modifiedOffset 210, 36 lines modified
191 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
192 storage·cleanup.211 storage·cleanup.
193 [_\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]
194 *\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*
195 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;
196 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
197 [_\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]
198 *\x8**\x8**\x8**\x8**\x8**\x8*·d\x8dh\x8ht\x8t_\x8_s\x8st\x8ta\x8at\x8te\x8e·*\x8**\x8**\x8**\x8**\x8**\x8* 
199 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" 
200 This·structure·helps·to·store·and·load·the·state·of·the·dht_tracker.·At·this 
201 moment·the·library·is·only·a·dual·stack·implementation·of·the·DHT.·See·_\x8B_\x8E_\x8P_\x8·_\x83_\x82 
202 struct·dht_state 
203 { 
204 ···void·c\x8cl\x8le\x8ea\x8ar\x8r·(); 
  
205 ···node_ids_t·nids; 
206 ···std::vector<udp::endpoint>·nodes; 
207 ···std::vector<udp::endpoint>·nodes6; 
208 }; 
209 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
210 ··nodes 
211 ······the·bootstrap·nodes·saved·from·the·buckets·node 
212 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
213 ··nodes6 
214 ······the·bootstrap·nodes·saved·from·the·IPv6·buckets·node 
215 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
216 *\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* 
217 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" 
218 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·( 
219 ···settings_interface·const&·settings); 
220 constructor·for·the·default·DHT·storage.·The·DHT·storage·is·responsible·for 
221 maintaining·peers·and·mutable·and·immutable·items·announced·and·stored/put·to 
222 the·DHT·node. 
223 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
224 *\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*
225 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"
226 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·(
227 ···span<char·const>·v220 ···span<char·const>·v
228 ···,·span<char·const>·salt221 ···,·span<char·const>·salt
229 ···,·sequence_number·seq222 ···,·sequence_number·seq
230 ···,·public_key·const&·pk223 ···,·public_key·const&·pk
231 ···,·secret_key·const&·sk);224 ···,·secret_key·const&·sk);
232 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
233 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
234 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.
235 The·caller·is·responsible·for·allocating·the·destination·buffer·that's·passed228 The·caller·is·responsible·for·allocating·the·destination·buffer·that's·passed
236 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.
237 [_\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]
238 *\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*
239 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"
240 ··seed241 ··seed
241 ······announce·to·DHT·as·a·seed242 ······announce·to·DHT·as·a·seed
242 ··implied_port243 ··implied_port
243 ······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
244 ······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
45.2 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Error_Codes.html
    
Offset 36, 26 lines modifiedOffset 36, 26 lines modified
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="#i2p-category"·id="toc-entry-4">i2p_category()</a></li>40 <li><a·class="reference·internal"·href="#i2p-category"·id="toc-entry-4">i2p_category()</a></li>
41 <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry-5">libtorrent_category()</a></li>41 <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry-5">libtorrent_category()</a></li>
42 <li><a·class="reference·internal"·href="#http-category"·id="toc-entry-6">http_category()</a></li>42 <li><a·class="reference·internal"·href="#http-category"·id="toc-entry-6">http_category()</a></li>
 43 <li><a·class="reference·internal"·href="#bdecode-category"·id="toc-entry-7">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="#socks-category"·id="toc-entry-8">socks_category()</a></li>
44 <li><a·class="reference·internal"·href="#gzip-category"·id="toc-entry-8">gzip_category()</a></li>45 <li><a·class="reference·internal"·href="#gzip-category"·id="toc-entry-9">gzip_category()</a></li>
45 <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-9">pcp_category()</a></li>46 <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-10">pcp_category()</a></li>
46 <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry-10">socks_category()</a></li>47 <li><a·class="reference·internal"·href="#upnp-category"·id="toc-entry-11">upnp_category()</a></li>
47 <li><a·class="reference·internal"·href="#bdecode-category"·id="toc-entry-11">bdecode_category()</a></li> 
48 <li><a·class="reference·internal"·href="#enum-i2p-error-code"·id="toc-entry-12">enum·i2p_error_code</a></li>48 <li><a·class="reference·internal"·href="#enum-i2p-error-code"·id="toc-entry-12">enum·i2p_error_code</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-http-errors"·id="toc-entry-14">enum·http_errors</a></li>50 <li><a·class="reference·internal"·href="#enum-http-errors"·id="toc-entry-14">enum·http_errors</a></li>
51 <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-15">enum·error_code_enum</a></li>51 <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-15">enum·error_code_enum</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-pcp-errors"·id="toc-entry-17">enum·pcp_errors</a></li> 
54 <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-18">enum·socks_error_code</a></li>52 <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-16">enum·socks_error_code</a></li>
 53 <li><a·class="reference·internal"·href="#enum-error-code-enum-2"·id="toc-entry-17">enum·error_code_enum</a></li>
 54 <li><a·class="reference·internal"·href="#enum-pcp-errors"·id="toc-entry-18">enum·pcp_errors</a></li>
55 <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-19">enum·error_code_enum</a></li>55 <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-19">enum·error_code_enum</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>
61 <p>used·by·storage·to·return·errors61 <p>used·by·storage·to·return·errors
Offset 120, 22 lines modifiedOffset 120, 29 lines modified
120 <div·class="section"·id="http-category">120 <div·class="section"·id="http-category">
121 <h1>http_category()</h1>121 <h1>http_category()</h1>
122 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>&quot;</p>122 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/error_code.hpp">libtorrent/error_code.hpp</a>&quot;</p>
123 <pre·class="literal-block">123 <pre·class="literal-block">
124 boost::system::error_category&amp;·<strong>http_category</strong>·();124 boost::system::error_category&amp;·<strong>http_category</strong>·();
125 </pre>125 </pre>
126 <p>returns·the·error_category·for·HTTP·errors</p>126 <p>returns·the·error_category·for·HTTP·errors</p>
127 <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>127 <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>
128 <div·class="section"·id="upnp-category">128 <div·class="section"·id="bdecode-category">
129 <h1>upnp_category()</h1>129 <h1>bdecode_category()</h1>
130 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/upnp.hpp">libtorrent/upnp.hpp</a>&quot;</p>130 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>&quot;</p>
131 <pre·class="literal-block">131 <pre·class="literal-block">
132 boost::system::error_category&amp;·<strong>upnp_category</strong>·();132 boost::system::error_category&amp;·<strong>bdecode_category</strong>·();
133 </pre>133 </pre>
134 <p>the·boost.system·error·category·for·UPnP·errors</p>134 <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·iss[·...·truncated·by·diffoscope;·len:·19,·SHA:·b22a9cfa10c1072ebb80bbe5d989b356079121057e840c4f6409fdebffa07e45·...·]>
 135 <div·class="section"·id="socks-category">
 136 <h1>socks_category()</h1>
 137 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/socks5_stream.hpp">libtorrent/socks5_stream.hpp</a>&quot;</p>
 138 <pre·class="literal-block">
 139 boost::system::error_category&amp;·<strong>socks_category</strong>·();
 140 </pre>
 141 <p>returns·the·error_category·for·SOCKS5·errors</p>
135 <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>142 <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>
136 <div·class="section"·id="gzip-category">143 <div·class="section"·id="gzip-category">
137 <h1>gzip_category()</h1>144 <h1>gzip_category()</h1>
138 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/gzip.hpp">libtorrent/gzip.hpp</a>&quot;</p>145 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/gzip.hpp">libtorrent/gzip.hpp</a>&quot;</p>
139 <pre·class="literal-block">146 <pre·class="literal-block">
140 boost::system::error_category&amp;·<strong>gzip_category</strong>·();147 boost::system::error_category&amp;·<strong>gzip_category</strong>·();
141 </pre>148 </pre>
Offset 143, 29 lines modifiedOffset 150, 22 lines modified
143 <a·name="pcp_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:pcp_category%28%29&labels=documentation&body=Documentation+under+heading+%22pcp_category%28%29%22+could+be+improved">report·issue</a>]</span></div>150 <a·name="pcp_category()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:pcp_category%28%29&labels=documentation&body=Documentation+under+heading+%22pcp_category%28%29%22+could+be+improved">report·issue</a>]</span></div>
144 <div·class="section"·id="pcp-category">151 <div·class="section"·id="pcp-category">
145 <h1>pcp_category()</h1>152 <h1>pcp_category()</h1>
146 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/natpmp.hpp">libtorrent/natpmp.hpp</a>&quot;</p>153 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/natpmp.hpp">libtorrent/natpmp.hpp</a>&quot;</p>
147 <pre·class="literal-block">154 <pre·class="literal-block">
148 boost::system::error_category&amp;·<strong>pcp_category</strong>·();155 boost::system::error_category&amp;·<strong>pcp_category</strong>·();
149 </pre>156 </pre>
150 <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>157 <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>
151 <div·class="section"·id="socks-category">158 <div·class="section"·id="upnp-category">
152 <h1>socks_category()</h1>159 <h1>upnp_category()</h1>
153 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/socks5_stream.hpp">libtorrent/socks5_stream.hpp</a>&quot;</p> 
154 <pre·class="literal-block"> 
155 boost::system::error_category&amp;·<strong>socks_category</strong>·(); 
156 </pre> 
157 <p>returns·the·error_category·for·SOCKS5·errors</p> 
158 <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> 
159 <div·class="section"·id="bdecode-category"> 
160 <h1>bdecode_category()</h1> 
161 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>&quot;</p>160 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/upnp.hpp">libtorrent/upnp.hpp</a>&quot;</p>
162 <pre·class="literal-block">161 <pre·class="literal-block">
163 boost::system::error_category&amp;·<strong>bdecode_category</strong>·();162 boost::system::error_category&amp;·<strong>upnp_category</strong>·();
164 </pre>163 </pre>
 164 <p>the·boost.system·error·category·for·UPnP·errors</p>
165 <a·name="i2p_error_code"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+i2p_error_code&labels=documentation&body=Documentation+under+heading+%22enum+i2p_error_code%22+could+be+improved">report·issue</a>]</span></div>165 <a·name="i2p_error_code"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+i2p_error_code&labels=documentation&body=Documentation+under+heading+%22enum+i2p_error_code%22+could+be+improved">report·issue</a>]</span></div>
166 <div·class="section"·id="enum-i2p-error-code">166 <div·class="section"·id="enum-i2p-error-code">
167 <h1>enum·i2p_error_code</h1>167 <h1>enum·i2p_error_code</h1>
168 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/i2p_stream.hpp">libtorrent/i2p_stream.hpp</a>&quot;</p>168 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/i2p_stream.hpp">libtorrent/i2p_stream.hpp</a>&quot;</p>
169 <table·border="1"·class="docutils">169 <table·border="1"·class="docutils">
170 <colgroup>170 <colgroup>
171 <col·width="46%"·/>171 <col·width="46%"·/>
Offset 1049, 77 lines modifiedOffset 1049, 126 lines modified
1049 <td>&nbsp;</td>1049 <td>&nbsp;</td>
1050 </tr>1050 </tr>
1051 </tbody>1051 </tbody>
1052 </table>1052 </table>
1053 <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>1053 <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>
1054 <div·class="section"·id="enum-error-code-enum-1">1054 <div·class="section"·id="enum-error-code-enum-1">
1055 <h1>enum·error_code_enum</h1>1055 <h1>enum·error_code_enum</h1>
1056 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/upnp.hpp">libtorrent/upnp.hpp</a>&quot;</p>1056 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/bdecode.hpp">libtorrent/bdecode.hpp</a>&quot;</p>
1057 <table·border="1"·class="docutils">1057 <table·border="1"·class="docutils">
1058 <colgroup>1058 <colgroup>
 1059 <col·width="18%"·/>
1059 <col·width="37%"·/>1060 <col·width="8%"·/>
1060 <col·width="7%"·/>1061 <col·width="74%"·/>
1061 <col·width="56%"·/> 
1062 </colgroup>1062 </colgroup>
1063 <thead·valign="bottom">1063 <thead·valign="bottom">
1064 <tr><th·class="head">name</th>1064 <tr><th·class="head">name</th>
1065 <th·class="head">value</th>1065 <th·class="head">value</th>
1066 <th·class="head">description</th>1066 <th·class="head">description</th>
1067 </tr>1067 </tr>
1068 </thead>1068 </thead>
1069 <tbody·valign="top">1069 <tbody·valign="top">
1070 <tr><td>no_error</td>1070 <tr><td>no_error</td>
1071 <td>0</td>1071 <td>0</td>
1072 <td>No·error</td>1072 <td>Not·an·error</td>
1073 </tr>1073 </tr>
1074 <tr><td>invalid_argument</td>1074 <tr><td>expected_digit</td>
1075 <td>402</td>1075 <td>1</td>
1076 <td>One·of·the·arguments·in·the·request·is·invalid</td>1076 <td>expected·digit·in·bencoded·string</td>
1077 </tr>1077 </tr>
1078 <tr><td>action_failed</td>1078 <tr><td>expected_colon</td>
1079 <td>501</td>1079 <td>2</td>
1080 <td>The·request·failed</td>1080 <td>expected·colon·in·bencoded·string</td>
1081 </tr>1081 </tr>
1082 <tr><td>value_not_in_array</td>1082 <tr><td>unexpected_eof</td>
1083 <td>714</td>1083 <td>3</td>
Max diff block lines reached; 8601/19292 bytes (44.58%) of diff not shown.
26.2 KB
html2text {}
    
Offset 5, 26 lines modifiedOffset 5, 26 lines modified
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 ····*·_\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)9 ····*·_\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
10 ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)10 ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
11 ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)11 ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
 12 ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
12 ····*·_\x8u_.p_.n_.p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)13 ····*·_\x8s_.o_.c_.k_.s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
13 ····*·_\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)14 ····*·_\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
14 ····*·_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)15 ····*·_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
15 ····*·_\x8s_.o_.c_.k_.s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)16 ····*·_\x8u_.p_.n_.p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
16 ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) 
17 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e17 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e
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·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s19 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s
20 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m20 ····*·_\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·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e
21 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m22 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m
22 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s23 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s
23 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e 
24 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m24 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m
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
30 struct·storage_error30 struct·storage_error
Offset 66, 36 lines modifiedOffset 66, 36 lines modified
66 error·codes·to·human·readable·error·messages.66 error·codes·to·human·readable·error·messages.
67 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]67 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
68 *\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*68 *\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*
69 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"69 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"
70 boost::system::error_category&·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();70 boost::system::error_category&·h\x8ht\x8tt\x8tp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
71 returns·the·error_category·for·HTTP·errors71 returns·the·error_category·for·HTTP·errors
72 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]72 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 73 *\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*
 74 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8._\x8h_\x8p_\x8p"
 75 boost::system::error_category&·b\x8bd\x8de\x8ec\x8co\x8od\x8de\x8e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
 76 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
73 *\x8**\x8**\x8**\x8**\x8**\x8*·u.up.pn.np.p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*77 *\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*
74 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8u_.p_.n_.p_\x8._\x8h_\x8p_\x8p"78 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"
75 boost::system::error_category&·u.up.pn.np.p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();79 boost::system::error_category&·s.so.oc.ck.ks.s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
76 the·boost.system·error·category·for·UPnP·errors80 returns·the·error_category·for·SOCKS5·errors
77 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]81 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
78 *\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*82 *\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*
79 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_\x8z_\x8i_\x8p_\x8._\x8h_\x8p_\x8p"83 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8g_\x8z_\x8i_\x8p_\x8._\x8h_\x8p_\x8p"
80 boost::system::error_category&·g\x8gz\x8zi\x8ip\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();84 boost::system::error_category&·g\x8gz\x8zi\x8ip\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
81 get·the·error_category·for·zip·errors85 get·the·error_category·for·zip·errors
82 [_\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]
83 *\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*87 *\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*
84 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8n_\x8a_\x8t_\x8p_\x8m_\x8p_\x8._\x8h_\x8p_\x8p"88 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8n_\x8a_\x8t_\x8p_\x8m_\x8p_\x8._\x8h_\x8p_\x8p"
85 boost::system::error_category&·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();89 boost::system::error_category&·p\x8pc\x8cp\x8p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
86 [_\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]
87 *\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*91 *\x8**\x8**\x8**\x8**\x8**\x8*·u.up.pn.np.p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
88 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" 
89 boost::system::error_category&·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·(); 
90 returns·the·error_category·for·SOCKS5·errors 
91 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e] 
92 *\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* 
93 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_.d_.e_.c_.o_.d_.e_\x8._\x8h_\x8p_\x8p"92 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8u_.p_.n_.p_\x8._\x8h_\x8p_\x8p"
94 boost::system::error_category&·b.bd.de.ec.co.od.de.e_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();93 boost::system::error_category&·u.up.pn.np.p_\x8_c\x8ca\x8at\x8te\x8eg\x8go\x8or\x8ry\x8y·();
 94 the·boost.system·error·category·for·UPnP·errors
95 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]95 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
96 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·i\x8i2\x82p\x8p_\x8_e\x8er\x8rr\x8ro\x8or\x8r_\x8_c\x8co\x8od\x8de\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*96 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·i\x8i2\x82p\x8p_\x8_e\x8er\x8rr\x8ro\x8or\x8r_\x8_c\x8co\x8od\x8de\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
97 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"97 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"
98 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·98 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·
99 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\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|99 |_\x8n\x8n_\x8a\x8a_\x8m\x8m_\x8e\x8e_\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|
100 |_\x8n_\x8o_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x80_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|100 |_\x8n_\x8o_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x80_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
101 |_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|101 |_\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8·_\x8·_\x8·_\x8|_\x81_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
Offset 506, 41 lines modifiedOffset 506, 43 lines modified
506 |_\x8n_\x8o_\x8t_\x8__\x8f_\x8o_\x8u_\x8n_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x80_\x84_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|506 |_\x8n_\x8o_\x8t_\x8__\x8f_\x8o_\x8u_\x8n_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x80_\x84_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
507 |_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8__\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8|_\x85_\x80_\x80_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|507 |_\x8i_\x8n_\x8t_\x8e_\x8r_\x8n_\x8a_\x8l_\x8__\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8|_\x85_\x80_\x80_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
508 |_\x8n_\x8o_\x8t_\x8__\x8i_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x80_\x81_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|508 |_\x8n_\x8o_\x8t_\x8__\x8i_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x80_\x81_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
509 |_\x8b_\x8a_\x8d_\x8__\x8g_\x8a_\x8t_\x8e_\x8w_\x8a_\x8y_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x80_\x82_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|509 |_\x8b_\x8a_\x8d_\x8__\x8g_\x8a_\x8t_\x8e_\x8w_\x8a_\x8y_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x80_\x82_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
510 |_\x8s_\x8e_\x8r_\x8v_\x8i_\x8c_\x8e_\x8__\x8u_\x8n_\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8l_\x8e_\x8·_\x8·_\x8|_\x85_\x80_\x83_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|510 |_\x8s_\x8e_\x8r_\x8v_\x8i_\x8c_\x8e_\x8__\x8u_\x8n_\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8l_\x8e_\x8·_\x8·_\x8|_\x85_\x80_\x83_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
511 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]511 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
512 *\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*512 *\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*
513 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8u_.p_.n_.p_\x8._\x8h_\x8p_\x8p"513 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8b_.d_.e_.c_.o_.d_.e_\x8._\x8h_\x8p_\x8p"
514 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_.·_.·514 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\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 |_\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·|
 516 |_\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·|
 517 |_\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·|
 518 |_\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·|
 519 |_\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·|
 520 |expected_value|4····|expected·value·(list,·dict,·_\x8i_\x8n_\x8t·or·string)·in·bencoded|
 521 |_\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·|
 522 |_\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·|
 523 |_\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·|
 524 |_\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·|
 525 |_\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·|
 526 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 527 *\x8**\x8**\x8**\x8**\x8**\x8*·e\x8en\x8nu\x8um\x8m·s\x8so\x8oc\x8ck\x8ks\x8s_\x8_e\x8er\x8rr\x8ro\x8or\x8r_\x8_c\x8co\x8od\x8de\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
 528 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"
 529 ·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\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 |_\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|_\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_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·|530 |_\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|_\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|
516 |_\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|_\x80_\x8·_\x8·_\x8·_\x8·_\x8|_\x8N_.o_.·_.e_.r_.r_.o_.r_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|531 |_\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|_\x80_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
517 |invalid_argument··················|402··|One·of·the·arguments·in·the·request·|532 |_.u_.n_.s_.u_.p_.p_.o_.r_.t_.e_.d_.__.v_.e_.r_.s_.i_.o_.n_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.|_.1_.·_.·_.·_.·_.|_. _.·_.·_.·_.·_.·_.·_.·_.·_.·_.·|
 533 |_\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·|
 534 |_\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__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8|_\x83_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 535 |_\x8a_\x8u_\x8t_\x8h_\x8e_\x8n_\x8t_\x8i_\x8c_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x84_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 536 |_\x8u_\x8s_\x8e_\x8r_\x8n_\x8a_\x8m_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8i_\x8r_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 537 |_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8l_\x8__\x8f_\x8a_\x8i_\x8l_\x8u_\x8r_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x86_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 538 |_\x8c_\x8o_\x8m_\x8m_\x8a_\x8n_\x8d_\x8__\x8n_\x8o_\x8t_\x8__\x8s_\x8u_\x8p_\x8p_\x8o_\x8r_\x8t_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x87_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
518 |_\x8·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.|_.·_.·_.·_.·_.·_.|_.i_.s_.·_.i_.n_.v_.a_.l_.i_.d_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|539 |_\x8n_.o_.__.i_.d_.e_.n_.t_.d_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.·_.|_.8_.·_.·_.·_.·_.|_. _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 540 |_\x8i_\x8d_\x8e_\x8n_\x8t_\x8d_\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|_\x89_\x8·_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 541 |_\x8n_\x8u_\x8m_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\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|_\x81_\x80_\x8·_\x8·_\x8·_\x8|_\x8 _\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
519 |_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x85_\x80_\x81_\x8·_\x8·_\x8|_\x8T_\x8h_\x8e_\x8·_\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8·_\x8f_\x8a_\x8i_\x8l_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
520 |value_not_in_array················|714··|The·specified·value·does·not·exist··| 
521 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\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_\x8·_\x8t_\x8h_\x8e_\x8·_\x8a_\x8r_\x8r_\x8a_\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·| 
522 |··································|·····|The·source·IP·address·cannot·be·····| 
523 |source_ip_cannot_be_wildcarded····|715··|wild-carded,·but·must·be·fully······| 
524 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8s_\x8p_\x8e_\x8c_\x8i_\x8f_\x8i_\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·| 
525 |external_port_cannot_be_wildcarded|716··|The·external·port·cannot·be·a·······| 
526 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8w_\x8i_\x8l_\x8d_\x8c_\x8a_\x8r_\x8d_\x8,_\x8·_\x8b_\x8u_\x8t_\x8·_\x8m_\x8u_\x8s_\x8t_\x8·_\x8b_\x8e_\x8·_\x8s_\x8p_\x8e_\x8c_\x8i_\x8f_\x8i_\x8e_\x8d_\x8·_\x8·_\x8·_\x8·_\x8·| 
527 |··································|·····|The·port·mapping·_\x8e_\x8n_\x8t_\x8r_\x8y·specified····| 
528 |port_mapping_conflict·············|718··|conflicts·with·a·mapping·assigned···| 
529 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8p_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s_\x8l_\x8y_\x8·_\x8t_\x8o_\x8·_\x8a_\x8n_\x8o_\x8t_\x8h_\x8e_\x8r_\x8·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
530 |internal_port_must_match_external·|724··|Internal·and·external·port·value····| 
531 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8m_\x8u_\x8s_\x8t_\x8·_\x8b_\x8e_\x8·_\x8t_\x8h_\x8e_\x8·_\x8s_\x8a_\x8m_\x8e_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·| 
532 |··································|·····|The·NAT·implementation·only·supports| 
533 |only_permanent_leases_supported···|725··|permanent·lease·times·on·port·······| 
534 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\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·| 
535 |··································|·····|RemoteHost·must·be·a·wildcard·and···| 
536 |remote_host_must_be_wildcard······|726··|cannot·be·a·specific·IP·address·or··| 
537 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8D_\x8N_\x8S_\x8·_\x8n_\x8a_\x8m_\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·| 
538 |external_port_must_be_wildcard····|727··|ExternalPort·must·be·a·wildcard·and·| 
Max diff block lines reached; 11511/26852 bytes (42.87%) of diff not shown.
4.16 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 ···ip_filter&amp;·<strong>operator=</strong>·(ip_filter·const&amp;);
63 ···<strong>ip_filter</strong>·(ip_filter&amp;&amp;);64 ···<strong>ip_filter</strong>·(ip_filter&amp;&amp;);
64 ···<strong>~ip_filter</strong>·();65 ···<strong>~ip_filter</strong>·();
65 ···ip_filter&amp;·<strong>operator=</strong>·(ip_filter·const&amp;); 
66 ···<strong>ip_filter</strong>·(ip_filter·const&amp;); 
67 ···<strong>ip_filter</strong>·(); 
68 ···ip_filter&amp;·<strong>operator=</strong>·(ip_filter&amp;&amp;);66 ···ip_filter&amp;·<strong>operator=</strong>·(ip_filter&amp;&amp;);
 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 155, 18 lines modifiedOffset 155, 18 lines modified
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;);160 ···<strong>port_filter</strong>·(port_filter&amp;&amp;);
161 ···<strong>port_filter</strong>·(port_filter·const&amp;);161 ···<strong>port_filter</strong>·(port_filter·const&amp;);
162 ···<strong>port_filter</strong>·(); 
163 ···port_filter&amp;·<strong>operator=</strong>·(port_filter&amp;&amp;); 
164 ···port_filter&amp;·<strong>operator=</strong>·(port_filter·const&amp;);162 ···port_filter&amp;·<strong>operator=</strong>·(port_filter·const&amp;);
 163 ···port_filter&amp;·<strong>operator=</strong>·(port_filter&amp;&amp;);
165 ···<strong>~port_filter</strong>·();164 ···<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,
171 ···};171 ···};
2.04 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 ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&);
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 ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();28 ···~\x8~i\x8ip\x8p_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();
28 ···ip_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(ip_filter·const&); 
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 ···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&&);
 30 ···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 83, 18 lines modifiedOffset 83, 18 lines modified
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&&);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&);89 ···p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·(port_filter·const&);
90 ···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 ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&);90 ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter·const&);
 91 ···port_filter&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(port_filter&&);
93 ···~\x8~p\x8po\x8or\x8rt\x8t_\x8_f\x8fi\x8il\x8lt\x8te\x8er\x8r·();92 ···~\x8~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 ···{
99 ······blocked,99 ······blocked,
8.41 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-PeerClass.html
    
Offset 29, 15 lines modifiedOffset 29, 15 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="#peer-class-type-filter"·id="toc-entry-1">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>
36 <li><a·class="reference·internal"·href="#add-remove"·id="toc-entry-2">add()·remove()</a></li>36 <li><a·class="reference·internal"·href="#remove-add"·id="toc-entry-2">remove()·add()</a></li>
37 <li><a·class="reference·internal"·href="#disallow-allow"·id="toc-entry-3">disallow()·allow()</a></li>37 <li><a·class="reference·internal"·href="#disallow-allow"·id="toc-entry-3">disallow()·allow()</a></li>
38 <li><a·class="reference·internal"·href="#apply"·id="toc-entry-4">apply()</a></li>38 <li><a·class="reference·internal"·href="#apply"·id="toc-entry-4">apply()</a></li>
39 <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-5">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>
40 </ul>40 </ul>
41 </li>41 </li>
42 <li><a·class="reference·internal"·href="#peer-class-info"·id="toc-entry-6">peer_class_info</a></li>42 <li><a·class="reference·internal"·href="#peer-class-info"·id="toc-entry-6">peer_class_info</a></li>
43 </ul>43 </ul>
Offset 47, 18 lines modifiedOffset 47, 18 lines modified
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>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>
48 <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
49 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
50 is·based·on·the·peer's·IP·address).</p>50 is·based·on·the·peer's·IP·address).</p>
51 <pre·class="literal-block">51 <pre·class="literal-block">
52 struct·peer_class_type_filter52 struct·peer_class_type_filter
53 {53 {
54 ···void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); 
55 ···void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);54 ···void·<strong>remove</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);
56 ···void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);55 ···void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);
57 ···void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);56 ···void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);
 57 ···void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);
58 ···std::uint32_t·<strong>apply</strong>·(socket_type_t·const·st,·std::uint32_t·peer_class_mask);58 ···std::uint32_t·<strong>apply</strong>·(socket_type_t·const·st,·std::uint32_t·peer_class_mask);
59 ···friend·bool·<strong>operator==</strong>·(peer_class_type_filter·const&amp;·lhs59 ···friend·bool·<strong>operator==</strong>·(peer_class_type_filter·const&amp;·lhs
60 ······,·peer_class_type_filter·const&amp;·rhs);60 ······,·peer_class_type_filter·const&amp;·rhs);
  
61 ···enum·socket_type_t61 ···enum·socket_type_t
62 ···{62 ···{
63 ······tcp_socket,63 ······tcp_socket,
Offset 66, 30 lines modifiedOffset 66, 30 lines modified
66 ······ssl_tcp_socket,66 ······ssl_tcp_socket,
67 ······ssl_utp_socket,67 ······ssl_utp_socket,
68 ······i2p_socket,68 ······i2p_socket,
69 ······num_socket_types,69 ······num_socket_types,
70 ···};70 ···};
71 };71 };
72 </pre>72 </pre>
73 <a·name="add()"></a>73 <a·name="remove()"></a>
74 <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·...·]">
75 <h2>add()·remove()</h2>75 <h2>remove()·add()</h2>
76 <pre·class="literal-block">76 <pre·class="literal-block">
77 void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); 
78 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);
 78 void·<strong>add</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);
79 </pre>79 </pre>
80 <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
81 to·new·peers·based·on·socket·type.</p>81 to·new·peers·based·on·socket·type.</p>
82 <a·name="disallow()"></a>82 <a·name="disallow()"></a>
83 <a·name="allow()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bdisallow%28%29+allow%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bdisallow%28%29+allow%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>83 <a·name="allow()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bdisallow%28%29+allow%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bdisallow%28%29+allow%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
84 <div·class="section"·id="disallow-allow">84 <div·class="section"·id="disallow-allow">
85 <h2>disallow()·allow()</h2>85 <h2>disallow()·allow()</h2>
86 <pre·class="literal-block">86 <pre·class="literal-block">
87 void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class); 
88 void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);87 void·<strong>disallow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);
 88 void·<strong>allow</strong>·(socket_type_t·const·st,·peer_class_t·const·peer_class);
89 </pre>89 </pre>
90 <p><tt·class="docutils·literal">disallow()</tt>·and·<tt·class="docutils·literal">allow()</tt>·adds·and·removes·a·peer·class·to·be90 <p><tt·class="docutils·literal">disallow()</tt>·and·<tt·class="docutils·literal">allow()</tt>·adds·and·removes·a·peer·class·to·be
91 removed·from·new·peers·based·on·socket·type.</p>91 removed·from·new·peers·based·on·socket·type.</p>
92 <p>The·<tt·class="docutils·literal">peer_class</tt>·argument·cannot·be·greater·than·31.·The·bitmasks·representing92 <p>The·<tt·class="docutils·literal">peer_class</tt>·argument·cannot·be·greater·than·31.·The·bitmasks·representing
93 peer·classes·in·the·<tt·class="docutils·literal">peer_class_type_filter</tt>·are·32·bits.</p>93 peer·classes·in·the·<tt·class="docutils·literal">peer_class_type_filter</tt>·are·32·bits.</p>
94 <a·name="apply()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bapply%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bapply%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>94 <a·name="apply()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_class_type_filter%3A%3A%5Bapply%28%29%5D&labels=documentation&body=Documentation+under+heading+%22peer_class_type_filter%3A%3A%5Bapply%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
95 <div·class="section"·id="apply">95 <div·class="section"·id="apply">
3.21 KB
html2text {}
    
Offset 1, 30 lines modifiedOffset 1, 30 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__\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
7 ··········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)
8 ··········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)
9 ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8)9 ··········o·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8(_\x8)
10 ··········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_\x8o11 ····*·_\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]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_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*
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"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"
15 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
16 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
17 is·applied·(which·is·based·on·the·peer's·IP·address).17 is·applied·(which·is·based·on·the·peer's·IP·address).
18 struct·peer_class_type_filter18 struct·peer_class_type_filter
19 {19 {
20 ···void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); 
21 ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class);20 ···void·r\x8re\x8em\x8mo\x8ov\x8ve\x8e·(socket_type_t·const·st,·peer_class_t·const·peer_class);
22 ···void·a\x8al.ll.lo.ow.w·(socket_type_t·const·st,·peer_class_t·const·peer_class);21 ···void·a\x8ad.dd.d·(socket_type_t·const·st,·peer_class_t·const·peer_class);
23 ···void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class);22 ···void·d\x8di\x8is\x8sa\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class);
 23 ···void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class);
24 ···std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask);24 ···std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask);
25 ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_class_type_filter·const&·lhs25 ···friend·bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_class_type_filter·const&·lhs
26 ······,·peer_class_type_filter·const&·rhs);26 ······,·peer_class_type_filter·const&·rhs);
  
27 ···enum·socket_type_t27 ···enum·socket_type_t
28 ···{28 ···{
29 ······tcp_socket,29 ······tcp_socket,
Offset 32, 23 lines modifiedOffset 32, 23 lines modified
32 ······ssl_tcp_socket,32 ······ssl_tcp_socket,
33 ······ssl_utp_socket,33 ······ssl_utp_socket,
34 ······i2p_socket,34 ······i2p_socket,
35 ······num_socket_types,35 ······num_socket_types,
36 ···};36 ···};
37 };37 };
38 [_\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]
39 *\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*
40 void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class); 
41 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);
 41 void·a\x8ad\x8dd\x8d·(socket_type_t·const·st,·peer_class_t·const·peer_class);
42 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
43 on·socket·type.43 on·socket·type.
44 [_\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]
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*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*
46 void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class); 
47 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);
 47 void·a\x8al\x8ll\x8lo\x8ow\x8w·(socket_type_t·const·st,·peer_class_t·const·peer_class);
48 disallow()·and·allow()·adds·and·removes·a·peer·class·to·be·removed·from·new48 disallow()·and·allow()·adds·and·removes·a·peer·class·to·be·removed·from·new
49 peers·based·on·socket·type.49 peers·based·on·socket·type.
50 The·peer_class·argument·cannot·be·greater·than·31.·The·bitmasks·representing50 The·peer_class·argument·cannot·be·greater·than·31.·The·bitmasks·representing
51 peer·classes·in·the·peer_class_type_filter·are·32·bits.51 peer·classes·in·the·peer_class_type_filter·are·32·bits.
52 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]52 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
53 *\x8**\x8**\x8**\x8**\x8*·a\x8ap\x8pp\x8pl\x8ly\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*53 *\x8**\x8**\x8**\x8**\x8*·a\x8ap\x8pp\x8pl\x8ly\x8y(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
54 std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask);54 std::uint32_t·a\x8ap\x8pp\x8pl\x8ly\x8y·(socket_type_t·const·st,·std::uint32_t·peer_class_mask);
71.2 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Plugins.html
    
Offset 31, 65 lines modifiedOffset 31, 65 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="#a-word-of-caution"·id="toc-entry-1">a·word·of·caution</a></li>35 <li><a·class="reference·internal"·href="#a-word-of-caution"·id="toc-entry-1">a·word·of·caution</a></li>
36 <li><a·class="reference·internal"·href="#plugin-interface"·id="toc-entry-2">plugin-interface</a></li>36 <li><a·class="reference·internal"·href="#plugin-interface"·id="toc-entry-2">plugin-interface</a></li>
37 <li><a·class="reference·internal"·href="#custom-alerts"·id="toc-entry-3">custom·alerts</a></li>37 <li><a·class="reference·internal"·href="#custom-alerts"·id="toc-entry-3">custom·alerts</a></li>
 38 <li><a·class="reference·internal"·href="#peer-connection-handle"·id="toc-entry-4">peer_connection_handle</a></li>
 39 <li><a·class="reference·internal"·href="#bt-peer-connection-handle"·id="toc-entry-5">bt_peer_connection_handle</a></li>
38 <li><a·class="reference·internal"·href="#plugin"·id="toc-entry-4">plugin</a><ul>40 <li><a·class="reference·internal"·href="#plugin"·id="toc-entry-6">plugin</a><ul>
39 <li><a·class="reference·internal"·href="#implemented-features"·id="toc-entry-5">implemented_features()</a></li>41 <li><a·class="reference·internal"·href="#implemented-features"·id="toc-entry-7">implemented_features()</a></li>
40 <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-8">new_torrent()</a></li>
41 <li><a·class="reference·internal"·href="#added"·id="toc-entry-7">added()</a></li>43 <li><a·class="reference·internal"·href="#added"·id="toc-entry-9">added()</a></li>
42 <li><a·class="reference·internal"·href="#abort"·id="toc-entry-8">abort()</a></li>44 <li><a·class="reference·internal"·href="#abort"·id="toc-entry-10">abort()</a></li>
43 <li><a·class="reference·internal"·href="#on-dht-request"·id="toc-entry-9">on_dht_request()</a></li>45 <li><a·class="reference·internal"·href="#on-dht-request"·id="toc-entry-11">on_dht_request()</a></li>
44 <li><a·class="reference·internal"·href="#on-alert"·id="toc-entry-10">on_alert()</a></li>46 <li><a·class="reference·internal"·href="#on-alert"·id="toc-entry-12">on_alert()</a></li>
45 <li><a·class="reference·internal"·href="#on-unknown-torrent"·id="toc-entry-11">on_unknown_torrent()</a></li>47 <li><a·class="reference·internal"·href="#on-unknown-torrent"·id="toc-entry-13">on_unknown_torrent()</a></li>
46 <li><a·class="reference·internal"·href="#on-tick"·id="toc-entry-12">on_tick()</a></li>48 <li><a·class="reference·internal"·href="#on-tick"·id="toc-entry-14">on_tick()</a></li>
47 <li><a·class="reference·internal"·href="#get-unchoke-priority"·id="toc-entry-13">get_unchoke_priority()</a></li>49 <li><a·class="reference·internal"·href="#get-unchoke-priority"·id="toc-entry-15">get_unchoke_priority()</a></li>
48 <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-14">load_state()</a></li>50 <li><a·class="reference·internal"·href="#load-state"·id="toc-entry-16">load_state()</a></li>
49 </ul>51 </ul>
50 </li>52 </li>
51 <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-15">torrent_plugin</a><ul>53 <li><a·class="reference·internal"·href="#torrent-plugin"·id="toc-entry-17">torrent_plugin</a><ul>
52 <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-16">new_connection()</a></li>54 <li><a·class="reference·internal"·href="#new-connection"·id="toc-entry-18">new_connection()</a></li>
53 <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed"·id="toc-entry-17">on_piece_pass()·on_piece_failed()</a></li>55 <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed"·id="toc-entry-19">on_piece_pass()·on_piece_failed()</a></li>
54 <li><a·class="reference·internal"·href="#tick"·id="toc-entry-18">tick()</a></li>56 <li><a·class="reference·internal"·href="#tick"·id="toc-entry-20">tick()</a></li>
55 <li><a·class="reference·internal"·href="#on-resume-on-pause"·id="toc-entry-19">on_resume()·on_pause()</a></li>57 <li><a·class="reference·internal"·href="#on-resume-on-pause"·id="toc-entry-21">on_resume()·on_pause()</a></li>
56 <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-20">on_files_checked()</a></li>58 <li><a·class="reference·internal"·href="#on-files-checked"·id="toc-entry-22">on_files_checked()</a></li>
57 <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-21">on_state()</a></li>59 <li><a·class="reference·internal"·href="#on-state"·id="toc-entry-23">on_state()</a></li>
58 <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-22">on_add_peer()</a></li>60 <li><a·class="reference·internal"·href="#on-add-peer"·id="toc-entry-24">on_add_peer()</a></li>
59 </ul>61 </ul>
60 </li>62 </li>
61 <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-23">peer_plugin</a><ul>63 <li><a·class="reference·internal"·href="#peer-plugin"·id="toc-entry-25">peer_plugin</a><ul>
62 <li><a·class="reference·internal"·href="#type"·id="toc-entry-24">type()</a></li>64 <li><a·class="reference·internal"·href="#type"·id="toc-entry-26">type()</a></li>
63 <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-25">add_handshake()</a></li>65 <li><a·class="reference·internal"·href="#add-handshake"·id="toc-entry-27">add_handshake()</a></li>
64 <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-26">on_disconnect()</a></li>66 <li><a·class="reference·internal"·href="#on-disconnect"·id="toc-entry-28">on_disconnect()</a></li>
65 <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-27">on_connected()</a></li>67 <li><a·class="reference·internal"·href="#on-connected"·id="toc-entry-29">on_connected()</a></li>
66 <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-28">on_handshake()</a></li>68 <li><a·class="reference·internal"·href="#on-handshake"·id="toc-entry-30">on_handshake()</a></li>
67 <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-29">on_extension_handshake()</a></li>69 <li><a·class="reference·internal"·href="#on-extension-handshake"·id="toc-entry-31">on_extension_handshake()</a></li>
68 <li><a·class="reference·internal"·href="#on-not-interested-on-have-all-on-dont-have-on-bitfield-on-choke-on-unchoke-on-have-on-request-on-have-none-on-allowed-fast-on-interested"·id="toc-entry-30">on_not_interested()·on_have_all()·on_dont_have()·on_bitfield()·on_choke()·on_unchoke()·on_have()·on_req[·...·truncated·by·diffoscope;·len:·53,·SHA:·8cb63133ca03e102667a8864b3718cfce9ee03013a032530bd1fc8bc2f9e4dca·...·]()</a></li>70 <li><a·class="reference·internal"·href="#on-unchoke-on-bitfield-on-have-on-choke-on-interested-on-have-none-on-not-interested-on-allowed-fast-on-request-on-dont-have-on-have-all"·id="toc-entry-32">on_unchoke()·on_bitfield()·on_have()·on_choke()·on_interested()·on_have_none()·on_not_interested()·on_a[·...·truncated·by·diffoscope;·len:·53,·SHA:·49fc9aa9f7f4b265f2b1a16f68e4ec91501d9e0e25b564c17aeddc5f14c4873b·...·]()</a></li>
69 <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-31">on_piece()</a></li>71 <li><a·class="reference·internal"·href="#on-piece"·id="toc-entry-33">on_piece()</a></li>
70 <li><a·class="reference·internal"·href="#sent-have-sent-interested-sent-unchoke-sent-piece-sent-not-interested"·id="toc-entry-32">sent_have()·sent_interested()·sent_unchoke()·sent_piece()·sent_not_interested()</a></li>72 <li><a·class="reference·internal"·href="#sent-have-sent-piece-sent-not-interested-sent-unchoke-sent-interested"·id="toc-entry-34">sent_have()·sent_piece()·sent_not_interested()·sent_unchoke()·sent_interested()</a></li>
71 <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-33">sent_payload()</a></li>73 <li><a·class="reference·internal"·href="#sent-payload"·id="toc-entry-35">sent_payload()</a></li>
72 <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-34">can_disconnect()</a></li>74 <li><a·class="reference·internal"·href="#can-disconnect"·id="toc-entry-36">can_disconnect()</a></li>
73 <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-35">on_extended()</a></li>75 <li><a·class="reference·internal"·href="#on-extended"·id="toc-entry-37">on_extended()</a></li>
74 <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-36">on_unknown_message()</a></li>76 <li><a·class="reference·internal"·href="#on-unknown-message"·id="toc-entry-38">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>77 <li><a·class="reference·internal"·href="#on-piece-pass-on-piece-failed-1"·id="toc-entry-39">on_piece_pass()·on_piece_failed()</a></li>
76 <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-38">tick()</a></li>78 <li><a·class="reference·internal"·href="#tick-1"·id="toc-entry-40">tick()</a></li>
77 <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-39">write_request()</a></li>79 <li><a·class="reference·internal"·href="#write-request"·id="toc-entry-41">write_request()</a></li>
78 </ul>80 </ul>
79 </li>81 </li>
80 <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-40">crypto_plugin</a><ul>82 <li><a·class="reference·internal"·href="#crypto-plugin"·id="toc-entry-42">crypto_plugin</a><ul>
81 <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-41">decrypt()</a></li>83 <li><a·class="reference·internal"·href="#decrypt"·id="toc-entry-43">decrypt()</a></li>
82 </ul>84 </ul>
83 </li>85 </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> 
86 <li><a·class="reference·internal"·href="#create-ut-pex-plugin"·id="toc-entry-44">create_ut_pex_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-smart-ban-plugin"·id="toc-entry-45">create_smart_ban_plugin()</a></li>87 <li><a·class="reference·internal"·href="#create-smart-ban-plugin"·id="toc-entry-45">create_smart_ban_plugin()</a></li>
88 <li><a·class="reference·internal"·href="#create-ut-metadata-plugin"·id="toc-entry-46">create_ut_metadata_plugin()</a></li>88 <li><a·class="reference·internal"·href="#create-ut-pex-plugin"·id="toc-entry-46">create_ut_pex_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>
95 <p>In·short,·the·<a·class="reference·external"·href="reference-Plugins.html#plugin">plugin</a>·interface·makes·it·possible·to:</p>95 <p>In·short,·the·<a·class="reference·external"·href="reference-Plugins.html#plugin">plugin</a>·interface·makes·it·possible·to:</p>
Offset 178, 14 lines modifiedOffset 178, 84 lines modified
178 expected.</p>178 expected.</p>
179 <p>The·static·category·is·required·for·checking·whether·or·not·the·category179 <p>The·static·category·is·required·for·checking·whether·or·not·the·category
180 for·a·specific·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·is·enabled·or·not,·without·instantiating·the·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>.180 for·a·specific·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>·is·enabled·or·not,·without·instantiating·the·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>.
181 The·<tt·class="docutils·literal">category</tt>·virtual·function·is·the·run-time·equivalence.</p>181 The·<tt·class="docutils·literal">category</tt>·virtual·function·is·the·run-time·equivalence.</p>
182 <p>The·<tt·class="docutils·literal">what()</tt>·virtual·function·may·simply·be·a·string·literal·of·the·class182 <p>The·<tt·class="docutils·literal">what()</tt>·virtual·function·may·simply·be·a·string·literal·of·the·class
183 name·of·your·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>.</p>183 name·of·your·<a·class="reference·external"·href="reference-Alerts.html#alert">alert</a>.</p>
184 <p>For·more·information,·see·the·<a·class="reference·external"·href="reference-Alerts.html">alert·section</a>.</p>184 <p>For·more·information,·see·the·<a·class="reference·external"·href="reference-Alerts.html">alert·section</a>.</p>
 185 <a·name="peer_connection_handle"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+peer_connection_handle&labels=documentation&body=Documentation+under+heading+%22class+peer_connection_handle%22+could+be+improved">report·issue</a>]</span></div>
 186 <div·class="section"·id="peer-connection-handle">
 187 <h1>peer_connection_handle</h1>
 188 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/peer_connection_handle.hpp">libtorrent/peer_connection_handle.hpp</a>&quot;</p>
 189 <p>the·<a·class="reference·external"·href="reference-Plugins.html#peer_connection_handle">peer_connection_handle</a>·class·provides·a·handle·to·the·internal·peer
 190 connection·object,·to·be·used·by·plugins.·This·is·a·low·level·interface·that
 191 may·not·be·stable·across·libtorrent·versions</p>
 192 <pre·class="literal-block">
 193 struct·peer_connection_handle
 194 {
 195 ···explicit·<strong>peer_connection_handle</strong>·(std::weak_ptr&lt;peer_connection&gt;·impl);
 196 ···connection_type·<strong>type</strong>·()·const;
 197 ···peer_plugin·const*·<strong>find_plugin</strong>·(string_view·type)·const;
 198 ···void·<strong>add_extension</strong>·(std::shared_ptr&lt;peer_plugin&gt;);
 199 ···bool·<strong>is_seed</strong>·()·const;
 200 ···bool·<strong>upload_only</strong>·()·const;
 201 ···peer_id·const&amp;·<strong>pid</strong>·()·const;
 202 ···bool·<strong>has_piece</strong>·(piece_index_t·i)·const;
 203 ···bool·<strong>is_choked</strong>·()·const;
 204 ···bool·<strong>is_interesting</strong>·()·const;
 205 ···bool·<strong>has_peer_choked</strong>·()·const;
 206 ···bool·<strong>is_peer_interested</strong>·()·const;
 207 ···void·<strong>choke_this_peer</strong>·();
 208 ···void·<strong>maybe_unchoke_this_peer</strong>·();
 209 ···void·<strong>get_peer_info</strong>·(peer_info&amp;·p)·const;
 210 ···torrent_handle·<strong>associated_torrent</strong>·()·const;
 211 ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·<strong>local_endpoint</strong>·()·const;
 212 ···<a·class="reference·external"·href="tcp::endpoint">tcp::endpoint</a>·const&amp;·<strong>remote</strong>·()·const;
 213 ···bool·<strong>is_outgoing</strong>·()·const;
 214 ···void·<strong>disconnect</strong>·(error_code·const&amp;·ec,·operation_t·op
 215 ······,·disconnect_severity_t·=·peer_connection_interface::normal);
 216 ···bool·<strong>is_disconnecting</strong>·()·const;
 217 ···bool·<strong>is_connecting</strong>·()·const;
 218 ···bool·<strong>ignore_unchoke_slots</strong>·()·const;
 219 ···bool·<strong>on_local_network</strong>·()·const;
 220 ···bool·<strong>failed</strong>·()·const;
 221 ···bool·<strong>should_log</strong>·(peer_log_alert::direction_t·direction)·const;
 222 ···void·<strong>peer_log</strong>·(peer_log_alert::direction_t·direction
 223 ······,·char·const*·event,·char·const*·fmt·=·&quot;&quot;,·...)·const·TORRENT_FORMAT(4,5);
 224 ···bool·<strong>can_disconnect</strong>·(error_code·const&amp;·ec)·const;
 225 ···bool·<strong>has_metadata</strong>·()·const;
 226 ···bool·<strong>in_handshake</strong>·()·const;
 227 ···void·<strong>send_buffer</strong>·(char·const*·begin,·int·size);
 228 ···std::time_t·<strong>last_seen_complete</strong>·()·const;
 229 ···time_point·<strong>time_of_last_unchoke</strong>·()·const;
 230 ···bool·<strong>operator!=</strong>·(peer_connection_handle·const&amp;·o)·const;
 231 ···bool·<strong>operator&lt;</strong>·(peer_connection_handle·const&amp;·o)·const;
 232 ···bool·<strong>operator==</strong>·(peer_connection_handle·const&amp;·o)·const;
 233 ···std::shared_ptr&lt;peer_connection&gt;·<strong>native_handle</strong>·()·const;
 234 };
 235 </pre>
 236 <a·name="bt_peer_connection_handle"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+bt_peer_connection_handle&labels=documentation&body=Documentation+under+heading+%22class+bt_peer_connection_handle%22+could+be+improved">report·issue</a>]</span></div>
Max diff block lines reached; 25776/42161 bytes (61.14%) of diff not shown.
29.9 KB
html2text {}
    
Offset 2, 14 lines modifiedOffset 2, 16 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_\x8·_\x8w_\x8o_\x8r_\x8d_\x8·_\x8o_\x8f_\x8·_\x8c_\x8a_\x8u_\x8t_\x8i_\x8o_\x8n6 ····*·_\x8a_\x8·_\x8w_\x8o_\x8r_\x8d_\x8·_\x8o_\x8f_\x8·_\x8c_\x8a_\x8u_\x8t_\x8i_\x8o_\x8n
7 ····*·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8-_\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e7 ····*·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n_\x8-_\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
8 ····*·_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s8 ····*·_\x8c_\x8u_\x8s_\x8t_\x8o_\x8m_\x8·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8s
 9 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
 10 ····*·_\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
9 ····*·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n11 ····*·_\x8p_\x8l_\x8u_\x8g_\x8i_\x8n
10 ··········o·_\x8i_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8e_\x8d_\x8__\x8f_\x8e_\x8a_\x8t_\x8u_\x8r_\x8e_\x8s_\x8(_\x8)12 ··········o·_\x8i_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8e_\x8d_\x8__\x8f_\x8e_\x8a_\x8t_\x8u_\x8r_\x8e_\x8s_\x8(_\x8)
11 ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)13 ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
12 ··········o·_\x8a_\x8d_\x8d_\x8e_\x8d_\x8(_\x8)14 ··········o·_\x8a_\x8d_\x8d_\x8e_\x8d_\x8(_\x8)
13 ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8)15 ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8)
14 ··········o·_\x8o_\x8n_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)16 ··········o·_\x8o_\x8n_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)
15 ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8)17 ··········o·_\x8o_\x8n_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8(_\x8)
Offset 28, 34 lines modifiedOffset 30, 32 lines modified
28 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n30 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n
29 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)31 ··········o·_\x8t_\x8y_\x8p_\x8e_\x8(_\x8)
30 ··········o·_\x8a_\x8d_\x8d_\x8__\x8h_\x8a_\x8n_\x8d_\x8s_\x8h_\x8a_\x8k_\x8e_\x8(_\x8)32 ··········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)33 ··········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)34 ··········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)35 ··········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)36 ··········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__\x8n_\x8o_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8h_\x8a_\x8v_\x8e_\x8__\x8a_\x8l_\x8l_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8d_\x8o_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8) 
36 ············_.o_.n_.__.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.h_.a_.v_.e_.(_.)_.·_.o_.n_.__.r_.e_.q_.u_.e_.s_.t_.(_.)_.·_.o_.n_.__.h_.a_.v_.e_.__.n_.o_.n_.e_\x8(_\x8)37 ··········o·_.o_.n_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.b_.i_.t_.f_.i_.e_.l_.d_.(_.)_.·_.o_.n_.__.h_.a_.v_.e_.(_.)_.·_.o_.n_.__.c_.h_.o_.k_.e_.(_.)_.·_.o_.n_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_\x8(_\x8)
 38 ············_\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__\x8a_\x8l_\x8l_\x8o_\x8w_\x8e_\x8d_\x8__\x8f_\x8a_\x8s_\x8t_\x8(_\x8)_\x8·_\x8o_\x8n_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)
37 ············_\x8o_\x8n_\x8__\x8a_.l_.l_.o_.w_.e_.d_.__.f_.a_.s_.t_.(_.)_.·_.o_.n_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_\x8(_\x8)39 ············_\x8o_\x8n_\x8__\x8d_.o_.n_.t_.__.h_.a_.v_.e_.(_.)_.·_.o_.n_.__.h_.a_.v_.e_.__.a_.l_.l_\x8(_\x8)
38 ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)40 ··········o·_\x8o_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
39 ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8n_\x8t_\x8__\x8i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.s_.e_.n_.t_.__.u_.n_.c_.h_.o_.k_.e_.(_.)_.·_.s_.e_.n_.t_.__.p_.i_.e_.c_\x8e_\x8(_\x8)41 ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8v_\x8e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_.i_.e_.c_.e_.(_.)_.·_.s_.e_.n_.t_.__.n_.o_.t_.__.i_.n_.t_.e_.r_.e_.s_.t_.e_.d_.(_.)_.·_.s_.e_.n_.t_.__.u_.n_.c_.h_.o_.k_\x8e_\x8(_\x8)
40 ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8n_.o_.t_.__.i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)42 ············_\x8s_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8e_\x8s_\x8t_\x8e_\x8d_\x8(_\x8)
41 ··········o·_\x8s_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8y_\x8l_\x8o_\x8a_\x8d_\x8(_\x8)43 ··········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)44 ··········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)45 ··········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)46 ··········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)47 ··········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)48 ··········o·_\x8t_\x8i_\x8c_\x8k_\x8(_\x8)
47 ··········o·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)49 ··········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_\x8n50 ····*·_\x8c_\x8r_\x8y_\x8p_\x8t_\x8o_\x8__\x8p_\x8l_\x8u_\x8g_\x8i_\x8n
49 ··········o·_\x8d_\x8e_\x8c_\x8r_\x8y_\x8p_\x8t_\x8(_\x8)51 ··········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_\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_\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__\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__\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__\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__\x8u_\x8t_\x8__\x8p_\x8e_\x8x_\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
61 ······_\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8s.61 ······_\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8s.
Offset 131, 14 lines modifiedOffset 131, 79 lines modified
131 The·static·category·is·required·for·checking·whether·or·not·the·category·for·a131 The·static·category·is·required·for·checking·whether·or·not·the·category·for·a
132 specific·_\x8a_\x8l_\x8e_\x8r_\x8t·is·enabled·or·not,·without·instantiating·the·_\x8a_\x8l_\x8e_\x8r_\x8t.·The·category132 specific·_\x8a_\x8l_\x8e_\x8r_\x8t·is·enabled·or·not,·without·instantiating·the·_\x8a_\x8l_\x8e_\x8r_\x8t.·The·category
133 virtual·function·is·the·run-time·equivalence.133 virtual·function·is·the·run-time·equivalence.
134 The·what()·virtual·function·may·simply·be·a·string·literal·of·the·class·name·of134 The·what()·virtual·function·may·simply·be·a·string·literal·of·the·class·name·of
135 your·_\x8a_\x8l_\x8e_\x8r_\x8t.135 your·_\x8a_\x8l_\x8e_\x8r_\x8t.
136 For·more·information,·see·the·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8·_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n.136 For·more·information,·see·the·_\x8a_\x8l_\x8e_\x8r_\x8t_\x8·_\x8s_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n.
137 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]137 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 138 *\x8**\x8**\x8**\x8**\x8**\x8*·p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
 139 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p"
 140 the·_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e·class·provides·a·handle·to·the·internal·peer
 141 connection·object,·to·be·used·by·plugins.·This·is·a·low·level·interface·that
 142 may·not·be·stable·across·libtorrent·versions
 143 struct·peer_connection_handle
 144 {
 145 ···explicit·p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·(std::weak_ptr<peer_connection>·impl);
 146 ···connection_type·t\x8ty\x8yp\x8pe\x8e·()·const;
 147 ···peer_plugin·const*·f\x8fi\x8in\x8nd\x8d_\x8_p\x8pl\x8lu\x8ug\x8gi\x8in\x8n·(string_view·type)·const;
 148 ···void·a\x8ad\x8dd\x8d_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8n·(std::shared_ptr<peer_plugin>);
 149 ···bool·i\x8is\x8s_\x8_s\x8se\x8ee\x8ed\x8d·()·const;
 150 ···bool·u\x8up\x8pl\x8lo\x8oa\x8ad\x8d_\x8_o\x8on\x8nl\x8ly\x8y·()·const;
 151 ···peer_id·const&·p\x8pi\x8id\x8d·()·const;
 152 ···bool·h\x8ha\x8as\x8s_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·i)·const;
 153 ···bool·i\x8is\x8s_\x8_c\x8ch\x8ho\x8ok\x8ke\x8ed\x8d·()·const;
 154 ···bool·i\x8is\x8s_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8ti\x8in\x8ng\x8g·()·const;
 155 ···bool·h\x8ha\x8as\x8s_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8ch\x8ho\x8ok\x8ke\x8ed\x8d·()·const;
 156 ···bool·i\x8is\x8s_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nt\x8te\x8er\x8re\x8es\x8st\x8te\x8ed\x8d·()·const;
 157 ···void·c\x8ch\x8ho\x8ok\x8ke\x8e_\x8_t\x8th\x8hi\x8is\x8s_\x8_p\x8pe\x8ee\x8er\x8r·();
 158 ···void·m\x8ma\x8ay\x8yb\x8be\x8e_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e_\x8_t\x8th\x8hi\x8is\x8s_\x8_p\x8pe\x8ee\x8er\x8r·();
 159 ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(peer_info&·p)·const;
 160 ···torrent_handle·a\x8as\x8ss\x8so\x8oc\x8ci\x8ia\x8at\x8te\x8ed\x8d_\x8_t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t·()·const;
 161 ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·l\x8lo\x8oc\x8ca\x8al\x8l_\x8_e\x8en\x8nd\x8dp\x8po\x8oi\x8in\x8nt\x8t·()·const;
 162 ···_\x8t_\x8c_\x8p_\x8:_\x8:_\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t·const&·r\x8re\x8em\x8mo\x8ot\x8te\x8e·()·const;
 163 ···bool·i\x8is\x8s_\x8_o\x8ou\x8ut\x8tg\x8go\x8oi\x8in\x8ng\x8g·()·const;
 164 ···void·d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·ec,·operation_t·op
 165 ······,·disconnect_severity_t·=·peer_connection_interface::normal);
 166 ···bool·i\x8is\x8s_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8in\x8ng\x8g·()·const;
 167 ···bool·i\x8is\x8s_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8in\x8ng\x8g·()·const;
 168 ···bool·i\x8ig\x8gn\x8no\x8or\x8re\x8e_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e_\x8_s\x8sl\x8lo\x8ot\x8ts\x8s·()·const;
 169 ···bool·o\x8on\x8n_\x8_l\x8lo\x8oc\x8ca\x8al\x8l_\x8_n\x8ne\x8et\x8tw\x8wo\x8or\x8rk\x8k·()·const;
 170 ···bool·f\x8fa\x8ai\x8il\x8le\x8ed\x8d·()·const;
 171 ···bool·s\x8sh\x8ho\x8ou\x8ul\x8ld\x8d_\x8_l\x8lo\x8og\x8g·(peer_log_alert::direction_t·direction)·const;
 172 ···void·p\x8pe\x8ee\x8er\x8r_\x8_l\x8lo\x8og\x8g·(peer_log_alert::direction_t·direction
 173 ······,·char·const*·event,·char·const*·fmt·=·"",·...)·const·TORRENT_FORMAT
 174 (4,5);
 175 ···bool·c\x8ca\x8an\x8n_\x8_d\x8di\x8is\x8sc\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8t·(error_code·const&·ec)·const;
 176 ···bool·h\x8ha\x8as\x8s_\x8_m\x8me\x8et\x8ta\x8ad\x8da\x8at\x8ta\x8a·()·const;
 177 ···bool·i\x8in\x8n_\x8_h\x8ha\x8an\x8nd\x8ds\x8sh\x8ha\x8ak\x8ke\x8e·()·const;
 178 ···void·s\x8se\x8en\x8nd\x8d_\x8_b\x8bu\x8uf\x8ff\x8fe\x8er\x8r·(char·const*·begin,·int·size);
 179 ···std::time_t·l\x8la\x8as\x8st\x8t_\x8_s\x8se\x8ee\x8en\x8n_\x8_c\x8co\x8om\x8mp\x8pl\x8le\x8et\x8te\x8e·()·const;
 180 ···time_point·t\x8ti\x8im\x8me\x8e_\x8_o\x8of\x8f_\x8_l\x8la\x8as\x8st\x8t_\x8_u\x8un\x8nc\x8ch\x8ho\x8ok\x8ke\x8e·()·const;
 181 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r!\x8!=\x8=·(peer_connection_handle·const&·o)·const;
 182 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r<\x8<·(peer_connection_handle·const&·o)·const;
 183 ···bool·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8==\x8=·(peer_connection_handle·const&·o)·const;
 184 ···std::shared_ptr<peer_connection>·n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·const;
 185 };
 186 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
 187 *\x8**\x8**\x8**\x8**\x8**\x8*·b\x8bt\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·*\x8**\x8**\x8**\x8**\x8**\x8*
 188 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8._\x8h_\x8p_\x8p"
 189 The·_\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·provides·a·handle·to·the·internal·bittorrent·peer
 190 connection·object·to·plugins.·It's·low·level·and·may·not·be·a·stable·API·across
 191 libtorrent·versions.
 192 struct·bt_peer_connection_handle·:·peer_connection_handle
 193 {
 194 ···explicit·b\x8bt\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·(peer_connection_handle·pc);
 195 ···bool·s\x8su\x8up\x8pp\x8po\x8or\x8rt\x8t_\x8_e\x8ex\x8xt\x8te\x8en\x8ns\x8si\x8io\x8on\x8ns\x8s·()·const;
 196 ···bool·p\x8pa\x8ac\x8ck\x8ke\x8et\x8t_\x8_f\x8fi\x8in\x8ni\x8is\x8sh\x8he\x8ed\x8d·()·const;
 197 ···bool·s\x8su\x8up\x8pp\x8po\x8or\x8rt\x8ts\x8s_\x8_e\x8en\x8nc\x8cr\x8ry\x8yp\x8pt\x8ti\x8io\x8on\x8n·()·const;
 198 ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_s\x8se\x8en\x8nd\x8d_\x8_c\x8cr\x8ry\x8yp\x8pt\x8to\x8o·(std::shared_ptr<crypto_plugin>·crypto);
 199 ···void·s\x8sw\x8wi\x8it\x8tc\x8ch\x8h_\x8_r\x8re\x8ec\x8cv\x8v_\x8_c\x8cr\x8ry\x8yp\x8pt\x8to\x8o·(std::shared_ptr<crypto_plugin>·crypto);
 200 ···std::shared_ptr<bt_peer_connection>·n\x8na\x8at\x8ti\x8iv\x8ve\x8e_\x8_h\x8ha\x8an\x8nd\x8dl\x8le\x8e·()·const;
 201 };
 202 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
Max diff block lines reached; 21204/30605 bytes (69.28%) of diff not shown.
7.9 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Resume_Data.html
    
Offset 28, 23 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="#write-resume-data-write-resume-data-buf"·id="toc-entry-1">write_resume_data()·write_resume_data_buf()</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-torrent-file-buf-write-torrent-file"·id="toc-entry-2">write_torrent_file_buf()·write_torrent_file()</a></li>36 <li><a·class="reference·internal"·href="#write-torrent-file-buf-write-torrent-file"·id="toc-entry-2">write_torrent_file_buf()·write_torrent_file()</a></li>
37 <li><a·class="reference·internal"·href="#read-resume-data"·id="toc-entry-3">read_resume_data()</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="write_resume_data()"></a>41 <a·name="write_resume_data_buf()"></a>
42 <a·name="write_resume_data_buf()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:write_resume_data%28%29+write_resume_data_buf%28%29&labels=documentation&body=Documentation+under+heading+%22write_resume_data%28%29+write_resume_data_buf%28%29%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="write-resume-data-write-resume-data-buf"> 
43 <h1>write_resume_data()·write_resume_data_buf()</h1>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_b[·...·truncated·by·diffoscope;·len:·144,·SHA:·aee7a6ecaccdc1a8f850c663536d05f2a581d0b128ea7e50fe01d9d50786d7f5·...·]>
 43 <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>44 <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">45 <pre·class="literal-block">
46 entry·<strong>write_resume_data</strong>·(add_torrent_params·const&amp;·atp);46 entry·<strong>write_resume_data</strong>·(add_torrent_params·const&amp;·atp);
47 std::vector&lt;char&gt;·<strong>write_resume_data_buf</strong>·(add_torrent_params·const&amp;·atp);47 std::vector&lt;char&gt;·<strong>write_resume_data_buf</strong>·(add_torrent_params·const&amp;·atp);
48 </pre>48 </pre>
49 <p>this·function·turns·the·resume·data·in·an·<tt·class="docutils·literal">add_torrent_params</tt>·object49 <p>this·function·turns·the·resume·data·in·an·<tt·class="docutils·literal">add_torrent_params</tt>·object
50 into·a·bencoded·structure</p>50 into·a·bencoded·structure</p>
Offset 71, 21 lines modifiedOffset 71, 21 lines modified
71 flexibility·to·add·custom·fields.</p>71 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>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">73 <div·class="section"·id="read-resume-data">
74 <h1>read_resume_data()</h1>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>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">76 <pre·class="literal-block">
77 add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&amp;·rd77 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
78 ···,·int·piece_limit·=·0x200000);80 ···,·int·piece_limit·=·0x200000);
79 add_torrent_params·<strong>read_resume_data</strong>·(span&lt;char·const&gt;·buffer81 add_torrent_params·<strong>read_resume_data</strong>·(span&lt;char·const&gt;·buffer
80 ···,·load_torrent_limits·const&amp;·cfg·=·{}); 
81 add_torrent_params·<strong>read_resume_data</strong>·(span&lt;char·const&gt;·buffer 
82 ···,·error_code&amp;·ec,·load_torrent_limits·const&amp;·cfg·=·{});82 ···,·error_code&amp;·ec,·load_torrent_limits·const&amp;·cfg·=·{});
83 add_torrent_params·<strong>read_resume_data</strong>·(bdecode_node·const&amp;·rd83 add_torrent_params·<strong>read_resume_data</strong>·(span&lt;char·const&gt;·buffer
84 ···,·error_code&amp;·ec,·int·piece_limit·=·0x200000);84 ···,·load_torrent_limits·const&amp;·cfg·=·{});
85 </pre>85 </pre>
86 <p>these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate86 <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·add87 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()·or88 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>89 session::async_add_torrent().</p>
90 <p>If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume90 <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·resume91 data,·e.g.·save_path,·those·fields·must·be·changed·after·loading·resume
3.42 KB
html2text {}
    
Offset 1, 18 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 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8(_.)_.·_.w_.r_.i_.t_.e_.__.r_.e_.s_.u_.m_.e_.__.d_.a_.t_.a_.__.b_.u_.f_\x8(_\x8)6 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\x8__.b_.u_.f_.(_.)_.·_.w_.r_.i_.t_.e_.__.r_.e_.s_.u_.m_.e_.__.d_.a_.t_.a_\x8(_\x8)
7 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)7 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8)_\x8·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
8 ····*·_\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\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*·w\x8wr\x8ri\x8it\x8te\x8e_\x8_r\x8re\x8es\x8su\x8um\x8me\x8e_\x8_d\x8da\x8at\x8ta\x8a(.().)·w.wr.ri.it.te.e_._r.re.es.su.um.me.e_._d.da.at.ta.a_._b.bu.uf.f(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*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_._b.bu.uf.f(.().)·w.wr.ri.it.te.e_._r.re.es.su.um.me.e_._d.da.at.ta.a(\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"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"
13 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);13 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);
14 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 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);
15 this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a15 this·function·turns·the·resume·data·in·an·add_torrent_params·object·into·a
16 bencoded·structure16 bencoded·structure
17 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]17 [_\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_b\x8bu\x8uf\x8f(\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)·*\x8**\x8**\x8**\x8**\x8**\x8*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_b\x8bu\x8uf\x8f(\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)·*\x8**\x8**\x8**\x8**\x8**\x8*
Offset 30, 21 lines modifiedOffset 30, 21 lines modified
30 The·write_torrent_file_buf()·overload·returns·the·torrent·file·in·bencoded30 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·to31 buffer·form.·This·overload·may·be·faster·at·the·expense·of·lost·flexibility·to
32 add·custom·fields.32 add·custom·fields.
33 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]33 [_\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*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"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&·rd36 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
37 ···,·int·piece_limit·=·0x200000);39 ···,·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·(span<char·const>·buffer40 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
39 ···,·load_torrent_limits·const&·cfg·=·{}); 
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 ···,·error_code&·ec,·load_torrent_limits·const&·cfg·=·{});41 ···,·error_code&·ec,·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·(bdecode_node·const&·rd42 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,·int·piece_limit·=·0x200000);43 ···,·load_torrent_limits·const&·cfg·=·{});
44 these·functions·are·used·to·parse·resume·data·and·populate·the·appropriate44 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·the45 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::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().47 async_add_torrent().
48 If·the·client·wants·to·override·any·field·that·was·loaded·from·the·resume·data,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·but49 e.g.·save_path,·those·fields·must·be·changed·after·loading·resume·data·but
50 before·adding·the·torrent.50 before·adding·the·torrent.
92.5 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Session.html
    
Offset 47, 83 lines modifiedOffset 47, 83 lines modified
47 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-9">is_valid()</a></li>47 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-9">is_valid()</a></li>
48 <li><a·class="reference·internal"·href="#session-state"·id="toc-entry-10">session_state()</a></li>48 <li><a·class="reference·internal"·href="#session-state"·id="toc-entry-10">session_state()</a></li>
49 <li><a·class="reference·internal"·href="#refresh-torrent-status-get-torrent-status"·id="toc-entry-11">refresh_torrent_status()·get_torrent_status()</a></li>49 <li><a·class="reference·internal"·href="#refresh-torrent-status-get-torrent-status"·id="toc-entry-11">refresh_torrent_status()·get_torrent_status()</a></li>
50 <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-12">post_torrent_updates()</a></li>50 <li><a·class="reference·internal"·href="#post-torrent-updates"·id="toc-entry-12">post_torrent_updates()</a></li>
51 <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-13">post_session_stats()</a></li>51 <li><a·class="reference·internal"·href="#post-session-stats"·id="toc-entry-13">post_session_stats()</a></li>
52 <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-14">post_dht_stats()</a></li>52 <li><a·class="reference·internal"·href="#post-dht-stats"·id="toc-entry-14">post_dht_stats()</a></li>
53 <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-15">set_dht_state()</a></li>53 <li><a·class="reference·internal"·href="#set-dht-state"·id="toc-entry-15">set_dht_state()</a></li>
54 <li><a·class="reference·internal"·href="#get-torrents-find-torrent"·id="toc-entry-16">get_torrents()·find_torrent()</a></li>54 <li><a·class="reference·internal"·href="#find-torrent-get-torrents"·id="toc-entry-16">find_torrent()·get_torrents()</a></li>
55 <li><a·class="reference·internal"·href="#add-torrent-async-add-torrent"·id="toc-entry-17">add_torrent()·async_add_torrent()</a></li>55 <li><a·class="reference·internal"·href="#async-add-torrent-add-torrent"·id="toc-entry-17">async_add_torrent()·add_torrent()</a></li>
56 <li><a·class="reference·internal"·href="#pause-resume-is-paused"·id="toc-entry-18">pause()·resume()·is_paused()</a></li>56 <li><a·class="reference·internal"·href="#pause-resume-is-paused"·id="toc-entry-18">pause()·resume()·is_paused()</a></li>
57 <li><a·class="reference·internal"·href="#is-dht-running"·id="toc-entry-19">is_dht_running()</a></li>57 <li><a·class="reference·internal"·href="#is-dht-running"·id="toc-entry-19">is_dht_running()</a></li>
58 <li><a·class="reference·internal"·href="#set-dht-storage"·id="toc-entry-20">set_dht_storage()</a></li>58 <li><a·class="reference·internal"·href="#set-dht-storage"·id="toc-entry-20">set_dht_storage()</a></li>
59 <li><a·class="reference·internal"·href="#add-dht-node"·id="toc-entry-21">add_dht_node()</a></li>59 <li><a·class="reference·internal"·href="#add-dht-node"·id="toc-entry-21">add_dht_node()</a></li>
60 <li><a·class="reference·internal"·href="#dht-get-item"·id="toc-entry-22">dht_get_item()</a></li>60 <li><a·class="reference·internal"·href="#dht-get-item"·id="toc-entry-22">dht_get_item()</a></li>
61 <li><a·class="reference·internal"·href="#dht-get-item-1"·id="toc-entry-23">dht_get_item()</a></li>61 <li><a·class="reference·internal"·href="#dht-get-item-1"·id="toc-entry-23">dht_get_item()</a></li>
62 <li><a·class="reference·internal"·href="#dht-put-item"·id="toc-entry-24">dht_put_item()</a></li>62 <li><a·class="reference·internal"·href="#dht-put-item"·id="toc-entry-24">dht_put_item()</a></li>
63 <li><a·class="reference·internal"·href="#dht-put-item-1"·id="toc-entry-25">dht_put_item()</a></li>63 <li><a·class="reference·internal"·href="#dht-put-item-1"·id="toc-entry-25">dht_put_item()</a></li>
64 <li><a·class="reference·internal"·href="#dht-announce-dht-get-peers"·id="toc-entry-26">dht_announce()·dht_get_peers()</a></li>64 <li><a·class="reference·internal"·href="#dht-get-peers-dht-announce"·id="toc-entry-26">dht_get_peers()·dht_announce()</a></li>
65 <li><a·class="reference·internal"·href="#dht-live-nodes"·id="toc-entry-27">dht_live_nodes()</a></li>65 <li><a·class="reference·internal"·href="#dht-live-nodes"·id="toc-entry-27">dht_live_nodes()</a></li>
66 <li><a·class="reference·internal"·href="#dht-sample-infohashes"·id="toc-entry-28">dht_sample_infohashes()</a></li>66 <li><a·class="reference·internal"·href="#dht-sample-infohashes"·id="toc-entry-28">dht_sample_infohashes()</a></li>
67 <li><a·class="reference·internal"·href="#dht-direct-request"·id="toc-entry-29">dht_direct_request()</a></li>67 <li><a·class="reference·internal"·href="#dht-direct-request"·id="toc-entry-29">dht_direct_request()</a></li>
68 <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-30">add_extension()</a></li>68 <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-30">add_extension()</a></li>
69 <li><a·class="reference·internal"·href="#set-ip-filter-get-ip-filter"·id="toc-entry-31">set_ip_filter()·get_ip_filter()</a></li>69 <li><a·class="reference·internal"·href="#get-ip-filter-set-ip-filter"·id="toc-entry-31">get_ip_filter()·set_ip_filter()</a></li>
70 <li><a·class="reference·internal"·href="#set-port-filter"·id="toc-entry-32">set_port_filter()</a></li>70 <li><a·class="reference·internal"·href="#set-port-filter"·id="toc-entry-32">set_port_filter()</a></li>
71 <li><a·class="reference·internal"·href="#listen-port-ssl-listen-port-is-listening"·id="toc-entry-33">listen_port()·ssl_listen_port()·is_listening()</a></li>71 <li><a·class="reference·internal"·href="#is-listening-ssl-listen-port-listen-port"·id="toc-entry-33">is_listening()·ssl_listen_port()·listen_port()</a></li>
72 <li><a·class="reference·internal"·href="#get-peer-class-filter-set-peer-class-filter"·id="toc-entry-34">get_peer_class_filter()·set_peer_class_filter()</a></li>72 <li><a·class="reference·internal"·href="#set-peer-class-filter-get-peer-class-filter"·id="toc-entry-34">set_peer_class_filter()·get_peer_class_filter()</a></li>
73 <li><a·class="reference·internal"·href="#get-peer-class-type-filter-set-peer-class-type-filter"·id="toc-entry-35">get_peer_class_type_filter()·set_peer_class_type_filter()</a></li>73 <li><a·class="reference·internal"·href="#get-peer-class-type-filter-set-peer-class-type-filter"·id="toc-entry-35">get_peer_class_type_filter()·set_peer_class_type_filter()</a></li>
74 <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-36">create_peer_class()</a></li>74 <li><a·class="reference·internal"·href="#create-peer-class"·id="toc-entry-36">create_peer_class()</a></li>
75 <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-37">delete_peer_class()</a></li>75 <li><a·class="reference·internal"·href="#delete-peer-class"·id="toc-entry-37">delete_peer_class()</a></li>
76 <li><a·class="reference·internal"·href="#get-peer-class-set-peer-class"·id="toc-entry-38">get_peer_class()·set_peer_class()</a></li>76 <li><a·class="reference·internal"·href="#get-peer-class-set-peer-class"·id="toc-entry-38">get_peer_class()·set_peer_class()</a></li>
77 <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-39">remove_torrent()</a></li>77 <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-39">remove_torrent()</a></li>
78 <li><a·class="reference·internal"·href="#get-settings-apply-settings"·id="toc-entry-40">get_settings()·apply_settings()</a></li>78 <li><a·class="reference·internal"·href="#apply-settings-get-settings"·id="toc-entry-40">apply_settings()·get_settings()</a></li>
79 <li><a·class="reference·internal"·href="#wait-for-alert-pop-alerts-set-alert-notify"·id="toc-entry-41">wait_for_alert()·pop_alerts()·set_alert_notify()</a></li>79 <li><a·class="reference·internal"·href="#pop-alerts-wait-for-alert-set-alert-notify"·id="toc-entry-41">pop_alerts()·wait_for_alert()·set_alert_notify()</a></li>
80 <li><a·class="reference·internal"·href="#delete-port-mapping-add-port-mapping"·id="toc-entry-42">delete_port_mapping()·add_port_mapping()</a></li>80 <li><a·class="reference·internal"·href="#add-port-mapping-delete-port-mapping"·id="toc-entry-42">add_port_mapping()·delete_port_mapping()</a></li>
81 <li><a·class="reference·internal"·href="#reopen-network-sockets"·id="toc-entry-43">reopen_network_sockets()</a></li>81 <li><a·class="reference·internal"·href="#reopen-network-sockets"·id="toc-entry-43">reopen_network_sockets()</a></li>
82 <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-44">native_handle()</a></li>82 <li><a·class="reference·internal"·href="#native-handle"·id="toc-entry-44">native_handle()</a></li>
83 </ul>83 </ul>
84 </li>84 </li>
85 <li><a·class="reference·internal"·href="#session-params"·id="toc-entry-45">session_params</a><ul>85 <li><a·class="reference·internal"·href="#session-params"·id="toc-entry-45">session_params</a><ul>
86 <li><a·class="reference·internal"·href="#session-params-1"·id="toc-entry-46">session_params()</a></li>86 <li><a·class="reference·internal"·href="#session-params-1"·id="toc-entry-46">session_params()</a></li>
87 <li><a·class="reference·internal"·href="#session-params-2"·id="toc-entry-47">session_params()</a></li>87 <li><a·class="reference·internal"·href="#session-params-2"·id="toc-entry-47">session_params()</a></li>
88 </ul>88 </ul>
89 </li>89 </li>
90 <li><a·class="reference·internal"·href="#write-session-params-buf-write-session-params-read-session-params"·id="toc-entry-48">write_session_params_buf()·write_session_params()·read_session_params()</a></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>
91 </ul>91 </ul>
92 </div>92 </div>
93 <a·name="session_proxy"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session_proxy&labels=documentation&body=Documentation+under+heading+%22class+session_proxy%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-proxy">93 <a·name="session_proxy"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session_proxy&labels=documentation&body=Documentation+under+heading+%22class+session_proxy%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-proxy">
94 <h1>session_proxy</h1>94 <h1>session_proxy</h1>
95 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>&quot;</p>95 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>&quot;</p>
96 <p>this·is·a·holder·for·the·internal·<a·class="reference·external"·href="reference-Session.html#session">session</a>·implementation·object.·Once·the96 <p>this·is·a·holder·for·the·internal·<a·class="reference·external"·href="reference-Session.html#session">session</a>·implementation·object.·Once·the
97 <a·class="reference·external"·href="reference-Session.html#session">session</a>·destruction·is·explicitly·initiated,·this·holder·is·used·to97 <a·class="reference·external"·href="reference-Session.html#session">session</a>·destruction·is·explicitly·initiated,·this·holder·is·used·to
98 synchronize·the·completion·of·the·shutdown.·The·lifetime·of·this·object98 synchronize·the·completion·of·the·shutdown.·The·lifetime·of·this·object
99 may·outlive·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·causing·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·destructor·to·not·block.·The99 may·outlive·<a·class="reference·external"·href="reference-Session.html#session">session</a>,·causing·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·destructor·to·not·block.·The
100 <a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a>·destructor·will·block·however,·until·the·underlying·<a·class="reference·external"·href="reference-Session.html#session">session</a>100 <a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a>·destructor·will·block·however,·until·the·underlying·<a·class="reference·external"·href="reference-Session.html#session">session</a>
101 is·done·shutting·down.</p>101 is·done·shutting·down.</p>
102 <pre·class="literal-block">102 <pre·class="literal-block">
103 struct·session_proxy103 struct·session_proxy
104 {104 {
 105 ···session_proxy&amp;·<strong>operator=</strong>·(session_proxy·const&amp;)·&amp;;
105 ···<strong>session_proxy</strong>·(session_proxy·const&amp;);106 ···<strong>session_proxy</strong>·();
106 ···session_proxy&amp;·<strong>operator=</strong>·(session_proxy&amp;&amp;)·&amp;·noexcept;107 ···session_proxy&amp;·<strong>operator=</strong>·(session_proxy&amp;&amp;)·&amp;·noexcept;
107 ···<strong>session_proxy</strong>·(session_proxy&amp;&amp;)·noexcept;108 ···<strong>session_proxy</strong>·(session_proxy&amp;&amp;)·noexcept;
108 ···<strong>session_proxy</strong>·();109 ···<strong>session_proxy</strong>·(session_proxy·const&amp;);
109 ···session_proxy&amp;·<strong>operator=</strong>·(session_proxy·const&amp;)·&amp;; 
110 ···<strong>~session_proxy</strong>·();110 ···<strong>~session_proxy</strong>·();
111 };111 };
112 </pre>112 </pre>
113 <a·name="~session_proxy()"></a>113 <a·name="~session_proxy()"></a>
114 <a·name="session_proxy()"></a>114 <a·name="session_proxy()"></a>
115 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_proxy%3A%3A%5B~session_proxy%28%29+session_proxy%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session_proxy%3A%3A%5B~session_proxy%28%29+session_proxy%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-proxy-session-proxy-operator">115 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session_proxy%3A%3A%5B~session_proxy%28%29+session_proxy%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session_proxy%3A%3A%5B~session_proxy%28%29+session_proxy%28%29+operator%3D%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-proxy-session-proxy-operator">
116 <h2>~session_proxy()·session_proxy()·operator=()</h2>116 <h2>~session_proxy()·session_proxy()·operator=()</h2>
117 <pre·class="literal-block">117 <pre·class="literal-block">
118 <strong>session_proxy</strong>·(session_proxy·const&amp;);118 session_proxy&amp;·<strong>operator=</strong>·(session_proxy·const&amp;)·&amp;;
 119 <strong>session_proxy</strong>·();
119 session_proxy&amp;·<strong>operator=</strong>·(session_proxy&amp;&amp;)·&amp;·noexcept;120 session_proxy&amp;·<strong>operator=</strong>·(session_proxy&amp;&amp;)·&amp;·noexcept;
120 <strong>session_proxy</strong>·(session_proxy&amp;&amp;)·noexcept;121 <strong>session_proxy</strong>·(session_proxy&amp;&amp;)·noexcept;
 122 <strong>session_proxy</strong>·(session_proxy·const&amp;);
121 <strong>session_proxy</strong>·(); 
122 session_proxy&amp;·<strong>operator=</strong>·(session_proxy·const&amp;)·&amp;; 
123 <strong>~session_proxy</strong>·();123 <strong>~session_proxy</strong>·();
124 </pre>124 </pre>
125 <p>default·constructor,·does·not·refer·to·any·<a·class="reference·external"·href="reference-Session.html#session">session</a>125 <p>default·constructor,·does·not·refer·to·any·<a·class="reference·external"·href="reference-Session.html#session">session</a>
126 implementation·object.</p>126 implementation·object.</p>
127 <a·name="session"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session&labels=documentation&body=Documentation+under+heading+%22class+session%22+could+be+improved">report·issue</a>]</span></div>127 <a·name="session"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+session&labels=documentation&body=Documentation+under+heading+%22class+session%22+could+be+improved">report·issue</a>]</span></div>
128 </div>128 </div>
129 <div·class="section"·id="session">129 <div·class="section"·id="session">
Offset 138, 52 lines modifiedOffset 138, 52 lines modified
138 <tt·class="docutils·literal"><span·class="pre">session_handle::apply_settings()</span></tt>·member·function.·To·change·one·or·more138 <tt·class="docutils·literal"><span·class="pre">session_handle::apply_settings()</span></tt>·member·function.·To·change·one·or·more
139 configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·object·and·fill·it·with139 configuration·options,·create·a·<a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a>.·object·and·fill·it·with
140 the·settings·to·be·set·and·pass·it·in·to·<tt·class="docutils·literal"><span·class="pre">session::apply_settings()</span></tt>.</p>140 the·settings·to·be·set·and·pass·it·in·to·<tt·class="docutils·literal"><span·class="pre">session::apply_settings()</span></tt>.</p>
141 <p>see·<a·class="reference·external"·href="reference-Session.html#apply_settings()">apply_settings()</a>.</p>141 <p>see·<a·class="reference·external"·href="reference-Session.html#apply_settings()">apply_settings()</a>.</p>
142 <pre·class="literal-block">142 <pre·class="literal-block">
143 struct·session·:·session_handle143 struct·session·:·session_handle
144 {144 {
145 ···<strong>session</strong>·(session_params·const&amp;·params,·session_flags_t·flags); 
146 ···explicit·<strong>session</strong>·(session_params&amp;&amp;·params);145 ···explicit·<strong>session</strong>·(session_params&amp;&amp;·params);
147 ···explicit·<strong>session</strong>·(session_params·const&amp;·params);146 ···<strong>session</strong>·(session_params·const&amp;·params,·session_flags_t·flags);
148 ···<strong>session</strong>·(); 
149 ···<strong>session</strong>·(session_params&amp;&amp;·params,·session_flags_t·flags);147 ···<strong>session</strong>·(session_params&amp;&amp;·params,·session_flags_t·flags);
150 ···<strong>session</strong>·(session_params&amp;&amp;·params,·io_context&amp;·ios);148 ···<strong>session</strong>·();
 149 ···explicit·<strong>session</strong>·(session_params·const&amp;·params);
151 ···<strong>session</strong>·(session_params·const&amp;·params,·io_context&amp;·ios);150 ···<strong>session</strong>·(session_params·const&amp;·params,·io_context&amp;·ios);
152 ···<strong>session</strong>·(session_params·const&amp;·params,·io_context&amp;·ios,·session_flags_t); 
153 ···<strong>session</strong>·(session_params&amp;&amp;·params,·io_context&amp;·ios,·session_flags_t);151 ···<strong>session</strong>·(session_params&amp;&amp;·params,·io_context&amp;·ios,·session_flags_t);
 152 ···<strong>session</strong>·(session_params&amp;&amp;·params,·io_context&amp;·ios);
 153 ···<strong>session</strong>·(session_params·const&amp;·params,·io_context&amp;·ios,·session_flags_t);
154 ···<strong>~session</strong>·();154 ···<strong>~session</strong>·();
155 ···session_proxy·<strong>abort</strong>·();155 ···session_proxy·<strong>abort</strong>·();
156 };156 };
157 </pre>157 </pre>
158 <a·name="session()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session%3A%3A%5Bsession%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session%3A%3A%5Bsession%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-1">158 <a·name="session()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:session%3A%3A%5Bsession%28%29%5D&labels=documentation&body=Documentation+under+heading+%22session%3A%3A%5Bsession%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="session-1">
159 <h2>session()</h2>159 <h2>session()</h2>
160 <pre·class="literal-block">160 <pre·class="literal-block">
161 <strong>session</strong>·(session_params·const&amp;·params,·session_flags_t·flags); 
162 explicit·<strong>session</strong>·(session_params&amp;&amp;·params);161 explicit·<strong>session</strong>·(session_params&amp;&amp;·params);
163 explicit·<strong>session</strong>·(session_params·const&amp;·params);162 <strong>session</strong>·(session_params·const&amp;·params,·session_flags_t·flags);
164 <strong>session</strong>·(); 
165 <strong>session</strong>·(session_params&amp;&amp;·params,·session_flags_t·flags);163 <strong>session</strong>·(session_params&amp;&amp;·params,·session_flags_t·flags);
 164 <strong>session</strong>·();
 165 explicit·<strong>session</strong>·(session_params·const&amp;·params);
166 </pre>166 </pre>
167 <p>Constructs·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·objects·which·acts·as·the·container·of·torrents.167 <p>Constructs·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·objects·which·acts·as·the·container·of·torrents.
168 In·order·to·avoid·a·race·condition·between·starting·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·and168 In·order·to·avoid·a·race·condition·between·starting·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·and
169 configuring·it,·you·can·pass·in·a·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>·object.·Its·settings169 configuring·it,·you·can·pass·in·a·<a·class="reference·external"·href="reference-Session.html#session_params">session_params</a>·object.·Its·settings
170 will·take·effect·before·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·starts·up.</p>170 will·take·effect·before·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·starts·up.</p>
171 <p>The·overloads·taking·<tt·class="docutils·literal">flags</tt>·can·be·used·to·start·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>·in171 <p>The·overloads·taking·<tt·class="docutils·literal">flags</tt>·can·be·used·to·start·a·<a·class="reference·external"·href="reference-Session.html#session">session</a>·in
172 paused·mode·(by·passing·in·<tt·class="docutils·literal"><span·class="pre">session::paused</span></tt>).·Note·that172 paused·mode·(by·passing·in·<tt·class="docutils·literal"><span·class="pre">session::paused</span></tt>).·Note·that
Max diff block lines reached; 41319/54863 bytes (75.31%) of diff not shown.
38.8 KB
html2text {}
    
Offset 14, 72 lines modifiedOffset 14, 72 lines modified
14 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)14 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)
15 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8)15 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8)
16 ··········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)16 ··········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)
17 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8)17 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8s_\x8(_\x8)
18 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8)18 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8)
19 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8)19 ··········o·_\x8p_\x8o_\x8s_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8(_\x8)
20 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8)20 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8(_\x8)
21 ··········o·_\x8g_\x8e_\x8t_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8n_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8) 
22 ··········o·_\x8a_.d_.d_.__.t_.o_.r_.r_.e_.n_.t_.(_.)_.·_.a_.s_.y_.n_.c_.__.a_.d_.d_.__.t_.o_.r_.r_.e_.n_.t_\x8(_\x8)21 ··········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)
 22 ··········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)
23 ··········o·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8i_\x8s_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8d_\x8(_\x8)23 ··········o·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)_\x8·_\x8i_\x8s_\x8__\x8p_\x8a_\x8u_\x8s_\x8e_\x8d_\x8(_\x8)
24 ··········o·_\x8i_\x8s_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8u_\x8n_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)24 ··········o·_\x8i_\x8s_\x8__\x8d_\x8h_\x8t_\x8__\x8r_\x8u_\x8n_\x8n_\x8i_\x8n_\x8g_\x8(_\x8)
25 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8)25 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8(_\x8)
26 ··········o·_\x8a_\x8d_\x8d_\x8__\x8d_\x8h_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)26 ··········o·_\x8a_\x8d_\x8d_\x8__\x8d_\x8h_\x8t_\x8__\x8n_\x8o_\x8d_\x8e_\x8(_\x8)
27 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)27 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
28 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)28 ··········o·_\x8d_\x8h_\x8t_\x8__\x8g_\x8e_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
29 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)29 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
30 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)30 ··········o·_\x8d_\x8h_\x8t_\x8__\x8p_\x8u_\x8t_\x8__\x8i_\x8t_\x8e_\x8m_\x8(_\x8)
31 ··········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)31 ··········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)
32 ··········o·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)32 ··········o·_\x8d_\x8h_\x8t_\x8__\x8l_\x8i_\x8v_\x8e_\x8__\x8n_\x8o_\x8d_\x8e_\x8s_\x8(_\x8)
33 ··········o·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)33 ··········o·_\x8d_\x8h_\x8t_\x8__\x8s_\x8a_\x8m_\x8p_\x8l_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)
34 ··········o·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)34 ··········o·_\x8d_\x8h_\x8t_\x8__\x8d_\x8i_\x8r_\x8e_\x8c_\x8t_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8(_\x8)
35 ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)35 ··········o·_\x8a_\x8d_\x8d_\x8__\x8e_\x8x_\x8t_\x8e_\x8n_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
36 ··········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)36 ··········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)
37 ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)37 ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)
38 ··········o·_\x8l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_.s_.s_.l_.__.l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_.i_.s_.__.l_.i_.s_.t_.e_.n_.i_.n_.g_\x8(_\x8)38 ··········o·_\x8i_.s_.__.l_.i_.s_.t_.e_.n_.i_.n_.g_.(_.)_.·_.s_.s_.l_.__.l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_.(_.)_.·_.l_.i_.s_.t_.e_.n_.__.p_.o_.r_.t_\x8(_\x8)
39 ··········o·_\x8g_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)39 ··········o·_\x8s_.e_.t_.__.p_.e_.e_.r_.__.c_.l_.a_.s_.s_.__.f_.i_.l_.t_.e_.r_.(_.)_.·_.g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8__\x8f_\x8i_\x8l_\x8t_\x8e_\x8r_\x8(_\x8)
40 ··········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)40 ··········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)
41 ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)41 ··········o·_\x8c_\x8r_\x8e_\x8a_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)
42 ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)42 ··········o·_\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)
43 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)43 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8l_\x8a_\x8s_\x8s_\x8(_\x8)
44 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)44 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
45 ··········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)45 ··········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)
46 ··········o·_\x8w_.a_.i_.t_.__.f_.o_.r_.__.a_.l_.e_.r_.t_.(_.)_.·_.p_.o_.p_.__.a_.l_.e_.r_.t_.s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8n_\x8o_\x8t_\x8i_\x8f_\x8y_\x8(_\x8)46 ··········o·_\x8p_.o_.p_.__.a_.l_.e_.r_.t_.s_.(_.)_.·_.w_.a_.i_.t_.__.f_.o_.r_.__.a_.l_.e_.r_.t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8a_\x8l_\x8e_\x8r_\x8t_\x8__\x8n_\x8o_\x8t_\x8i_\x8f_\x8y_\x8(_\x8)
47 ··········o·_\x8d_.e_.l_.e_.t_.e_.__.p_.o_.r_.t_.__.m_.a_.p_.p_.i_.n_.g_.(_.)_.·_.a_.d_.d_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8)47 ··········o·_\x8a_.d_.d_.__.p_.o_.r_.t_.__.m_.a_.p_.p_.i_.n_.g_.(_.)_.·_.d_.e_.l_.e_.t_.e_\x8__\x8p_\x8o_\x8r_\x8t_\x8__\x8m_\x8a_\x8p_\x8p_\x8i_\x8n_\x8g_\x8(_\x8)
48 ··········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)48 ··········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)
49 ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8)49 ··········o·_\x8n_\x8a_\x8t_\x8i_\x8v_\x8e_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e_\x8(_\x8)
50 ····*·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s50 ····*·_\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)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)52 ··········o·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)
53 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8__.b_.u_.f_.(_.)_.·_.w_.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_\x8(_\x8)53 ····*·_\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_.)_.·_.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)
54 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]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\x8pr\x8ro\x8ox\x8xy\x8y·*\x8**\x8**\x8**\x8**\x8**\x8*55 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·*\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_\x8p_\x8p"56 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p"
57 this·is·a·holder·for·the·internal·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object.·Once·the57 this·is·a·holder·for·the·internal·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object.·Once·the
58 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destruction·is·explicitly·initiated,·this·holder·is·used·to·synchronize58 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destruction·is·explicitly·initiated,·this·holder·is·used·to·synchronize
59 the·completion·of·the·shutdown.·The·lifetime·of·this·object·may·outlive59 the·completion·of·the·shutdown.·The·lifetime·of·this·object·may·outlive
60 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·causing·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destructor·to·not·block.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y60 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n,·causing·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·destructor·to·not·block.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y
61 destructor·will·block·however,·until·the·underlying·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·done·shutting61 destructor·will·block·however,·until·the·underlying·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·is·done·shutting
62 down.62 down.
63 struct·session_proxy63 struct·session_proxy
64 {64 {
 65 ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&;
65 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&);66 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·();
66 ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept;67 ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept;
67 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept;68 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept;
68 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·();69 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&);
69 ···session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; 
70 ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·();70 ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·();
71 };71 };
72 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]72 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
73 *\x8**\x8**\x8**\x8**\x8*·~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y(\x8()\x8)·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*73 *\x8**\x8**\x8**\x8**\x8*·~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y(\x8()\x8)·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 74 session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&;
74 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&);75 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·();
75 session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept;76 session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy&&)·&·noexcept;
76 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept;77 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy&&)·noexcept;
77 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·();78 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·(session_proxy·const&);
78 session_proxy&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(session_proxy·const&)·&; 
79 ~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·();79 ~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n_\x8_p\x8pr\x8ro\x8ox\x8xy\x8y·();
80 default·constructor,·does·not·refer·to·any·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object.80 default·constructor,·does·not·refer·to·any·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·implementation·object.
81 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]81 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
82 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*82 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·*\x8**\x8**\x8**\x8**\x8**\x8*
83 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p"83 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p"
84 The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·holds·all·state·that·spans·multiple·torrents.·Among·other·things·it84 The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·holds·all·state·that·spans·multiple·torrents.·Among·other·things·it
85 runs·the·network·loop·and·manages·all·torrents.·Once·it's·created,·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n85 runs·the·network·loop·and·manages·all·torrents.·Once·it's·created,·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n
Offset 88, 47 lines modifiedOffset 88, 47 lines modified
88 You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session_handle::88 You·have·some·control·over·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·configuration·through·the·session_handle::
89 apply_settings()·member·function.·To·change·one·or·more·configuration·options,89 apply_settings()·member·function.·To·change·one·or·more·configuration·options,
90 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·pass90 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
91 it·in·to·session::apply_settings().91 it·in·to·session::apply_settings().
92 see·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8).92 see·_\x8a_\x8p_\x8p_\x8l_\x8y_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8).
93 struct·session·:·session_handle93 struct·session·:·session_handle
94 {94 {
95 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·session_flags_t·flags); 
96 ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params);95 ···explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params);
97 ···explicit·s.se.es.ss.si.io.on.n·(session_params·const&·params);96 ···s.se.es.ss.si.io.on.n·(session_params·const&·params,·session_flags_t·flags);
98 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); 
99 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags);97 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags);
 98 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·();
100 ···s.se.es.ss.si.io.on.n·(session_params&&·params,·io_context&·ios);99 ···explicit·s.se.es.ss.si.io.on.n·(session_params·const&·params);
101 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios);100 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios);
102 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios,·session_flags_t); 
103 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios,·session_flags_t);101 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios,·session_flags_t);
 102 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios);
 103 ···s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios,·session_flags_t);
104 ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·();104 ···~\x8~s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·();
105 ···session_proxy·a\x8ab\x8bo\x8or\x8rt\x8t·();105 ···session_proxy·a\x8ab\x8bo\x8or\x8rt\x8t·();
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*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*108 *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
109 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·session_flags_t·flags); 
110 explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params);109 explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params);
111 explicit·s.se.es.ss.si.io.on.n·(session_params·const&·params);110 s.se.es.ss.si.io.on.n·(session_params·const&·params,·session_flags_t·flags);
112 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(); 
113 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags);111 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·session_flags_t·flags);
 112 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·();
 113 explicit·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params);
114 Constructs·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·objects·which·acts·as·the·container·of·torrents.·In114 Constructs·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·objects·which·acts·as·the·container·of·torrents.·In
115 order·to·avoid·a·race·condition·between·starting·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·and·configuring115 order·to·avoid·a·race·condition·between·starting·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·and·configuring
116 it,·you·can·pass·in·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·Its·settings·will·take·effect116 it,·you·can·pass·in·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·Its·settings·will·take·effect
117 before·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·starts·up.117 before·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·starts·up.
118 The·overloads·taking·flags·can·be·used·to·start·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·in·paused·mode·(by118 The·overloads·taking·flags·can·be·used·to·start·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·in·paused·mode·(by
119 passing·in·session::paused).·Note·that·add_default_plugins·do·not·have·an119 passing·in·session::paused).·Note·that·add_default_plugins·do·not·have·an
120 affect·on·constructors·that·take·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·It·already·contains120 affect·on·constructors·that·take·a·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s·object.·It·already·contains
121 the·plugins·to·use.121 the·plugins·to·use.
122 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]122 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
123 *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*123 *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
124 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios); 
125 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios);124 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios);
126 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios,·session_flags_t); 
127 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios,·session_flags_t);125 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios,·session_flags_t);
 126 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params&&·params,·io_context&·ios);
 127 s\x8se\x8es\x8ss\x8si\x8io\x8on\x8n·(session_params·const&·params,·io_context&·ios,·session_flags_t);
128 Overload·of·the·constructor·that·takes·an·external·io_context·to·run·the128 Overload·of·the·constructor·that·takes·an·external·io_context·to·run·the
129 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·object·on.·This·is·primarily·useful·for·tests·that·may·want·to·run129 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·object·on.·This·is·primarily·useful·for·tests·that·may·want·to·run
130 multiple·sessions·on·a·single·io_context,·or·low·resource·systems·where130 multiple·sessions·on·a·single·io_context,·or·low·resource·systems·where
131 additional·threads·are·expensive·and·sharing·an·io_context·with·other·events·is131 additional·threads·are·expensive·and·sharing·an·io_context·with·other·events·is
Max diff block lines reached; 28673/39672 bytes (72.28%) of diff not shown.
16.9 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Settings.html
    
Offset 29, 15 lines modifiedOffset 29, 15 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-int-set-bool-set-str"·id="toc-entry-2">set_int()·set_bool()·set_str()</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-bool-get-str-get-int"·id="toc-entry-6">get_bool()·get_str()·get_int()</a></li>40 <li><a·class="reference·internal"·href="#get-bool-get-str-get-int"·id="toc-entry-6">get_bool()·get_str()·get_int()</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>
Offset 46, 15 lines modifiedOffset 46, 15 lines modified
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>53 <li><a·class="reference·internal"·href="#high-performance-seed-min-memory-usage"·id="toc-entry-17">high_performance_seed()·min_memory_usage()</a></li>
54 <li><a·class="reference·internal"·href="#setting-by-name-name-for-setting"·id="toc-entry-18">setting_by_name()·name_for_setting()</a></li>54 <li><a·class="reference·internal"·href="#setting-by-name-name-for-setting"·id="toc-entry-18">setting_by_name()·name_for_setting()</a></li>
55 <li><a·class="reference·internal"·href="#default-settings"·id="toc-entry-19">default_settings()</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>56 <li><a·class="reference·internal"·href="#generate-fingerprint"·id="toc-entry-20">generate_fingerprint()</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>
Offset 4562, 24 lines modifiedOffset 4562, 24 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_str</strong>·(int·name,·std::string·val)·override;4570 ···void·<strong>set_str</strong>·(int·name,·std::string·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_bool</strong>·(int·name,·bool·val)·override;4572 ···void·<strong>set_bool</strong>·(int·name,·bool·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;
4578 ···int·<strong>get_int</strong>·(int·name)·const·override;4577 ···int·<strong>get_int</strong>·(int·name)·const·override;
 4578 ···std::string·const&amp;·<strong>get_str</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,
4584 ······bool_type_base,4584 ······bool_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_int()"></a> 
4657 <a·name="set_bool()"></a>4656 <a·name="set_bool()"></a>
 4657 <a·name="set_int()"></a>
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_int%28%29+set_bool%28%29+set_str%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bset_int%28%29+set_bool%28%29+set_str%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="set-int-set-bool-set-str">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_bool%28%29+set_int%28%29+set_str%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="set-bool-set-int-set-str">
4659 <h2>set_int()·set_bool()·set_str()</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_str</strong>·(int·name,·std::string·val)·override;4662 void·<strong>set_str</strong>·(int·name,·std::string·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_bool</strong>·(int·name,·bool·val)·override;4664 void·<strong>set_bool</strong>·(int·name,·bool·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 4691, 17 lines modifiedOffset 4691, 17 lines modified
4691 <p>clear·a·specific·setting·from·the·pack</p>4691 <p>clear·a·specific·setting·from·the·pack</p>
4692 <a·name="get_bool()"></a>4692 <a·name="get_bool()"></a>
4693 <a·name="get_str()"></a>4693 <a·name="get_str()"></a>
4694 <a·name="get_int()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bget_bool%28%29+get_str%28%29+get_int%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bget_bool%28%29+get_str%28%29+get_int%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>4694 <a·name="get_int()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:settings_pack%3A%3A%5Bget_bool%28%29+get_str%28%29+get_int%28%29%5D&labels=documentation&body=Documentation+under+heading+%22settings_pack%3A%3A%5Bget_bool%28%29+get_str%28%29+get_int%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
4695 <div·class="section"·id="get-bool-get-str-get-int">4695 <div·class="section"·id="get-bool-get-str-get-int">
4696 <h2>get_bool()·get_str()·get_int()</h2>4696 <h2>get_bool()·get_str()·get_int()</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;
4700 int·<strong>get_int</strong>·(int·name)·const·override;4699 int·<strong>get_int</strong>·(int·name)·const·override;
 4700 std::string·const&amp;·<strong>get_str</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>
4707 <a·name="type_bases"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+type_bases&labels=documentation&body=Documentation+under+heading+%22enum+type_bases%22+could+be+improved">report·issue</a>]</span></div>4707 <a·name="type_bases"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:enum+type_bases&labels=documentation&body=Documentation+under+heading+%22enum+type_bases%22+could+be+improved">report·issue</a>]</span></div>
Offset 5060, 19 lines modifiedOffset 5060, 19 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>5067 <a·name="high_performance_seed()"></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+h[·...·truncated·by·diffoscope;·len:·20,·SHA:·53120ea32858e0a26c755c51aca07aa0c5e7ac71ecd306ead8f2e57e09640df0·...·]%28%29%22+could+be+improved">report·issue</a>]</span></div>5068 <a·name="min_memory_usage()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:high_performance_seed%28%29+min_memory_usage%28%29&labels=documentation&body=Documentation+under+heading+%22high_performance_seed%28%29+m[·...·truncated·by·diffoscope;·len:·15,·SHA:·238ede134db0735281b721040dfa7bc22a7062f95523fcfe5144b41061731e21·...·]%28%29%22+could+be+improved">report·issue</a>]</span></div>
5069 </div>5069 </div>
5070 <div·class="section"·id="min-memory-usage-high-performance-seed"> 
5071 <h1>min_memory_usage()·high_performance_seed()</h1>5070 <div·class="section"·id="high-performance-seed-min-memory-usage">
 5071 <h1>high_performance_seed()·min_memory_usage()</h1>
5072 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session.hpp">libtorrent/session.hpp</a>&quot;</p>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">5073 <pre·class="literal-block">
5074 settings_pack·<strong>high_performance_seed</strong>·();5074 settings_pack·<strong>high_performance_seed</strong>·();
5075 settings_pack·<strong>min_memory_usage</strong>·();5075 settings_pack·<strong>min_memory_usage</strong>·();
5076 </pre>5076 </pre>
5077 <p>The·default·values·of·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·settings·are·set·for·a·regular5077 <p>The·default·values·of·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·settings·are·set·for·a·regular
5078 bittorrent·client·running·on·a·desktop·system.·There·are·functions·that5078 bittorrent·client·running·on·a·desktop·system.·There·are·functions·that
7.39 KB
html2text {}
    
Offset 1, 29 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 ····*·_\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__\x8i_.n_.t_.(_.)_.·_.s_.e_.t_.__.b_.o_.o_.l_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8t_\x8r_\x8(_\x8)7 ··········o·_\x8s_\x8e_\x8t_\x8__\x8b_.o_.o_.l_.(_.)_.·_.s_.e_.t_.__.i_.n_.t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8t_\x8r_\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__\x8b_\x8o_\x8o_\x8l_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8s_\x8t_\x8r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8i_\x8n_\x8t_\x8(_\x8)11 ··········o·_\x8g_\x8e_\x8t_\x8__\x8b_\x8o_\x8o_\x8l_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8s_\x8t_\x8r_\x8(_\x8)_\x8·_\x8g_\x8e_\x8t_\x8__\x8i_\x8n_\x8t_\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_.i_.n_.__.m_.e_.m_.o_.r_.y_.__.u_.s_.a_.g_.e_.(_.)_.·_.h_.i_.g_.h_.__.p_.e_.r_.f_.o_.r_.m_.a_.n_.c_.e_.__.s_.e_.e_.d_\x8(_\x8)22 ····*·_\x8h_.i_.g_.h_.__.p_.e_.r_.f_.o_.r_.m_.a_.n_.c_.e_.__.s_.e_.e_.d_.(_.)_.·_.m_.i_.n_.__.m_.e_.m_.o_.r_.y_.__.u_.s_.a_.g_.e_\x8(_\x8)
23 ····*·_\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)23 ····*·_\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)
24 ····*·_\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\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)25 ····*·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\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().
Offset 1420, 24 lines modifiedOffset 1420, 24 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_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override;1428 ···void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·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_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override;1430 ···void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·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;
1436 ···int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override;1435 ···int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override;
 1436 ···std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(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,
1442 ······bool_type_base,1442 ······bool_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_i.in.nt.t(.().)·s.se.et.t_._b.bo.oo.ol.l(\x8()\x8)·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r(\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(\x8()\x8)·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r(\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_s\x8st\x8tr\x8r·(int·name,·std::string·val)·override;1516 void·s\x8se\x8et\x8t_\x8_s\x8st\x8tr\x8r·(int·name,·std::string·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_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·val)·override;1518 void·s\x8se\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l·(int·name,·bool·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 1531, 17 lines modifiedOffset 1531, 17 lines modified
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_b\x8bo\x8oo\x8ol\x8l(\x8()\x8)·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r(\x8()\x8)·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*1537 *\x8**\x8**\x8**\x8**\x8*·g\x8ge\x8et\x8t_\x8_b\x8bo\x8oo\x8ol\x8l(\x8()\x8)·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r(\x8()\x8)·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t(\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;
1540 int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override;1539 int·g\x8ge\x8et\x8t_\x8_i\x8in\x8nt\x8t·(int·name)·const·override;
 1540 std::string·const&·g\x8ge\x8et\x8t_\x8_s\x8st\x8tr\x8r·(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*
1547 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"1547 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"
Offset 1668, 15 lines modifiedOffset 1668, 15 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*·h.hi.ig.gh.h_._p.pe.er.rf.fo.or.rm.ma.an.nc.ce.e_._s.se.ee.ed.d(.().)·m.mi.in.n_._m.me.em.mo.or.ry.y_._u.us.sa.ag.ge.e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8**\x8*
1676 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p"1676 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8._\x8h_\x8p_\x8p"
1677 settings_pack·h\x8hi\x8ig\x8gh\x8h_\x8_p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e_\x8_s\x8se\x8ee\x8ed\x8d·();1677 settings_pack·h\x8hi\x8ig\x8gh\x8h_\x8_p\x8pe\x8er\x8rf\x8fo\x8or\x8rm\x8ma\x8an\x8nc\x8ce\x8e_\x8_s\x8se\x8ee\x8ed\x8d·();
1678 settings_pack·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e·();1678 settings_pack·m\x8mi\x8in\x8n_\x8_m\x8me\x8em\x8mo\x8or\x8ry\x8y_\x8_u\x8us\x8sa\x8ag\x8ge\x8e·();
1679 The·default·values·of·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·are·set·for·a·regular·bittorrent1679 The·default·values·of·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·are·set·for·a·regular·bittorrent
1680 client·running·on·a·desktop·system.·There·are·functions·that·can·set·the1680 client·running·on·a·desktop·system.·There·are·functions·that·can·set·the
1681 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·to·pre·set·settings·for·other·environments.·These·can·be·used1681 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·settings·to·pre·set·settings·for·other·environments.·These·can·be·used
1682 for·the·basis,·and·should·be·tweaked·to·fit·your·needs·better.1682 for·the·basis,·and·should·be·tweaked·to·fit·your·needs·better.
11.4 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Stats.html
    
Offset 28, 25 lines modifiedOffset 28, 50 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> 
36 <li><a·class="reference·internal"·href="#counters"·id="toc-entry-2">counters</a><ul>35 <li><a·class="reference·internal"·href="#counters"·id="toc-entry-1">counters</a><ul>
37 <li><a·class="reference·internal"·href="#inc-stats-counter-operator"·id="toc-entry-3">inc_stats_counter()·operator[]()</a></li>36 <li><a·class="reference·internal"·href="#inc-stats-counter-operator"·id="toc-entry-2">inc_stats_counter()·operator[]()</a></li>
38 </ul>37 </ul>
39 </li>38 </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>
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">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>
 69 </div>
 70 <div·class="section"·id="stats-metric">
46 <h1>stats_metric</h1>71 <h1>stats_metric</h1>
47 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>&quot;</p>72 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/session_stats.hpp">libtorrent/session_stats.hpp</a>&quot;</p>
48 <p>describes·one·statistics·metric·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>.·For·more·information,73 <p>describes·one·statistics·metric·from·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>.·For·more·information,
49 see·the·<a·class="reference·external"·href="manual-ref.html#session-statistics">session·statistics</a>·section.</p>74 see·the·<a·class="reference·external"·href="manual-ref.html#session-statistics">session·statistics</a>·section.</p>
50 <pre·class="literal-block">75 <pre·class="literal-block">
51 struct·stats_metric76 struct·stats_metric
52 {77 {
Offset 62, 40 lines modifiedOffset 87, 15 lines modified
62 <a·name="value_index"></a>87 <a·name="value_index"></a>
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">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">
64 <dt>value_index·type</dt>89 <dt>value_index·type</dt>
65 <dd>the·index·into·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array,·where·the·underlying·value·of90 <dd>the·index·into·the·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array,·where·the·underlying·value·of
66 this·counter·or·gauge·is·found.·The·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array·is·part·of·the91 this·counter·or·gauge·is·found.·The·<a·class="reference·external"·href="reference-Session.html#session">session</a>·stats·array·is·part·of·the
67 <a·class="reference·external"·href="reference-Alerts.html#session_stats_alert">session_stats_alert</a>·object.</dd>92 <a·class="reference·external"·href="reference-Alerts.html#session_stats_alert">session_stats_alert</a>·object.</dd>
68 </dl>93 </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 ···counters&amp;·<strong>operator=</strong>·(counters·const&amp;)·&amp;·; 
78 ···<strong>counters</strong>·(counters·const&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>blend_stats_counter</strong>·(int·c,·std::int64_t·value,·int·ratio)·; 
82 ···void·<strong>set_value</strong>·(int·c,·std::int64_t·value)·; 
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> 
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 <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, 19 lines modifiedOffset 1, 37 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 
7 ····*·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s6 ····*·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s
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)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)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]
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*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*
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"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"
15 describes·one·statistics·metric·from·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·For·more·information,·see·the33 describes·one·statistics·metric·from·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n.·For·more·information,·see·the
16 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8·_\x8s_\x8t_\x8a_\x8t_\x8i_\x8s_\x8t_\x8i_\x8c_\x8s·section.34 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8·_\x8s_\x8t_\x8a_\x8t_\x8i_\x8s_\x8t_\x8i_\x8c_\x8s·section.
17 struct·stats_metric35 struct·stats_metric
18 {36 {
19 ···char·const*·name;37 ···char·const*·name;
Offset 25, 32 lines modifiedOffset 43, 14 lines modified
25 ······the·name·of·the·counter·or·gauge43 ······the·name·of·the·counter·or·gauge
26 [_\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]
27 ··value_index·type45 ··value_index·type
28 ······the·index·into·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array,·where·the·underlying·value·of46 ······the·index·into·the·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array,·where·the·underlying·value·of
29 ······this·counter·or·gauge·is·found.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array·is·part·of·the47 ······this·counter·or·gauge·is·found.·The·_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n·stats·array·is·part·of·the
30 ······_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·object.48 ······_\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8a_\x8l_\x8e_\x8r_\x8t·object.
31 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]49 [_\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 ···counters&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(counters·const&)·&·; 
38 ···c\x8co\x8ou\x8un\x8nt\x8te\x8er\x8rs\x8s·(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·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)·; 
42 ···void·s\x8se\x8et\x8t_\x8_v\x8va\x8al\x8lu\x8ue\x8e·(int·c,·std::int64_t·value)·; 
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
49.1 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Storage.html
    
Offset 33, 52 lines modifiedOffset 33, 52 lines modified
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="#storage-params"·id="toc-entry-1">storage_params</a></li>35 <li><a·class="reference·internal"·href="#storage-params"·id="toc-entry-1">storage_params</a></li>
36 <li><a·class="reference·internal"·href="#file-slice"·id="toc-entry-2">file_slice</a></li>36 <li><a·class="reference·internal"·href="#file-slice"·id="toc-entry-2">file_slice</a></li>
37 <li><a·class="reference·internal"·href="#file-storage"·id="toc-entry-3">file_storage</a><ul>37 <li><a·class="reference·internal"·href="#file-storage"·id="toc-entry-3">file_storage</a><ul>
38 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-4">is_valid()</a></li>38 <li><a·class="reference·internal"·href="#is-valid"·id="toc-entry-4">is_valid()</a></li>
39 <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-5">reserve()</a></li>39 <li><a·class="reference·internal"·href="#reserve"·id="toc-entry-5">reserve()</a></li>
40 <li><a·class="reference·internal"·href="#add-file-borrow-add-file"·id="toc-entry-6">add_file_borrow()·add_file()</a></li>40 <li><a·class="reference·internal"·href="#add-file-add-file-borrow"·id="toc-entry-6">add_file()·add_file_borrow()</a></li>
41 <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-7">rename_file()</a></li>41 <li><a·class="reference·internal"·href="#rename-file"·id="toc-entry-7">rename_file()</a></li>
42 <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-8">map_block()</a></li>42 <li><a·class="reference·internal"·href="#map-block"·id="toc-entry-8">map_block()</a></li>
43 <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-9">map_file()</a></li>43 <li><a·class="reference·internal"·href="#map-file"·id="toc-entry-9">map_file()</a></li>
44 <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-10">num_files()</a></li>44 <li><a·class="reference·internal"·href="#num-files"·id="toc-entry-10">num_files()</a></li>
45 <li><a·class="reference·internal"·href="#end-file"·id="toc-entry-11">end_file()</a></li>45 <li><a·class="reference·internal"·href="#end-file"·id="toc-entry-11">end_file()</a></li>
46 <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-12">file_range()</a></li>46 <li><a·class="reference·internal"·href="#file-range"·id="toc-entry-12">file_range()</a></li>
47 <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-13">total_size()</a></li>47 <li><a·class="reference·internal"·href="#total-size"·id="toc-entry-13">total_size()</a></li>
48 <li><a·class="reference·internal"·href="#set-num-pieces-num-pieces"·id="toc-entry-14">set_num_pieces()·num_pieces()</a></li>48 <li><a·class="reference·internal"·href="#num-pieces-set-num-pieces"·id="toc-entry-14">num_pieces()·set_num_pieces()</a></li>
49 <li><a·class="reference·internal"·href="#end-piece"·id="toc-entry-15">end_piece()</a></li>49 <li><a·class="reference·internal"·href="#end-piece"·id="toc-entry-15">end_piece()</a></li>
50 <li><a·class="reference·internal"·href="#last-piece"·id="toc-entry-16">last_piece()</a></li>50 <li><a·class="reference·internal"·href="#last-piece"·id="toc-entry-16">last_piece()</a></li>
51 <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-17">piece_range()</a></li>51 <li><a·class="reference·internal"·href="#piece-range"·id="toc-entry-17">piece_range()</a></li>
52 <li><a·class="reference·internal"·href="#piece-length-set-piece-length"·id="toc-entry-18">piece_length()·set_piece_length()</a></li>52 <li><a·class="reference·internal"·href="#set-piece-length-piece-length"·id="toc-entry-18">set_piece_length()·piece_length()</a></li>
53 <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-19">piece_size()</a></li>53 <li><a·class="reference·internal"·href="#piece-size"·id="toc-entry-19">piece_size()</a></li>
54 <li><a·class="reference·internal"·href="#piece-size2"·id="toc-entry-20">piece_size2()</a></li>54 <li><a·class="reference·internal"·href="#piece-size2"·id="toc-entry-20">piece_size2()</a></li>
55 <li><a·class="reference·internal"·href="#blocks-in-piece2"·id="toc-entry-21">blocks_in_piece2()</a></li>55 <li><a·class="reference·internal"·href="#blocks-in-piece2"·id="toc-entry-21">blocks_in_piece2()</a></li>
56 <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-22">blocks_per_piece()</a></li>56 <li><a·class="reference·internal"·href="#blocks-per-piece"·id="toc-entry-22">blocks_per_piece()</a></li>
57 <li><a·class="reference·internal"·href="#set-name-name"·id="toc-entry-23">set_name()·name()</a></li>57 <li><a·class="reference·internal"·href="#set-name-name"·id="toc-entry-23">set_name()·name()</a></li>
58 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-24">swap()</a></li>58 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-24">swap()</a></li>
59 <li><a·class="reference·internal"·href="#canonicalize"·id="toc-entry-25">canonicalize()</a></li>59 <li><a·class="reference·internal"·href="#canonicalize"·id="toc-entry-25">canonicalize()</a></li>
60 <li><a·class="reference·internal"·href="#root-ptr-pad-file-at-file-path-root-file-offset-hash-file-size-mtime-symlink-file-name"·id="toc-entry-26">root_ptr()·pad_file_at()·file_path()·root()·file_offset()·hash()·file_size()·mtime()·symlink()·file_name()</a></li>60 <li><a·class="reference·internal"·href="#hash-file-size-file-name-root-pad-file-at-mtime-file-path-symlink-root-ptr-file-offset"·id="toc-entry-26">hash()·file_size()·file_name()·root()·pad_file_at()·mtime()·file_path()·symlink()·root_ptr()·file_offset()</a></li>
61 <li><a·class="reference·internal"·href="#file-num-pieces-file-piece-range-file-num-blocks"·id="toc-entry-27">file_num_pieces()·file_piece_range()·file_num_blocks()</a></li>61 <li><a·class="reference·internal"·href="#file-piece-range-file-num-blocks-file-num-pieces"·id="toc-entry-27">file_piece_range()·file_num_blocks()·file_num_pieces()</a></li>
62 <li><a·class="reference·internal"·href="#file-first-block-node-file-first-piece-node"·id="toc-entry-28">file_first_block_node()·file_first_piece_node()</a></li>62 <li><a·class="reference·internal"·href="#file-first-block-node-file-first-piece-node"·id="toc-entry-28">file_first_block_node()·file_first_piece_node()</a></li>
63 <li><a·class="reference·internal"·href="#file-path-hash"·id="toc-entry-29">file_path_hash()</a></li>63 <li><a·class="reference·internal"·href="#file-path-hash"·id="toc-entry-29">file_path_hash()</a></li>
64 <li><a·class="reference·internal"·href="#all-path-hashes"·id="toc-entry-30">all_path_hashes()</a></li>64 <li><a·class="reference·internal"·href="#all-path-hashes"·id="toc-entry-30">all_path_hashes()</a></li>
65 <li><a·class="reference·internal"·href="#file-flags"·id="toc-entry-31">file_flags()</a></li>65 <li><a·class="reference·internal"·href="#file-flags"·id="toc-entry-31">file_flags()</a></li>
66 <li><a·class="reference·internal"·href="#file-absolute-path"·id="toc-entry-32">file_absolute_path()</a></li>66 <li><a·class="reference·internal"·href="#file-absolute-path"·id="toc-entry-32">file_absolute_path()</a></li>
67 <li><a·class="reference·internal"·href="#file-index-at-offset-file-index-at-piece"·id="toc-entry-33">file_index_at_offset()·file_index_at_piece()</a></li>67 <li><a·class="reference·internal"·href="#file-index-at-offset-file-index-at-piece"·id="toc-entry-33">file_index_at_offset()·file_index_at_piece()</a></li>
68 <li><a·class="reference·internal"·href="#file-index-for-root"·id="toc-entry-34">file_index_for_root()</a></li>68 <li><a·class="reference·internal"·href="#file-index-for-root"·id="toc-entry-34">file_index_for_root()</a></li>
69 <li><a·class="reference·internal"·href="#piece-index-at-file"·id="toc-entry-35">piece_index_at_file()</a></li>69 <li><a·class="reference·internal"·href="#piece-index-at-file"·id="toc-entry-35">piece_index_at_file()</a></li>
70 <li><a·class="reference·internal"·href="#sanitize-symlinks"·id="toc-entry-36">sanitize_symlinks()</a></li>70 <li><a·class="reference·internal"·href="#sanitize-symlinks"·id="toc-entry-36">sanitize_symlinks()</a></li>
71 <li><a·class="reference·internal"·href="#v2"·id="toc-entry-37">v2()</a></li>71 <li><a·class="reference·internal"·href="#v2"·id="toc-entry-37">v2()</a></li>
72 </ul>72 </ul>
73 </li>73 </li>
74 <li><a·class="reference·internal"·href="#mmap-disk-io-constructor"·id="toc-entry-38">mmap_disk_io_constructor()</a></li> 
75 <li><a·class="reference·internal"·href="#default-disk-io-constructor"·id="toc-entry-39">default_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>
76 <li><a·class="reference·internal"·href="#disabled-disk-io-constructor"·id="toc-entry-40">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>
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="storage_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_params&labels=documentation&body=Documentation+under+heading+%22class+storage_params%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="storage-params">83 <a·name="storage_params"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+storage_params&labels=documentation&body=Documentation+under+heading+%22class+storage_params%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="storage-params">
84 <h1>storage_params</h1>84 <h1>storage_params</h1>
Offset 139, 31 lines modifiedOffset 139, 31 lines modified
139 size.·Everything·necessary·to·interpret·a·regular·bittorrent·storage139 size.·Everything·necessary·to·interpret·a·regular·bittorrent·storage
140 file·structure.</p>140 file·structure.</p>
141 <pre·class="literal-block">141 <pre·class="literal-block">
142 class·file_storage142 class·file_storage
143 {143 {
144 ···bool·<strong>is_valid</strong>·()·const;144 ···bool·<strong>is_valid</strong>·()·const;
145 ···void·<strong>reserve</strong>·(int·num_files);145 ···void·<strong>reserve</strong>·(int·num_files);
146 ···void·<strong>add_file_borrow</strong>·(error_code&amp;·ec,·string_view·filename 
147 ······,·std::string·const&amp;·path,·std::int64_t·file_size146 ···void·<strong>add_file</strong>·(std::string·const&amp;·path,·std::int64_t·file_size
148 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr147 ······,·file_flags_t·file_flags·=·{}
149 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()148 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()
150 ······,·char·const*·root_hash·=·nullptr);149 ······,·char·const*·root_hash·=·nullptr);
151 ···void·<strong>add_file_borrow</strong>·(string_view·filename150 ···void·<strong>add_file_borrow</strong>·(error_code&amp;·ec,·string_view·filename
152 ······,·std::string·const&amp;·path,·std::int64_t·file_size151 ······,·std::string·const&amp;·path,·std::int64_t·file_size
153 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr152 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr
154 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()153 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()
155 ······,·char·const*·root_hash·=·nullptr);154 ······,·char·const*·root_hash·=·nullptr);
156 ···void·<strong>add_file</strong>·(error_code&amp;·ec,·std::string·const&amp;·path,·std::int64_t·file_size155 ···void·<strong>add_file</strong>·(error_code&amp;·ec,·std::string·const&amp;·path,·std::int64_t·file_size
157 ······,·file_flags_t·file_flags·=·{}156 ······,·file_flags_t·file_flags·=·{}
158 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()157 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()
159 ······,·char·const*·root_hash·=·nullptr);158 ······,·char·const*·root_hash·=·nullptr);
 159 ···void·<strong>add_file_borrow</strong>·(string_view·filename
160 ···void·<strong>add_file</strong>·(std::string·const&amp;·path,·std::int64_t·file_size160 ······,·std::string·const&amp;·path,·std::int64_t·file_size
161 ······,·file_flags_t·file_flags·=·{}161 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr
162 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()162 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()
163 ······,·char·const*·root_hash·=·nullptr);163 ······,·char·const*·root_hash·=·nullptr);
164 ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&amp;·new_filename);164 ···void·<strong>rename_file</strong>·(file_index_t·index,·std::string·const&amp;·new_filename);
165 ···std::vector&lt;file_slice&gt;·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset165 ···std::vector&lt;file_slice&gt;·<strong>map_block</strong>·(piece_index_t·piece,·std::int64_t·offset
166 ······,·std::int64_t·size)·const;166 ······,·std::int64_t·size)·const;
167 ···peer_request·<strong>map_file</strong>·(file_index_t·file,·std::int64_t·offset,·int·size)·const;167 ···peer_request·<strong>map_file</strong>·(file_index_t·file,·std::int64_t·offset,·int·size)·const;
168 ···int·<strong>num_files</strong>·()·const·noexcept;168 ···int·<strong>num_files</strong>·()·const·noexcept;
169 ···file_index_t·<strong>end_file</strong>·()·const·noexcept;169 ···file_index_t·<strong>end_file</strong>·()·const·noexcept;
Offset 180, 24 lines modifiedOffset 180, 24 lines modified
180 ···int·<strong>piece_size2</strong>·(piece_index_t·index)·const;180 ···int·<strong>piece_size2</strong>·(piece_index_t·index)·const;
181 ···int·<strong>blocks_in_piece2</strong>·(piece_index_t·index)·const;181 ···int·<strong>blocks_in_piece2</strong>·(piece_index_t·index)·const;
182 ···int·<strong>blocks_per_piece</strong>·()·const;182 ···int·<strong>blocks_per_piece</strong>·()·const;
183 ···std::string·const&amp;·<strong>name</strong>·()·const;183 ···std::string·const&amp;·<strong>name</strong>·()·const;
184 ···void·<strong>set_name</strong>·(std::string·const&amp;·n);184 ···void·<strong>set_name</strong>·(std::string·const&amp;·n);
185 ···void·<strong>swap</strong>·(file_storage&amp;·ti)·noexcept;185 ···void·<strong>swap</strong>·(file_storage&amp;·ti)·noexcept;
186 ···void·<strong>canonicalize</strong>·();186 ···void·<strong>canonicalize</strong>·();
 187 ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&amp;·save_path·=·&quot;&quot;)·const;
187 ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const;188 ···std::int64_t·<strong>file_offset</strong>·(file_index_t·index)·const;
188 ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const; 
189 ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const; 
190 ···string_view·<strong>file_name</strong>·(file_index_t·index)·const; 
191 ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const;189 ···sha1_hash·<strong>hash</strong>·(file_index_t·index)·const;
192 ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const; 
193 ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const; 
194 ···std::string·<strong>symlink</strong>·(file_index_t·index)·const;190 ···std::string·<strong>symlink</strong>·(file_index_t·index)·const;
 191 ···char·const*·<strong>root_ptr</strong>·(file_index_t·const·index)·const;
195 ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const;192 ···bool·<strong>pad_file_at</strong>·(file_index_t·index)·const;
196 ···std::string·<strong>file_path</strong>·(file_index_t·index,·std::string·const&amp;·save_path·=·&quot;&quot;)·const;193 ···string_view·<strong>file_name</strong>·(file_index_t·index)·const;
 194 ···std::int64_t·<strong>file_size</strong>·(file_index_t·index)·const;
 195 ···sha256_hash·<strong>root</strong>·(file_index_t·index)·const;
 196 ···std::time_t·<strong>mtime</strong>·(file_index_t·index)·const;
197 ···index_range&lt;piece_index_t::diff_type&gt;·<strong>file_piece_range</strong>·(file_index_t)·const;197 ···index_range&lt;piece_index_t::diff_type&gt;·<strong>file_piece_range</strong>·(file_index_t)·const;
198 ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const;198 ···int·<strong>file_num_blocks</strong>·(file_index_t·index)·const;
199 ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const;199 ···int·<strong>file_num_pieces</strong>·(file_index_t·index)·const;
200 ···int·<strong>file_first_piece_node</strong>·(file_index_t·index)·const;200 ···int·<strong>file_first_piece_node</strong>·(file_index_t·index)·const;
201 ···int·<strong>file_first_block_node</strong>·(file_index_t·index)·const;201 ···int·<strong>file_first_block_node</strong>·(file_index_t·index)·const;
202 ···std::uint32_t·<strong>file_path_hash</strong>·(file_index_t·index,·std::string·const&amp;·save_path)·const;202 ···std::uint32_t·<strong>file_path_hash</strong>·(file_index_t·index,·std::string·const&amp;·save_path)·const;
203 ···void·<strong>all_path_hashes</strong>·(std::unordered_set&lt;std::uint32_t&gt;&amp;·table)·const;203 ···void·<strong>all_path_hashes</strong>·(std::unordered_set&lt;std::uint32_t&gt;&amp;·table)·const;
Offset 230, 36 lines modifiedOffset 230, 36 lines modified
230 <h2>reserve()</h2>230 <h2>reserve()</h2>
231 <pre·class="literal-block">231 <pre·class="literal-block">
232 void·<strong>reserve</strong>·(int·num_files);232 void·<strong>reserve</strong>·(int·num_files);
233 </pre>233 </pre>
234 <p>allocates·space·for·<tt·class="docutils·literal">num_files</tt>·in·the·internal·file·list.·This·can234 <p>allocates·space·for·<tt·class="docutils·literal">num_files</tt>·in·the·internal·file·list.·This·can
235 be·used·to·avoid·reallocating·the·internal·file·list·when·the·number235 be·used·to·avoid·reallocating·the·internal·file·list·when·the·number
236 of·files·to·be·added·is·known·up-front.</p>236 of·files·to·be·added·is·known·up-front.</p>
237 <a·name="add_file_borrow()"></a>237 <a·name="add_file()"></a>
238 <a·name="add_file()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_storage%3A%3A%5Badd_file_borrow%28%29+add_file%28%29%5D&labels=documentation&body=Documentation+under+heading+%22file_storage%3A%3A%5Badd_file_borro[·...·truncated·by·diffoscope;·len:·16,·SHA:·435a3e5ce06d720dfa073e06260e7b3f596bf0344a1b10d09ee5dc03a980e6b3·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>238 <a·name="add_file_borrow()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:file_storage%3A%3A%5Badd_file%28%29+add_file_borrow%28%29%5D&labels=documentation&body=Documentation+under+heading+%22file_storage%3A%3A%5Badd_fil[·...·truncated·by·diffoscope;·len:·23,·SHA:·2cbd7a4c407072652a0e700762035feff48d25b142ed9da9e4e62e5b0e9175c9·...·]%28%29%5D%22+could+be+improved">report·issue</a>]</span></div>
239 <div·class="section"·id="add-file-borrow-add-file">239 <div·class="section"·id="add-file-add-file-borrow">
Max diff block lines reached; 15928/28563 bytes (55.76%) of diff not shown.
21.1 KB
html2text {}
    
Offset 4, 51 lines modifiedOffset 4, 51 lines modified
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__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s6 ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s
7 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8l_\x8i_\x8c_\x8e7 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8l_\x8i_\x8c_\x8e
8 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e8 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e
9 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)9 ··········o·_\x8i_\x8s_\x8__\x8v_\x8a_\x8l_\x8i_\x8d_\x8(_\x8)
10 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8)10 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8r_\x8v_\x8e_\x8(_\x8)
11 ··········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·_\x8a_\x8d_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_.)_.·_.a_.d_.d_.__.f_.i_.l_.e_.__.b_.o_.r_.r_.o_.w_\x8(_\x8)
12 ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)12 ··········o·_\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
13 ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8)13 ··········o·_\x8m_\x8a_\x8p_\x8__\x8b_\x8l_\x8o_\x8c_\x8k_\x8(_\x8)
14 ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)14 ··········o·_\x8m_\x8a_\x8p_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
15 ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)15 ··········o·_\x8n_\x8u_\x8m_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
16 ··········o·_\x8e_\x8n_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)16 ··········o·_\x8e_\x8n_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
17 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)17 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)
18 ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)18 ··········o·_\x8t_\x8o_\x8t_\x8a_\x8l_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)
19 ··········o·_\x8s_.e_.t_.__.n_.u_.m_.__.p_.i_.e_.c_.e_.s_.(_.)_.·_\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)19 ··········o·_\x8n_.u_.m_.__.p_.i_.e_.c_.e_.s_.(_.)_.·_.s_.e_.t_.__\x8n_\x8u_\x8m_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)
20 ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)20 ··········o·_\x8e_\x8n_\x8d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
21 ··········o·_\x8l_\x8a_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)21 ··········o·_\x8l_\x8a_\x8s_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
22 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)22 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8r_\x8a_\x8n_\x8g_\x8e_\x8(_\x8)
23 ··········o·_\x8p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_.(_.)_.·_.s_.e_.t_.__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)23 ··········o·_\x8s_.e_.t_.__.p_.i_.e_.c_.e_.__.l_.e_.n_.g_.t_.h_.(_.)_.·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8e_\x8n_\x8g_\x8t_\x8h_\x8(_\x8)
24 ··········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_\x8(_\x8)
25 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x82_\x8(_\x8)25 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x82_\x8(_\x8)
26 ··········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__\x8i_\x8n_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x82_\x8(_\x8)
27 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)27 ··········o·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8s_\x8__\x8p_\x8e_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
28 ··········o·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8)28 ··········o·_\x8s_\x8e_\x8t_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)_\x8·_\x8n_\x8a_\x8m_\x8e_\x8(_\x8)
29 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)29 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)
30 ··········o·_\x8c_\x8a_\x8n_\x8o_\x8n_\x8i_\x8c_\x8a_\x8l_\x8i_\x8z_\x8e_\x8(_\x8)30 ··········o·_\x8c_\x8a_\x8n_\x8o_\x8n_\x8i_\x8c_\x8a_\x8l_\x8i_\x8z_\x8e_\x8(_\x8)
31 ··········o·_\x8r_\x8o_\x8o_\x8t_\x8__\x8p_\x8t_\x8r_\x8(_\x8)_\x8·_\x8p_\x8a_\x8d_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8a_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8h_\x8a_\x8s_\x8h_\x8(_\x8) 
32 ············_\x8f_\x8i_\x8l_\x8e_\x8__\x8s_\x8i_\x8z_\x8e_\x8(_\x8)_\x8·_\x8m_\x8t_\x8i_\x8m_\x8e_\x8(_\x8)_\x8·_\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8) 
33 ··········o·_\x8f_.i_.l_.e_.__.n_.u_.m_.__.p_.i_.e_.c_.e_.s_.(_.)_.·_.f_.i_.l_.e_.__.p_.i_.e_.c_.e_.__.r_.a_.n_.g_.e_.(_.)_.·_.f_.i_.l_.e_.__.n_.u_.m_.__.b_.l_.o_.c_.k_.s_\x8(_\x8)31 ··········o·_\x8h_.a_.s_.h_.(_.)_.·_.f_.i_.l_.e_.__.s_.i_.z_.e_.(_.)_.·_.f_.i_.l_.e_.__.n_.a_.m_.e_.(_.)_.·_.r_.o_.o_.t_.(_.)_.·_.p_.a_.d_.__.f_.i_.l_.e_.__.a_.t_.(_.)_.·_.m_.t_.i_.m_.e_\x8(_\x8)
 32 ············_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)_\x8·_\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8(_\x8)_\x8·_\x8r_\x8o_\x8o_\x8t_\x8__\x8p_\x8t_\x8r_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)
 33 ··········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)
34 ··········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)34 ··········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)
35 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)35 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)
36 ··········o·_\x8a_\x8l_\x8l_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)36 ··········o·_\x8a_\x8l_\x8l_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)
37 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)37 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)
38 ··········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__\x8a_\x8b_\x8s_\x8o_\x8l_\x8u_\x8t_\x8e_\x8__\x8p_\x8a_\x8t_\x8h_\x8(_\x8)
39 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)39 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8o_\x8f_\x8f_\x8s_\x8e_\x8t_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
40 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8)40 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8f_\x8o_\x8r_\x8__\x8r_\x8o_\x8o_\x8t_\x8(_\x8)
41 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)41 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8d_\x8e_\x8x_\x8__\x8a_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
42 ··········o·_\x8s_\x8a_\x8n_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8s_\x8(_\x8)42 ··········o·_\x8s_\x8a_\x8n_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8s_\x8y_\x8m_\x8l_\x8i_\x8n_\x8k_\x8s_\x8(_\x8)
43 ··········o·_\x8v_\x82_\x8(_\x8)43 ··········o·_\x8v_\x82_\x8(_\x8)
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_\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)
46 ····*·_\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)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*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*52 *\x8**\x8**\x8**\x8**\x8**\x8*·s\x8st\x8to\x8or\x8ra\x8ag\x8ge\x8e_\x8_p\x8pa\x8ar\x8ra\x8am\x8ms\x8s·*\x8**\x8**\x8**\x8**\x8**\x8*
53 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8d_\x8e_\x8f_\x8s_\x8._\x8h_\x8p_\x8p"53 Declared·in·"_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8/_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8d_\x8e_\x8f_\x8s_\x8._\x8h_\x8p_\x8p"
54 a·parameter·pack·used·to·construct·the·storage·for·a·torrent,·used·in54 a·parameter·pack·used·to·construct·the·storage·for·a·torrent,·used·in
Offset 96, 32 lines modifiedOffset 96, 32 lines modified
96 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"96 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"
97 The·file_storage·class·represents·a·file·list·and·the·piece·size.·Everything97 The·file_storage·class·represents·a·file·list·and·the·piece·size.·Everything
98 necessary·to·interpret·a·regular·bittorrent·storage·file·structure.98 necessary·to·interpret·a·regular·bittorrent·storage·file·structure.
99 class·file_storage99 class·file_storage
100 {100 {
101 ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const;101 ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const;
102 ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files);102 ···void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files);
103 ···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 
104 ······,·std::string·const&·path,·std::int64_t·file_size103 ···void·a.ad.dd.d_._f.fi.il.le.e·(std::string·const&·path,·std::int64_t·file_size
105 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr104 ······,·file_flags_t·file_flags·=·{}
106 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()105 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()
107 ······,·char·const*·root_hash·=·nullptr);106 ······,·char·const*·root_hash·=·nullptr);
108 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename107 ···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
109 ······,·std::string·const&·path,·std::int64_t·file_size108 ······,·std::string·const&·path,·std::int64_t·file_size
110 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr109 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr
111 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()110 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()
112 ······,·char·const*·root_hash·=·nullptr);111 ······,·char·const*·root_hash·=·nullptr);
113 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t112 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e·(error_code&·ec,·std::string·const&·path,·std::int64_t
114 file_size113 file_size
115 ······,·file_flags_t·file_flags·=·{}114 ······,·file_flags_t·file_flags·=·{}
116 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()115 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()
117 ······,·char·const*·root_hash·=·nullptr);116 ······,·char·const*·root_hash·=·nullptr);
 117 ···void·a\x8ad\x8dd\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_b\x8bo\x8or\x8rr\x8ro\x8ow\x8w·(string_view·filename
118 ···void·a.ad.dd.d_._f.fi.il.le.e·(std::string·const&·path,·std::int64_t·file_size118 ······,·std::string·const&·path,·std::int64_t·file_size
119 ······,·file_flags_t·file_flags·=·{}119 ······,·file_flags_t·file_flags·=·{},·char·const*·filehash·=·nullptr
120 ······,·std::time_t·mtime·=·0,·string_view·symlink_path·=·string_view()120 ······,·std::int64_t·mtime·=·0,·string_view·symlink_path·=·string_view()
121 ······,·char·const*·root_hash·=·nullptr);121 ······,·char·const*·root_hash·=·nullptr);
122 ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename);122 ···void·r\x8re\x8en\x8na\x8am\x8me\x8e_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·index,·std::string·const&·new_filename);
123 ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·piece,·std::int64_t·offset123 ···std::vector<file_slice>·m\x8ma\x8ap\x8p_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k·(piece_index_t·piece,·std::int64_t·offset
124 ······,·std::int64_t·size)·const;124 ······,·std::int64_t·size)·const;
125 ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·file,·std::int64_t·offset,·int·size)125 ···peer_request·m\x8ma\x8ap\x8p_\x8_f\x8fi\x8il\x8le\x8e·(file_index_t·file,·std::int64_t·offset,·int·size)
126 const;126 const;
127 ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const·noexcept;127 ···int·n\x8nu\x8um\x8m_\x8_f\x8fi\x8il\x8le\x8es\x8s·()·const·noexcept;
Offset 139, 25 lines modifiedOffset 139, 25 lines modified
139 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e2\x82·(piece_index_t·index)·const;139 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e2\x82·(piece_index_t·index)·const;
140 ···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;140 ···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;
141 ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;141 ···int·b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s_\x8_p\x8pe\x8er\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const;
142 ···std::string·const&·n\x8na\x8am\x8me\x8e·()·const;142 ···std::string·const&·n\x8na\x8am\x8me\x8e·()·const;
143 ···void·s\x8se\x8et\x8t_\x8_n\x8na\x8am\x8me\x8e·(std::string·const&·n);143 ···void·s\x8se\x8et\x8t_\x8_n\x8na\x8am\x8me\x8e·(std::string·const&·n);
144 ···void·s\x8sw\x8wa\x8ap\x8p·(file_storage&·ti)·noexcept;144 ···void·s\x8sw\x8wa\x8ap\x8p·(file_storage&·ti)·noexcept;
145 ···void·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8li\x8iz\x8ze\x8e·();145 ···void·c\x8ca\x8an\x8no\x8on\x8ni\x8ic\x8ca\x8al\x8li\x8iz\x8ze\x8e·();
 146 ···std::string·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index,·std::string·const&·save_path·=
 147 "")·const;
146 ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·const;148 ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_o\x8of\x8ff\x8fs\x8se\x8et\x8t·(file_index_t·index)·const;
147 ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(file_index_t·index)·const; 
148 ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const; 
149 ···string_view·f\x8fi\x8il\x8le\x8e_\x8_n\x8na\x8am\x8me\x8e·(file_index_t·index)·const; 
150 ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const;149 ···sha1_hash·h\x8ha\x8as\x8sh\x8h·(file_index_t·index)·const;
151 ···char·const*·r\x8ro\x8oo\x8ot\x8t_\x8_p\x8pt\x8tr\x8r·(file_index_t·const·index)·const; 
152 ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const; 
153 ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const;150 ···std::string·s\x8sy\x8ym\x8ml\x8li\x8in\x8nk\x8k·(file_index_t·index)·const;
 151 ···char·const*·r\x8ro\x8oo\x8ot\x8t_\x8_p\x8pt\x8tr\x8r·(file_index_t·const·index)·const;
154 ···bool·p\x8pa\x8ad\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_a\x8at\x8t·(file_index_t·index)·const;152 ···bool·p\x8pa\x8ad\x8d_\x8_f\x8fi\x8il\x8le\x8e_\x8_a\x8at\x8t·(file_index_t·index)·const;
155 ···std::string·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h·(file_index_t·index,·std::string·const&·save_path·= 
156 "")·const;153 ···string_view·f.fi.il.le.e_._n.na.am.me.e·(file_index_t·index)·const;
 154 ···std::int64_t·f\x8fi\x8il\x8le\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(file_index_t·index)·const;
 155 ···sha256_hash·r\x8ro\x8oo\x8ot\x8t·(file_index_t·index)·const;
 156 ···std::time_t·m\x8mt\x8ti\x8im\x8me\x8e·(file_index_t·index)·const;
157 ···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;157 ···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;
158 ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·(file_index_t·index)·const;158 ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_b\x8bl\x8lo\x8oc\x8ck\x8ks\x8s·(file_index_t·index)·const;
159 ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(file_index_t·index)·const;159 ···int·f\x8fi\x8il\x8le\x8e_\x8_n\x8nu\x8um\x8m_\x8_p\x8pi\x8ie\x8ec\x8ce\x8es\x8s·(file_index_t·index)·const;
160 ···int·f\x8fi\x8il\x8le\x8e_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_n\x8no\x8od\x8de\x8e·(file_index_t·index)·const;160 ···int·f\x8fi\x8il\x8le\x8e_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_n\x8no\x8od\x8de\x8e·(file_index_t·index)·const;
161 ···int·f\x8fi\x8il\x8le\x8e_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_n\x8no\x8od\x8de\x8e·(file_index_t·index)·const;161 ···int·f\x8fi\x8il\x8le\x8e_\x8_f\x8fi\x8ir\x8rs\x8st\x8t_\x8_b\x8bl\x8lo\x8oc\x8ck\x8k_\x8_n\x8no\x8od\x8de\x8e·(file_index_t·index)·const;
162 ···std::uint32_t·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h_\x8_h\x8ha\x8as\x8sh\x8h·(file_index_t·index,·std::string·const&162 ···std::uint32_t·f\x8fi\x8il\x8le\x8e_\x8_p\x8pa\x8at\x8th\x8h_\x8_h\x8ha\x8as\x8sh\x8h·(file_index_t·index,·std::string·const&
163 save_path)·const;163 save_path)·const;
Offset 185, 32 lines modifiedOffset 185, 32 lines modified
185 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]185 [_\x8r_\x8e_\x8p_\x8o_\x8r_\x8t_\x8·_\x8i_\x8s_\x8s_\x8u_\x8e]
186 *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*186 *\x8**\x8**\x8**\x8**\x8*·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
187 void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files);187 void·r\x8re\x8es\x8se\x8er\x8rv\x8ve\x8e·(int·num_files);
188 allocates·space·for·num_files·in·the·internal·file·list.·This·can·be·used·to188 allocates·space·for·num_files·in·the·internal·file·list.·This·can·be·used·to
189 avoid·reallocating·the·internal·file·list·when·the·number·of·files·to·be·added189 avoid·reallocating·the·internal·file·list·when·the·number·of·files·to·be·added
190 is·known·up-front.190 is·known·up-front.
Max diff block lines reached; 11948/21548 bytes (55.45%) of diff not shown.
112 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Handle.html
    
Offset 42, 49 lines modifiedOffset 42, 49 lines modified
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="#get-peer-info-post-peer-info"·id="toc-entry-10">get_peer_info()·post_peer_info()</a></li>46 <li><a·class="reference·internal"·href="#get-peer-info-post-peer-info"·id="toc-entry-10">get_peer_info()·post_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="#get-download-queue-post-download-queue"·id="toc-entry-12">get_download_queue()·post_download_queue()</a></li>
49 <li><a·class="reference·internal"·href="#clear-piece-deadlines-reset-piece-deadline-set-piece-deadline"·id="toc-entry-13">clear_piece_deadlines()·reset_piece_deadline()·set_piece_deadline()</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>
50 <li><a·class="reference·internal"·href="#file-progress-post-file-progress"·id="toc-entry-14">file_progress()·post_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-post-trackers-add-tracker-trackers"·id="toc-entry-17">replace_trackers()·post_trackers()·add_tracker()·trackers()</a></li>53 <li><a·class="reference·internal"·href="#replace-trackers-trackers-add-tracker-post-trackers"·id="toc-entry-17">replace_trackers()·trackers()·add_tracker()·post_trackers()</a></li>
54 <li><a·class="reference·internal"·href="#url-seeds-add-url-seed-remove-url-seed"·id="toc-entry-18">url_seeds()·add_url_seed()·remove_url_seed()</a></li>54 <li><a·class="reference·internal"·href="#add-url-seed-url-seeds-remove-url-seed"·id="toc-entry-18">add_url_seed()·url_seeds()·remove_url_seed()</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="#remove-http-seed-http-seeds-add-http-seed"·id="toc-entry-19">remove_http_seed()·http_seeds()·add_http_seed()</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="#pause-resume"·id="toc-entry-23">pause()·resume()</a></li>59 <li><a·class="reference·internal"·href="#pause-resume"·id="toc-entry-23">pause()·resume()</a></li>
60 <li><a·class="reference·internal"·href="#flags-unset-flags-set-flags"·id="toc-entry-24">flags()·unset_flags()·set_flags()</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>
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-down-queue-position-top-queue-position-queue-position-bottom-queue-position-up"·id="toc-entry-29">queue_position_down()·queue_position_top()·queue_position()·queue_position_bottom()·queue_position_up()</a></li>65 <li><a·class="reference·internal"·href="#queue-position-up-queue-position-down-queue-position-top-queue-position-bottom-queue-position"·id="toc-entry-29">queue_position_up()·queue_position_down()·queue_position_top()·queue_position_bottom()·queue_position()</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-buffer-set-ssl-certificate"·id="toc-entry-31">set_ssl_certificate_buffer()·set_ssl_certificate()</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-torrent-file-with-hashes"·id="toc-entry-32">torrent_file()·torrent_file_with_hashes()</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="#prioritize-pieces-piece-priority-get-piece-priorities"·id="toc-entry-35">prioritize_pieces()·piece_priority()·get_piece_priorities()</a></li>71 <li><a·class="reference·internal"·href="#prioritize-pieces-piece-priority-get-piece-priorities"·id="toc-entry-35">prioritize_pieces()·piece_priority()·get_piece_priorities()</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>72 <li><a·class="reference·internal"·href="#prioritize-files-get-file-priorities-file-priority"·id="toc-entry-36">prioritize_files()·get_file_priorities()·file_priority()</a></li>
73 <li><a·class="reference·internal"·href="#force-reannounce-force-dht-announce-force-lsd-announce"·id="toc-entry-37">force_reannounce()·force_dht_announce()·force_lsd_announce()</a></li>73 <li><a·class="reference·internal"·href="#force-lsd-announce-force-dht-announce-force-reannounce"·id="toc-entry-37">force_lsd_announce()·force_dht_announce()·force_reannounce()</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-download-limit-upload-limit-set-upload-limit-download-limit"·id="toc-entry-39">set_download_limit()·upload_limit()·set_upload_limit()·download_limit()</a></li>75 <li><a·class="reference·internal"·href="#set-download-limit-upload-limit-set-upload-limit-download-limit"·id="toc-entry-39">set_download_limit()·upload_limit()·set_upload_limit()·download_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="#set-max-uploads-max-uploads"·id="toc-entry-42">set_max_uploads()·max_uploads()</a></li>
79 <li><a·class="reference·internal"·href="#max-connections-set-max-connections"·id="toc-entry-43">max_connections()·set_max_connections()</a></li>79 <li><a·class="reference·internal"·href="#max-connections-set-max-connections"·id="toc-entry-43">max_connections()·set_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-hash-info-hashes"·id="toc-entry-46">info_hash()·info_hashes()</a></li>82 <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-46">info_hashes()·info_hash()</a></li>
83 <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator!=()·operator==()·operator&lt;()</a></li>83 <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator!=()·operator&lt;()·operator==()</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 ···<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);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;
  
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="set_peer()"></a>118 <a·name="set_peer()"></a>
119 <a·name="peer()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:block_info%3A%3A%5Bset_peer%28%29+peer%28%29%5D&labels=documentation&body=Documentation+under+heading+%22block_info%3A%3A%5Bset_peer%28%29+peer%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="set-peer-peer">119 <a·name="peer()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:block_info%3A%3A%5Bset_peer%28%29+peer%28%29%5D&labels=documentation&body=Documentation+under+heading+%22block_info%3A%3A%5Bset_peer%28%29+peer%28%29%5D%22+could+be+improved">report·issue</a>]</span><div·class="section"·id="set-peer-peer">
120 <h2>set_peer()·peer()</h2>120 <h2>set_peer()·peer()</h2>
121 <pre·class="literal-block">121 <pre·class="literal-block">
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);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;
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, 118 lines modifiedOffset 254, 118 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_Handle.html#is_valid()">is_valid()</a>·will·never·throw.·Since·the·torrents261 There·is·one·exception·<a·class="reference·external"·href="reference-Torrent_Info.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,·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;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;
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;
 275 ···void·<strong>get_peer_info</strong>·(std::vector&lt;peer_info&gt;&amp;·v)·const;
276 ···torrent_status·<strong>status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const;276 ···torrent_status·<strong>status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const;
277 ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const;277 ···void·<strong>post_status</strong>·(status_flags_t·flags·=·status_flags_t::all())·const;
278 ···void·<strong>get_download_queue</strong>·(std::vector&lt;partial_piece_info&gt;&amp;·queue)·const; 
279 ···void·<strong>post_download_queue</strong>·()·const;278 ···void·<strong>post_download_queue</strong>·()·const;
 279 ···void·<strong>get_download_queue</strong>·(std::vector&lt;partial_piece_info&gt;&amp;·queue)·const;
280 ···std::vector&lt;partial_piece_info&gt;·<strong>get_download_queue</strong>·()·const;280 ···std::vector&lt;partial_piece_info&gt;·<strong>get_download_queue</strong>·()·const;
 281 ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const;
281 ···void·<strong>set_piece_deadline</strong>·(piece_index_t·index,·int·deadline,·deadline_flags_t·flags·=·{})·const;282 ···void·<strong>set_piece_deadline</strong>·(piece_index_t·index,·int·deadline,·deadline_flags_t·flags·=·{})·const;
282 ···void·<strong>clear_piece_deadlines</strong>·()·const;283 ···void·<strong>clear_piece_deadlines</strong>·()·const;
283 ···void·<strong>reset_piece_deadline</strong>·(piece_index_t·index)·const; 
284 ···void·<strong>post_file_progress</strong>·(file_progress_flags_t·flags)·const;284 ···void·<strong>post_file_progress</strong>·(file_progress_flags_t·flags)·const;
285 ···void·<strong>file_progress</strong>·(std::vector&lt;std::int64_t&gt;&amp;·progress,·file_progress_flags_t·flags·=·{})·const;285 ···void·<strong>file_progress</strong>·(std::vector&lt;std::int64_t&gt;&amp;·progress,·file_progress_flags_t·flags·=·{})·const;
286 ···std::vector&lt;std::int64_t&gt;·<strong>file_progress</strong>·(file_progress_flags_t·flags·=·{})·const;286 ···std::vector&lt;std::int64_t&gt;·<strong>file_progress</strong>·(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 ···void·<strong>replace_trackers</strong>·(std::vector&lt;announce_entry&gt;·const&amp;)·const;
289 ···void·<strong>add_tracker</strong>·(announce_entry·const&amp;)·const;290 ···void·<strong>add_tracker</strong>·(announce_entry·const&amp;)·const;
Max diff block lines reached; 51801/65492 bytes (79.10%) of diff not shown.
48.3 KB
html2text {}
    
Offset 11, 65 lines modifiedOffset 11, 65 lines modified
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·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)15 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\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)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·_\x8c_.l_.e_.a_.r_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_.s_.(_.)_.·_.r_.e_.s_.e_.t_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8d_\x8e_\x8a_\x8d_\x8l_\x8i_\x8n_\x8e_\x8(_\x8)18 ··········o·_\x8r_.e_.s_.e_.t_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_.(_.)_.·_.c_.l_.e_.a_.r_.__.p_.i_.e_.c_.e_.__.d_.e_.a_.d_.l_.i_.n_.e_.s_\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·_\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)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_\x8e_\x8p_\x8l_\x8a_\x8c_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8p_.o_.s_.t_.__.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)22 ··········o·_\x8r_\x8e_\x8p_\x8l_\x8a_\x8c_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_.p_.o_.s_.t_.__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)
23 ··········o·_\x8u_.r_.l_.__.s_.e_.e_.d_.s_.(_.)_.·_.a_.d_.d_.__.u_.r_.l_.__.s_.e_.e_.d_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)23 ··········o·_\x8a_.d_.d_.__.u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.u_.r_.l_.__.s_.e_.e_.d_.s_\x8(_\x8)_\x8·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)
24 ··········o·_\x8a_.d_.d_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.r_.e_.m_.o_.v_.e_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.h_.t_.t_.p_.__.s_.e_.e_.d_.s_\x8(_\x8)24 ··········o·_\x8r_.e_.m_.o_.v_.e_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.h_.t_.t_.p_.__.s_.e_.e_.d_.s_.(_.)_.·_.a_.d_.d_.__.h_.t_.t_.p_.__.s_.e_.e_.d_\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·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)28 ··········o·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)
29 ··········o·_\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8u_.n_.s_.e_.t_.__.f_.l_.a_.g_.s_.(_.)_.·_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)29 ··········o·_\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8s_.e_.t_.__.f_.l_.a_.g_.s_.(_.)_.·_.u_.n_\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__\x8d_.o_.w_.n_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.t_.o_.p_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_\x8(_\x8)34 ··········o·_\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_.__.d_.o_.w_.n_.(_.)_.·_.q_.u_.e_.u_.e_.__.p_.o_.s_.i_.t_.i_.o_.n_.__.t_.o_.p_\x8(_\x8)
35 ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8o_\x8t_\x8t_\x8o_\x8m_\x8(_\x8)_\x8·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__.u_.p_.(_\x8)35 ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8b_\x8o_\x8t_\x8t_\x8o_\x8m_\x8(_\x8)_\x8·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\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__.b_.u_.f_.f_.e_.r_.(_.)_.·_.s_.e_.t_.__.s_.s_.l_.__.c_.e_.r_.t_.i_.f_.i_.c_.a_.t_.e_\x8(_\x8)37 ··········o·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8(_.)_.·_.s_.e_.t_.__.s_.s_.l_.__.c_.e_.r_.t_.i_.f_.i_.c_.a_.t_.e_.__.b_.u_.f_.f_.e_.r_\x8(_\x8)
38 ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)38 ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\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_.s_.t_.__.p_.i_.e_.c_.e_.__.a_.v_.a_.i_.l_.a_.b_.i_.l_.i_.t_.y_.(_.)_.·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8)40 ··········o·_\x8p_\x8i_.e_.c_.e_.__.a_.v_.a_.i_.l_.a_.b_.i_.l_.i_.t_.y_.(_.)_.·_.p_.o_.s_.t_.__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8)
41 ··········o·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\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)41 ··········o·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\x8(_\x8)_\x8·_\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)
42 ··········o·_\x8f_.i_.l_.e_.__.p_.r_.i_.o_.r_.i_.t_.y_.(_.)_.·_.g_.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_\x8(_\x8)42 ··········o·_\x8p_.r_.i_.o_.r_.i_.t_.i_.z_.e_.__.f_.i_.l_.e_.s_.(_.)_.·_.g_.e_.t_.__.f_.i_.l_.e_.__.p_.r_.i_.o_.r_.i_.t_.i_.e_.s_.(_.)_.·_.f_.i_.l_.e_.__.p_.r_.i_.o_.r_.i_.t_.y_\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_.__.d_.h_.t_.__.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)43 ··········o·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8l_.s_.d_.__.a_.n_.n_.o_.u_.n_.c_.e_.(_.)_.·_.f_.o_.r_.c_.e_.__.d_.h_.t_.__.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)
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__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)45 ··········o·_\x8s_\x8e_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)
46 ············_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)46 ············_\x8d_\x8o_\x8w_\x8n_\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_.a_.x_.__.u_.p_.l_.o_.a_.d_.s_.(_.)_.·_.s_.e_.t_.__\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)49 ··········o·_\x8s_.e_.t_.__.m_.a_.x_.__.u_.p_.l_.o_.a_.d_.s_.(_.)_.·_\x8m_\x8a_\x8x_\x8__\x8u_\x8p_\x8l_\x8o_\x8a_\x8d_\x8s_\x8(_\x8)
50 ··········o·_\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)50 ··········o·_\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\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_\x8(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_.e_.s_\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)
54 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_\x8=_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_.=_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.<_\x8(_\x8)54 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_\x8=_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_.(_.)_.·_.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 ···_\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);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;
  
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*·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r(\x8()\x8)·p\x8pe\x8ee\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*84 *\x8**\x8**\x8**\x8**\x8*·s\x8se\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r(\x8()\x8)·p\x8pe\x8ee\x8er\x8r(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
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);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;
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, 119 lines modifiedOffset 175, 119 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,·char·const*·data,·add_piece_flags_t 
183 flags·=·{})·const; 
184 ···void·a\x8ad\x8dd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·piece,·std::vector<char>·data,182 ···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;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_t
 185 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;
 189 ···void·g\x8ge\x8et\x8t_\x8_p\x8pe\x8ee\x8er\x8r_\x8_i\x8in\x8nf\x8fo\x8o·(std::vector<peer_info>&·v)·const;
190 ···torrent_status·s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·const;190 ···torrent_status·s\x8st\x8ta\x8at\x8tu\x8us\x8s·(status_flags_t·flags·=·status_flags_t::all())·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;191 ···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·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·p\x8po\x8os\x8st\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·()·const;192 ···void·p\x8po\x8os\x8st\x8t_\x8_d\x8do\x8ow\x8wn\x8nl\x8lo\x8oa\x8ad\x8d_\x8_q\x8qu\x8ue\x8eu\x8ue\x8e·()·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;
194 ···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 ···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;
 195 ···void·r\x8re\x8es\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8e·(piece_index_t·index)·const;
195 ···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
196 flags·=·{})·const;197 flags·=·{})·const;
197 ···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;198 ···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;
198 ···void·r\x8re\x8es\x8se\x8et\x8t_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_d\x8de\x8ea\x8ad\x8dl\x8li\x8in\x8ne\x8e·(piece_index_t·index)·const; 
199 ···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;199 ···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;
200 ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress,200 ···void·f\x8fi\x8il\x8le\x8e_\x8_p\x8pr\x8ro\x8og\x8gr\x8re\x8es\x8ss\x8s·(std::vector<std::int64_t>&·progress,
201 file_progress_flags_t·flags·=·{})·const;201 file_progress_flags_t·flags·=·{})·const;
202 ···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·=·{})202 ···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·=·{})
203 const;203 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 ···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;
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 ···std::vector<announce_entry>·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const;208 ···std::vector<announce_entry>·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·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; 
209 ···void·p\x8po\x8os\x8st\x8t_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const;209 ···void·p\x8po\x8os\x8st\x8t_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·()·const;
210 ···std::set<std::string>·u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const;210 ···std::set<std::string>·u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const;
Max diff block lines reached; 37338/49439 bytes (75.52%) of diff not shown.
52.6 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Torrent_Info.html
    
Offset 38, 26 lines modifiedOffset 38, 26 lines modified
38 <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-4">enum·type_t</a></li>38 <li><a·class="reference·internal"·href="#enum-type-t"·id="toc-entry-4">enum·type_t</a></li>
39 </ul>39 </ul>
40 </li>40 </li>
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="#orig-files-files"·id="toc-entry-9">orig_files()·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-clear-trackers-trackers"·id="toc-entry-12">add_tracker()·clear_trackers()·trackers()</a></li>48 <li><a·class="reference·internal"·href="#trackers-add-tracker-clear-trackers"·id="toc-entry-12">trackers()·add_tracker()·clear_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="#similar-torrents-collections"·id="toc-entry-13">similar_torrents()·collections()</a></li>
50 <li><a·class="reference·internal"·href="#add-http-seed-add-url-seed-web-seeds-set-web-seeds"·id="toc-entry-14">add_http_seed()·add_url_seed()·web_seeds()·set_web_seeds()</a></li>50 <li><a·class="reference·internal"·href="#set-web-seeds-add-url-seed-add-http-seed-web-seeds"·id="toc-entry-14">set_web_seeds()·add_url_seed()·add_http_seed()·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="#end-piece-piece-range-last-piece"·id="toc-entry-18">end_piece()·piece_range()·last_piece()</a></li>54 <li><a·class="reference·internal"·href="#piece-range-last-piece-end-piece"·id="toc-entry-18">piece_range()·last_piece()·end_piece()</a></li>
55 <li><a·class="reference·internal"·href="#info-hash-info-hashes"·id="toc-entry-19">info_hash()·info_hashes()</a></li>55 <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-19">info_hashes()·info_hash()</a></li>
56 <li><a·class="reference·internal"·href="#v2-v1"·id="toc-entry-20">v2()·v1()</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>
63 <li><a·class="reference·internal"·href="#is-i2p"·id="toc-entry-27">is_i2p()</a></li>63 <li><a·class="reference·internal"·href="#is-i2p"·id="toc-entry-27">is_i2p()</a></li>
Offset 154, 15 lines modifiedOffset 154, 15 lines modified
154 </dl>154 </dl>
155 <a·name="extra_headers"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:web_seed_entry%3A%3A%5Bextra_headers%5D&labels=documentation&body=Documentation+under+heading+%22web_seed_entry%3A%3A%5Bextra_headers%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">155 <a·name="extra_headers"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:web_seed_entry%3A%3A%5Bextra_headers%5D&labels=documentation&body=Documentation+under+heading+%22web_seed_entry%3A%3A%5Bextra_headers%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">
156 <dt>extra_headers</dt>156 <dt>extra_headers</dt>
157 <dd>Any·extra·HTTP·headers·that·need·to·be·passed·to·the·web·seed</dd>157 <dd>Any·extra·HTTP·headers·that·need·to·be·passed·to·the·web·seed</dd>
158 </dl>158 </dl>
159 <a·name="type"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:web_seed_entry%3A%3A%5Btype%5D&labels=documentation&body=Documentation+under+heading+%22web_seed_entry%3A%3A%5Btype%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">159 <a·name="type"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:web_seed_entry%3A%3A%5Btype%5D&labels=documentation&body=Documentation+under+heading+%22web_seed_entry%3A%3A%5Btype%5D%22+could+be+improved">report·issue</a>]</span><dl·class="docutils">
160 <dt>type</dt>160 <dt>type</dt>
161 <dd>The·type·of·web·seed·(see·<a·class="reference·external"·href="reference-Bdecoding.html#type_t">type_t</a>)</dd>161 <dd>The·type·of·web·seed·(see·<a·class="reference·external"·href="reference-Torrent_Info.html#type_t">type_t</a>)</dd>
162 </dl>162 </dl>
163 <a·name="load_torrent_limits"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+load_torrent_limits&labels=documentation&body=Documentation+under+heading+%22class+load_torrent_limits%22+could+be+improved">report·issue</a>]</span></div>163 <a·name="load_torrent_limits"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:class+load_torrent_limits&labels=documentation&body=Documentation+under+heading+%22class+load_torrent_limits%22+could+be+improved">report·issue</a>]</span></div>
164 </div>164 </div>
165 <div·class="section"·id="load-torrent-limits">165 <div·class="section"·id="load-torrent-limits">
166 <h1>load_torrent_limits</h1>166 <h1>load_torrent_limits</h1>
167 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>&quot;</p>167 <p>Declared·in·&quot;<a·class="reference·external"·href="include/libtorrent/torrent_info.hpp">libtorrent/torrent_info.hpp</a>&quot;</p>
168 <p>this·object·holds·configuration·options·for·limits·to·use·when·loading168 <p>this·object·holds·configuration·options·for·limits·to·use·when·loading
Offset 197, 69 lines modifiedOffset 197, 69 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 ···<strong>torrent_info</strong>·(std::string·const&amp;·filename,·error_code&amp;·ec);204 ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&amp;·info_hash);
 205 ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size);
 206 ···explicit·<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·from_span_t);
205 ···<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·load_torrent_limits·const&amp;·cfg);207 ···<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·load_torrent_limits·const&amp;·cfg);
 208 ···<strong>torrent_info</strong>·(torrent_info·const&amp;·t);
206 ···explicit·<strong>torrent_info</strong>·(std::string·const&amp;·filename);209 ···<strong>torrent_info</strong>·(std::string·const&amp;·filename,·error_code&amp;·ec);
207 ···<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·error_code&amp;·ec,·from_span_t);210 ···<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·error_code&amp;·ec,·from_span_t);
 211 ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file);
208 ···<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·error_code&amp;·ec);212 ···<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file,·error_code&amp;·ec);
209 ···explicit·<strong>torrent_info</strong>·(info_hash_t·const&amp;·info_hash);213 ···explicit·<strong>torrent_info</strong>·(std::string·const&amp;·filename);
210 ···<strong>torrent_info</strong>·(std::string·const&amp;·filename,·load_torrent_limits·const&amp;·cfg); 
211 ···<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·load_torrent_limits·const&amp;·cfg,·from_span_t);214 ···<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·load_torrent_limits·const&amp;·cfg,·from_span_t);
212 ···<strong>torrent_info</strong>·(torrent_info·const&amp;·t);215 ···<strong>torrent_info</strong>·(std::string·const&amp;·filename,·load_torrent_limits·const&amp;·cfg);
213 ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&amp;·ec);216 ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size,·error_code&amp;·ec);
214 ···explicit·<strong>torrent_info</strong>·(span&lt;char·const&gt;·buffer,·from_span_t); 
215 ···<strong>torrent_info</strong>·(char·const*·buffer,·int·size); 
216 ···explicit·<strong>torrent_info</strong>·(bdecode_node·const&amp;·torrent_file); 
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>clear_trackers</strong>·();222 ···std::vector&lt;announce_entry&gt;·const&amp;·<strong>trackers</strong>·()·const;
223 ···void·<strong>add_tracker</strong>·(std::string·const&amp;·url,·int·tier223 ···void·<strong>add_tracker</strong>·(std::string·const&amp;·url,·int·tier
224 ······,·announce_entry::tracker_source·source);224 ······,·announce_entry::tracker_source·source);
225 ···void·<strong>add_tracker</strong>·(std::string·const&amp;·url,·int·tier·=·0);225 ···void·<strong>add_tracker</strong>·(std::string·const&amp;·url,·int·tier·=·0);
 226 ···void·<strong>clear_trackers</strong>·();
226 ···std::vector&lt;announce_entry&gt;·const&amp;·<strong>trackers</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;227 ···std::vector&lt;std::string&gt;·<strong>collections</strong>·()·const;
 228 ···std::vector&lt;sha1_hash&gt;·<strong>similar_torrents</strong>·()·const;
229 ···std::vector&lt;web_seed_entry&gt;·const&amp;·<strong>web_seeds</strong>·()·const;229 ···std::vector&lt;web_seed_entry&gt;·const&amp;·<strong>web_seeds</strong>·()·const;
230 ···void·<strong>add_http_seed</strong>·(std::string·const&amp;·url230 ···void·<strong>add_http_seed</strong>·(std::string·const&amp;·url
231 ······,·std::string·const&amp;·extern_auth·=·std::string()231 ······,·std::string·const&amp;·extern_auth·=·std::string()
232 ······,·web_seed_entry::headers_t·const&amp;·extra_headers·=·web_seed_entry::headers_t());232 ······,·web_seed_entry::headers_t·const&amp;·extra_headers·=·web_seed_entry::headers_t());
 233 ···void·<strong>set_web_seeds</strong>·(std::vector&lt;web_seed_entry&gt;·seeds);
233 ···void·<strong>add_url_seed</strong>·(std::string·const&amp;·url234 ···void·<strong>add_url_seed</strong>·(std::string·const&amp;·url
234 ······,·std::string·const&amp;·ext_auth·=·std::string()235 ······,·std::string·const&amp;·ext_auth·=·std::string()
235 ······,·web_seed_entry::headers_t·const&amp;·ext_headers·=·web_seed_entry::headers_t());236 ······,·web_seed_entry::headers_t·const&amp;·ext_headers·=·web_seed_entry::headers_t());
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>num_pieces</strong>·()·const; 
239 ···int·<strong>piece_length</strong>·()·const;238 ···int·<strong>piece_length</strong>·()·const;
 239 ···int·<strong>num_pieces</strong>·()·const;
240 ···int·<strong>blocks_per_piece</strong>·()·const;240 ···int·<strong>blocks_per_piece</strong>·()·const;
241 ···piece_index_t·<strong>end_piece</strong>·()·const; 
242 ···index_range&lt;piece_index_t&gt;·<strong>piece_range</strong>·()·const; 
243 ···piece_index_t·<strong>last_piece</strong>·()·const;241 ···piece_index_t·<strong>last_piece</strong>·()·const;
244 ···info_hash_t·const&amp;·<strong>info_hashes</strong>·()·const;242 ···index_range&lt;piece_index_t&gt;·<strong>piece_range</strong>·()·const;
 243 ···piece_index_t·<strong>end_piece</strong>·()·const;
245 ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept;244 ···sha1_hash·<strong>info_hash</strong>·()·const·noexcept;
246 ···bool·<strong>v2</strong>·()·const;245 ···info_hash_t·const&amp;·<strong>info_hashes</strong>·()·const;
247 ···bool·<strong>v1</strong>·()·const;246 ···bool·<strong>v1</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;
253 ···bool·<strong>is_valid</strong>·()·const;253 ···bool·<strong>is_valid</strong>·()·const;
254 ···bool·<strong>priv</strong>·()·const;254 ···bool·<strong>priv</strong>·()·const;
255 ···bool·<strong>is_i2p</strong>·()·const;255 ···bool·<strong>is_i2p</strong>·()·const;
256 ···int·<strong>piece_size</strong>·(piece_index_t·index)·const;256 ···int·<strong>piece_size</strong>·(piece_index_t·index)·const;
257 ···char·const*·<strong>hash_for_piece_ptr</strong>·(piece_index_t·const·index)·const; 
258 ···sha1_hash·<strong>hash_for_piece</strong>·(piece_index_t·index)·const;257 ···sha1_hash·<strong>hash_for_piece</strong>·(piece_index_t·index)·const;
 258 ···char·const*·<strong>hash_for_piece_ptr</strong>·(piece_index_t·const·index)·const;
259 ···bool·<strong>is_loaded</strong>·()·const;259 ···bool·<strong>is_loaded</strong>·()·const;
260 ···const·std::string&amp;·<strong>name</strong>·()·const;260 ···const·std::string&amp;·<strong>name</strong>·()·const;
261 ···std::time_t·<strong>creation_date</strong>·()·const;261 ···std::time_t·<strong>creation_date</strong>·()·const;
262 ···const·std::string&amp;·<strong>creator</strong>·()·const;262 ···const·std::string&amp;·<strong>creator</strong>·()·const;
263 ···const·std::string&amp;·<strong>comment</strong>·()·const;263 ···const·std::string&amp;·<strong>comment</strong>·()·const;
264 ···std::vector&lt;std::pair&lt;std::string,·int&gt;&gt;·const&amp;·<strong>nodes</strong>·()·const;264 ···std::vector&lt;std::pair&lt;std::string,·int&gt;&gt;·const&amp;·<strong>nodes</strong>·()·const;
265 ···void·<strong>add_node</strong>·(std::pair&lt;std::string,·int&gt;·const&amp;·node);265 ···void·<strong>add_node</strong>·(std::pair&lt;std::string,·int&gt;·const&amp;·node);
Offset 269, 27 lines modifiedOffset 269, 27 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>·();
Max diff block lines reached; 20460/31869 bytes (64.20%) of diff not shown.
21.4 KB
html2text {}
    
Offset 7, 26 lines modifiedOffset 7, 26 lines modified
7 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8)7 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8)
8 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8)8 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8)
9 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t9 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8t_\x8y_\x8p_\x8e_\x8__\x8t
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·_\x8o_.r_.i_.g_.__.f_.i_.l_.e_.s_.(_.)_.·_\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)14 ··········o·_\x8f_.i_.l_.e_.s_.(_.)_.·_.o_.r_.i_.g_.__\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_.(_.)_.·_.c_.l_.e_.a_.r_.__.t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)17 ··········o·_\x8t_.r_.a_.c_.k_.e_.r_.s_.(_.)_.·_.a_.d_.d_.__.t_.r_.a_.c_.k_.e_.r_.(_.)_.·_.c_.l_.e_.a_.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) 
19 ··········o·_\x8a_.d_.d_.__.h_.t_.t_.p_.__.s_.e_.e_.d_.(_.)_.·_.a_.d_.d_.__.u_.r_.l_.__.s_.e_.e_.d_.(_.)_.·_.w_.e_.b_.__.s_.e_.e_.d_.s_.(_.)_.·_.s_.e_.t_.__.w_.e_.b_.__.s_.e_.e_.d_\x8s_\x8(_\x8)18 ··········o·_\x8s_.i_.m_.i_.l_.a_.r_.__.t_.o_.r_.r_.e_.n_.t_.s_.(_.)_.·_.c_.o_.l_.l_.e_.c_.t_.i_.o_.n_\x8s_\x8(_\x8)
 19 ··········o·_\x8s_\x8e_\x8t_\x8__\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\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·_\x8e_.n_.d_.__.p_.i_.e_.c_.e_.(_.)_.·_.p_.i_.e_.c_.e_.__.r_.a_.n_.g_.e_.(_.)_.·_.l_.a_.s_.t_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)23 ··········o·_\x8p_.i_.e_.c_.e_.__.r_.a_.n_.g_.e_.(_.)_.·_.l_.a_.s_.t_.__.p_.i_.e_.c_.e_.(_.)_.·_.e_.n_.d_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\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)24 ··········o·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_.s_.(_.)_.·_.i_.n_.f_.o_.__.h_.a_.s_.h_\x8(_\x8)
25 ··········o·_\x8v_\x82_.(_.)_.·_.v_.1_\x8(_\x8)25 ··········o·_\x8v_\x81_.(_.)_.·_.v_.2_\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)
32 ··········o·_\x8i_\x8s_\x8__\x8i_\x82_\x8p_\x8(_\x8)32 ··········o·_\x8i_\x8s_\x8__\x8i_\x82_\x8p_\x8(_\x8)
Offset 120, 74 lines modifiedOffset 120, 74 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 ···t.to.or.rr.re.en.nt.t_._i.in.nf.fo.o·(std::string·const&·filename,·error_code&·ec);127 ···explicit·t.to.or.rr.re.en.nt.t_._i.in.nf.fo.o·(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);
 129 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t);
128 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&130 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&
129 cfg);131 cfg);
 132 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(torrent_info·const&·t);
130 ···explicit·t.to.or.rr.re.en.nt.t_._i.in.nf.fo.o·(std::string·const&·filename);133 ···t.to.or.rr.re.en.nt.t_._i.in.nf.fo.o·(std::string·const&·filename,·error_code&·ec);
131 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t);134 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·error_code&·ec,·from_span_t);
 135 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file);
132 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec);136 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·error_code&·ec);
133 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(info_hash_t·const&·info_hash);137 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename);
134 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(std::string·const&·filename,·load_torrent_limits·const&·cfg); 
135 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,138 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·load_torrent_limits·const&·cfg,
136 from_span_t);139 from_span_t);
137 ···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·(std::string·const&·filename,·load_torrent_limits·const&·cfg);
138 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec);141 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size,·error_code&·ec);
139 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t); 
140 ···t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(char·const*·buffer,·int·size); 
141 ···explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file); 
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·c.cl.le.ea.ar.r_._t.tr.ra.ac.ck.ke.er.rs.s·();147 ···std::vector<announce_entry>·const&·t.tr.ra.ac.ck.ke.er.rs.s·()·const;
148 ···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
149 ······,·announce_entry::tracker_source·source);149 ······,·announce_entry::tracker_source·source);
150 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0);150 ···void·a\x8ad\x8dd\x8d_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8r·(std::string·const&·url,·int·tier·=·0);
 151 ···void·c\x8cl\x8le\x8ea\x8ar\x8r_\x8_t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\x8s·();
151 ···std::vector<announce_entry>·const&·t\x8tr\x8ra\x8ac\x8ck\x8ke\x8er\x8rs\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;152 ···std::vector<std::string>·c\x8co\x8ol\x8ll\x8le\x8ec\x8ct\x8ti\x8io\x8on\x8ns\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;
154 ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const;154 ···std::vector<web_seed_entry>·const&·w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·()·const;
155 ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url155 ···void·a\x8ad\x8dd\x8d_\x8_h\x8ht\x8tt\x8tp\x8p_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url
156 ······,·std::string·const&·extern_auth·=·std::string()156 ······,·std::string·const&·extern_auth·=·std::string()
157 ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry::157 ······,·web_seed_entry::headers_t·const&·extra_headers·=·web_seed_entry::
158 headers_t());158 headers_t());
 159 ···void·s\x8se\x8et\x8t_\x8_w\x8we\x8eb\x8b_\x8_s\x8se\x8ee\x8ed\x8ds\x8s·(std::vector<web_seed_entry>·seeds);
159 ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url160 ···void·a\x8ad\x8dd\x8d_\x8_u\x8ur\x8rl\x8l_\x8_s\x8se\x8ee\x8ed\x8d·(std::string·const&·url
160 ······,·std::string·const&·ext_auth·=·std::string()161 ······,·std::string·const&·ext_auth·=·std::string()
161 ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::162 ······,·web_seed_entry::headers_t·const&·ext_headers·=·web_seed_entry::
162 headers_t());163 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); 
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·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;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;
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 ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·const; 
169 ···index_range<piece_index_t>·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_r\x8ra\x8an\x8ng\x8ge\x8e·()·const; 
170 ···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;
171 ···info_hash_t·const&·i.in.nf.fo.o_._h.ha.as.sh.he.es.s·()·const;169 ···index_range<piece_index_t>·p.pi.ie.ec.ce.e_._r.ra.an.ng.ge.e·()·const;
 170 ···piece_index_t·e\x8en\x8nd\x8d_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·()·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;
173 ···bool·v.v2.2·()·const;172 ···info_hash_t·const&·i.in.nf.fo.o_._h.ha.as.sh.he.es.s·()·const;
174 ···bool·v\x8v1\x81·()·const;173 ···bool·v\x8v1\x81·()·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;
180 ···string_view·s\x8ss\x8sl\x8l_\x8_c\x8ce\x8er\x8rt\x8t·()·const;180 ···string_view·s\x8ss\x8sl\x8l_\x8_c\x8ce\x8er\x8rt\x8t·()·const;
181 ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const;181 ···bool·i\x8is\x8s_\x8_v\x8va\x8al\x8li\x8id\x8d·()·const;
182 ···bool·p\x8pr\x8ri\x8iv\x8v·()·const;182 ···bool·p\x8pr\x8ri\x8iv\x8v·()·const;
183 ···bool·i\x8is\x8s_\x8_i\x8i2\x82p\x8p·()·const;183 ···bool·i\x8is\x8s_\x8_i\x8i2\x82p\x8p·()·const;
184 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const;184 ···int·p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_s\x8si\x8iz\x8ze\x8e·(piece_index_t·index)·const;
185 ···char·const*·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pt\x8tr\x8r·(piece_index_t·const·index)·const; 
186 ···sha1_hash·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·index)·const;185 ···sha1_hash·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e·(piece_index_t·index)·const;
 186 ···char·const*·h\x8ha\x8as\x8sh\x8h_\x8_f\x8fo\x8or\x8r_\x8_p\x8pi\x8ie\x8ec\x8ce\x8e_\x8_p\x8pt\x8tr\x8r·(piece_index_t·const·index)·const;
187 ···bool·i\x8is\x8s_\x8_l\x8lo\x8oa\x8ad\x8de\x8ed\x8d·()·const;187 ···bool·i\x8is\x8s_\x8_l\x8lo\x8oa\x8ad\x8de\x8ed\x8d·()·const;
188 ···const·std::string&·n\x8na\x8am\x8me\x8e·()·const;188 ···const·std::string&·n\x8na\x8am\x8me\x8e·()·const;
189 ···std::time_t·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·()·const;189 ···std::time_t·c\x8cr\x8re\x8ea\x8at\x8ti\x8io\x8on\x8n_\x8_d\x8da\x8at\x8te\x8e·()·const;
190 ···const·std::string&·c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·()·const;190 ···const·std::string&·c\x8cr\x8re\x8ea\x8at\x8to\x8or\x8r·()·const;
191 ···const·std::string&·c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·()·const;191 ···const·std::string&·c\x8co\x8om\x8mm\x8me\x8en\x8nt\x8t·()·const;
192 ···std::vector<std::pair<std::string,·int>>·const&·n\x8no\x8od\x8de\x8es\x8s·()·const;192 ···std::vector<std::pair<std::string,·int>>·const&·n\x8no\x8od\x8de\x8es\x8s·()·const;
193 ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·const&·node);193 ···void·a\x8ad\x8dd\x8d_\x8_n\x8no\x8od\x8de\x8e·(std::pair<std::string,·int>·const&·node);
Offset 196, 29 lines modifiedOffset 196, 29 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 t.to.or.rr.re.en.nt.t_._i.in.nf.fo.o·(std::string·const&·filename,·error_code&·ec);203 explicit·t.to.or.rr.re.en.nt.t_._i.in.nf.fo.o·(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);
 205 explicit·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(span<char·const>·buffer,·from_span_t);
204 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&206 t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8t_\x8_i\x8in\x8nf\x8fo\x8o·(bdecode_node·const&·torrent_file,·load_torrent_limits·const&
205 cfg);207 cfg);
Max diff block lines reached; 12015/21839 bytes (55.02%) of diff not shown.
8.97 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-announce-entry-operator"·id="toc-entry-4">announce_entry()·~announce_entry()·operator=()</a></li>38 <li><a·class="reference·internal"·href="#announce-entry-operator-announce-entry"·id="toc-entry-4">~announce_entry()·operator=()·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, 18 lines modifiedOffset 131, 18 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 ···announce_entry&amp;·<strong>operator=</strong>·(announce_entry·const&amp;)·&amp;; 
139 ···<strong>announce_entry</strong>·(); 
140 ···explicit·<strong>announce_entry</strong>·(string_view·u);138 ···explicit·<strong>announce_entry</strong>·(string_view·u);
 139 ···announce_entry&amp;·<strong>operator=</strong>·(announce_entry·const&amp;)·&amp;;
141 ···<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>·();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,
Offset 154, 23 lines modifiedOffset 154, 23 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="~announce_entry()"></a>161 <a·name="~announce_entry()"></a>
 162 <a·name="operator=()"></a>
163 <a·name="operator=()"></a><span·class="report-issue">[<a·href="http://github.com/arvidn/libtorrent/issues/new?title=docs:announce_entry%3A%3A%5Bannounce_entry%28%29+~announce_entry%28%29+operator%3D%28%29%5D&labels=documentation&body=Documentation+under+heading+%22[·...·truncated·by·diffoscope;·len:·196,·SHA:·259481d8bbb94d6078cf531107b35e866824a9fa841630863124e26eb13ed5f8·...·]">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%5B~announce_entry%28%29+operator%3D%28%29+announce_entry%28%29%5D&labels=documentation&body=Documentation+under+headin[·...·truncated·by·diffoscope;·len:·201,·SHA:·25d022cf99e01ce0ecfac34f0867b71b63d635906f62a4d5b8a3a468d8326320·...·]">
164 <h2>announce_entry()·~announce_entry()·operator=()</h2>164 <h2>~announce_entry()·operator=()·announce_entry()</h2>
165 <pre·class="literal-block">165 <pre·class="literal-block">
166 announce_entry&amp;·<strong>operator=</strong>·(announce_entry·const&amp;)·&amp;; 
167 <strong>announce_entry</strong>·(); 
168 explicit·<strong>announce_entry</strong>·(string_view·u);166 explicit·<strong>announce_entry</strong>·(string_view·u);
 167 announce_entry&amp;·<strong>operator=</strong>·(announce_entry·const&amp;)·&amp;;
169 <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>·();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>
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_Handle.html#add_tracker()">add_tracker()</a>·function</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>
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.65 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_.(_.)_.·_.~_.a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_\x8(_\x8)9 ··········o·_\x8~_.a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.=_.(_.)_.·_.a_.n_.n_.o_.u_.n_.c_.e_.__.e_.n_.t_.r_.y_\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, 18 lines modifiedOffset 78, 18 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 ···announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; 
86 ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); 
87 ···explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u);85 ···explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u);
 86 ···announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&;
88 ···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 ···a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·();
89 ···~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·();89 ···~\x8~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,
Offset 101, 19 lines modifiedOffset 101, 19 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*·~\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)·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)·~\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**\x8**\x8**\x8**\x8* 
109 announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&; 
110 a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(); 
111 explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u);109 explicit·a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·(string_view·u);
 110 announce_entry&·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=·(announce_entry·const&)·&;
112 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 a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·();
113 ~\x8~a\x8an\x8nn\x8no\x8ou\x8un\x8nc\x8ce\x8e_\x8_e\x8en\x8nt\x8tr\x8ry\x8y·();113 ~\x8~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·|
47.4 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference-Utility.html
    
Offset 28, 91 lines modifiedOffset 28, 213 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> 
42 <li><a·class="reference·internal"·href="#size"·id="toc-entry-8">size()</a></li>35 <li><a·class="reference·internal"·href="#hasher"·id="toc-entry-1">hasher</a><ul>
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> 
45 <li><a·class="reference·internal"·href="#empty"·id="toc-entry-11">empty()</a></li>36 <li><a·class="reference·internal"·href="#hasher-operator"·id="toc-entry-2">hasher()·operator=()</a></li>
46 <li><a·class="reference·internal"·href="#data"·id="toc-entry-12">data()</a></li>37 <li><a·class="reference·internal"·href="#update"·id="toc-entry-3">update()</a></li>
47 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-13">swap()</a></li> 
48 <li><a·class="reference·internal"·href="#count"·id="toc-entry-14">count()</a></li>38 <li><a·class="reference·internal"·href="#final"·id="toc-entry-4">final()</a></li>
49 <li><a·class="reference·internal"·href="#find-first-set"·id="toc-entry-15">find_first_set()</a></li>39 <li><a·class="reference·internal"·href="#reset"·id="toc-entry-5">reset()</a></li>
50 <li><a·class="reference·internal"·href="#find-last-clear"·id="toc-entry-16">find_last_clear()</a></li> 
51 </ul>40 </ul>
52 </li>41 </li>
53 <li><a·class="reference·internal"·href="#hasher"·id="toc-entry-17">hasher</a><ul>42 <li><a·class="reference·internal"·href="#hasher256"·id="toc-entry-6">hasher256</a><ul>
54 <li><a·class="reference·internal"·href="#hasher-operator"·id="toc-entry-18">hasher()·operator=()</a></li>43 <li><a·class="reference·internal"·href="#hasher256-operator"·id="toc-entry-7">hasher256()·operator=()</a></li>
55 <li><a·class="reference·internal"·href="#update"·id="toc-entry-19">update()</a></li>44 <li><a·class="reference·internal"·href="#update-1"·id="toc-entry-8">update()</a></li>
56 <li><a·class="reference·internal"·href="#final"·id="toc-entry-20">final()</a></li>45 <li><a·class="reference·internal"·href="#final-1"·id="toc-entry-9">final()</a></li>
57 <li><a·class="reference·internal"·href="#reset"·id="toc-entry-21">reset()</a></li>46 <li><a·class="reference·internal"·href="#reset-1"·id="toc-entry-10">reset()</a></li>
58 </ul>47 </ul>
59 </li>48 </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>
 52 <li><a·class="reference·internal"·href="#operator-get-bit"·id="toc-entry-14">operator[]()·get_bit()</a></li>
 53 <li><a·class="reference·internal"·href="#set-bit-clear-bit"·id="toc-entry-15">set_bit()·clear_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>
60 <li><a·class="reference·internal"·href="#hasher256"·id="toc-entry-22">hasher256</a><ul>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>
61 <li><a·class="reference·internal"·href="#hasher256-operator"·id="toc-entry-23">hasher256()·operator=()</a></li>59 <li><a·class="reference·internal"·href="#empty"·id="toc-entry-21">empty()</a></li>
62 <li><a·class="reference·internal"·href="#update-1"·id="toc-entry-24">update()</a></li>60 <li><a·class="reference·internal"·href="#data"·id="toc-entry-22">data()</a></li>
63 <li><a·class="reference·internal"·href="#final-1"·id="toc-entry-25">final()</a></li>61 <li><a·class="reference·internal"·href="#swap"·id="toc-entry-23">swap()</a></li>
64 <li><a·class="reference·internal"·href="#reset-1"·id="toc-entry-26">reset()</a></li>62 <li><a·class="reference·internal"·href="#count"·id="toc-entry-24">count()</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>·(char·const*·data,·int·len);
 91 ···<strong>hasher</strong>·(hasher·const&amp;);
 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>·(char·const*·data,·int·len);
 105 <strong>hasher</strong>·(hasher·const&amp;);
 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 ···<strong>hasher256</strong>·(char·const*·data,·int·len);
Max diff block lines reached; 17352/31684 bytes (54.77%) of diff not shown.
16.4 KB
html2text {}
    
Offset 1, 98 lines modifiedOffset 1, 187 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·_\x8h_\x8a_\x8s_\x8h_\x8e_\x8r_\x82_\x85_\x86_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\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)
6 ····*·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d16 ····*·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d
7 ··········o·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)17 ··········o·_\x8b_\x8i_\x8t_\x8f_\x8i_\x8e_\x8l_\x8d_\x8(_\x8)
8 ··········o·_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8(_\x8)18 ··········o·_\x8a_\x8s_\x8s_\x8i_\x8g_\x8n_\x8(_\x8)
9 ··········o·_\x8g_.e_.t_.__.b_.i_.t_.(_.)_.·_.o_.p_.e_.r_.a_.t_.o_.r_.[_.]_\x8(_\x8)19 ··········o·_\x8o_.p_.e_.r_.a_.t_.o_.r_.[_.]_.(_.)_.·_.g_.e_.t_.__.b_.i_.t_\x8(_\x8)
10 ··········o·_\x8s_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8b_\x8i_\x8t_\x8(_\x8)20 ··········o·_\x8s_\x8e_\x8t_\x8__\x8b_\x8i_\x8t_\x8(_\x8)_\x8·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8b_\x8i_\x8t_\x8(_\x8)
11 ··········o·_\x8a_\x8l_\x8l_\x8__\x8s_\x8e_\x8t_\x8(_\x8)21 ··········o·_\x8a_\x8l_\x8l_\x8__\x8s_\x8e_\x8t_\x8(_\x8)
12 ··········o·_\x8n_\x8o_\x8n_\x8e_\x8__\x8s_\x8e_\x8t_\x8(_\x8)22 ··········o·_\x8n_\x8o_\x8n_\x8e_\x8__\x8s_\x8e_\x8t_\x8(_\x8)
13 ··········o·_\x8s_\x8i_\x8z_\x8e_\x8(_\x8)23 ··········o·_\x8s_\x8i_\x8z_\x8e_\x8(_\x8)
14 ··········o·_\x8n_\x8u_\x8m_\x8__\x8w_\x8o_\x8r_\x8d_\x8s_\x8(_\x8)24 ··········o·_\x8n_\x8u_\x8m_\x8__\x8w_\x8o_\x8r_\x8d_\x8s_\x8(_\x8)
15 ··········o·_\x8n_\x8u_\x8m_\x8__\x8b_\x8y_\x8t_\x8e_\x8s_\x8(_\x8)25 ··········o·_\x8n_\x8u_\x8m_\x8__\x8b_\x8y_\x8t_\x8e_\x8s_\x8(_\x8)
16 ··········o·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8(_\x8)26 ··········o·_\x8e_\x8m_\x8p_\x8t_\x8y_\x8(_\x8)
17 ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)27 ··········o·_\x8d_\x8a_\x8t_\x8a_\x8(_\x8)
18 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)28 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)
19 ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8(_\x8)29 ··········o·_\x8c_\x8o_\x8u_\x8n_\x8t_\x8(_\x8)
20 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8s_\x8e_\x8t_\x8(_\x8)30 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8f_\x8i_\x8r_\x8s_\x8t_\x8__\x8s_\x8e_\x8t_\x8(_\x8)
21 ··········o·_\x8f_\x8i_\x8n_\x8d_\x8__\x8l_\x8a_\x8s_\x8t_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8(_\x8)31 ··········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·_.r_.e_.s_.e_.t_.(_.)32 [_.r_.e_.p_.o_.r_.t_.·_.i_.s_.s_.u_.e]
 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·(char·const*·data,·int·len);
 52 ···h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&);
 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·(char·const*·data,·int·len);
 63 h\x8ha\x8as\x8sh\x8he\x8er\x8r·(hasher·const&);
 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 ···h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len);
 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·(hasher256·const&);
 91 ···explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data);
 92 ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(span<char·const>·data);
 93 ···hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len);
 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*·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86(\x8()\x8)·o\x8op\x8pe\x8er\x8ra\x8at\x8to\x8or\x8r=\x8=(\x8()\x8)·*\x8**\x8**\x8**\x8**\x8*
 100 h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(char·const*·data,·int·len);
 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·(hasher256·const&);
 103 explicit·h\x8ha\x8as\x8sh\x8he\x8er\x8r2\x825\x856\x86·(span<char·const>·data);
 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·(span<char·const>·data);
 109 hasher256&·u\x8up\x8pd\x8da\x8at\x8te\x8e·(char·const*·data,·int·len);
 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*
 118 void·r\x8re\x8es\x8se\x8et\x8t·();
Max diff block lines reached; 10373/16722 bytes (62.03%) 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 secret_key·<strong>ed25519_add_scalar</strong>·(secret_key·const&amp;·sk 
92 ···,·std::array&lt;char,·32&gt;·const&amp;·scalar); 
93 public_key·<strong>ed25519_add_scalar</strong>·(public_key·const&amp;·pk91 public_key·<strong>ed25519_add_scalar</strong>·(public_key·const&amp;·pk
94 ···,·std::array&lt;char,·32&gt;·const&amp;·scalar);92 ···,·std::array&lt;char,·32&gt;·const&amp;·scalar);
 93 secret_key·<strong>ed25519_add_scalar</strong>·(secret_key·const&amp;·sk
 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 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 
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&·pk46 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);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&·sk
 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
36.1 KB
./usr/share/doc/libtorrent-rasterbar-doc/html/reference.html
Ordering differences only
    
Offset 19, 138 lines modifiedOffset 19, 144 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">Core</p>25 <p·class="rubric">Torrent·Handle</p>
26 <div·class="line-block">26 <div·class="line-block">
27 <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div> 
28 <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div>27 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#block_info">block_info</a></div>
 28 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#partial_piece_info">partial_piece_info</a></div>
29 <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div>29 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#torrent_handle">torrent_handle</a></div>
30 <div·class="line"><a·class="reference·external"·href="reference-Core.html#piece_block">piece_block</a></div>30 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#hash_value()">hash_value()</a></div>
 31 </div>
 32 <p·class="rubric">Add·Torrent</p>
 33 <div·class="line-block">
31 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_parsed()">load_torrent_parsed()</a></div>34 <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a></div>
32 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div> 
33 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div> 
34 <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</a></div> 
35 <div·class="line"><a·class="reference·external"·href="reference-Core.html#version()">version()</a></div> 
36 <div·class="line"><a·class="reference·external"·href="reference-Core.html#make_magnet_uri()">make_magnet_uri()</a></div> 
37 <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div> 
38 <div·class="line"><a·class="reference·external"·href="reference-Core.html#truncate_files()">truncate_files()</a></div> 
39 <div·class="line"><a·class="reference·external"·href="reference-Core.html#protocol_version">protocol_version</a></div> 
40 <div·class="line"><a·class="reference·external"·href="reference-Core.html#connection_type">connection_type</a></div> 
41 <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div> 
42 <div·class="line"><a·class="reference·external"·href="reference-Core.html#event_t">event_t</a></div>35 <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#client_data_t">client_data_t</a></div>
43 <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_transport">portmap_transport</a></div> 
44 <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_protocol">portmap_protocol</a></div> 
45 <div·class="line"><a·class="reference·external"·href="reference-Core.html#int">int</a></div> 
46 <div·class="line"><a·class="reference·external"·href="reference-Core.html#charconst*">char·const*</a></div> 
47 <div·class="line"><a·class="reference·external"·href="reference-Core.html#std::uint64_t">std::uint64_t</a></div> 
48 <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_flags_t">torrent_flags_t</a></div> 
49 <div·class="line"><a·class="reference·external"·href="reference-Core.html#download_priority_t">download_priority_t</a></div> 
50 <div·class="line"><a·class="reference·external"·href="reference-Core.html#pex_flags_t">pex_flags_t</a></div> 
51 </div>36 </div>
52 <p·class="rubric">Stats</p>37 <p·class="rubric">Stats</p>
53 <div·class="line-block">38 <div·class="line-block">
54 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#stats_metric">stats_metric</a></div> 
55 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#counters">counters</a></div>39 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#counters">counters</a></div>
 40 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#stats_metric">stats_metric</a></div>
56 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#session_stats_metrics()">session_stats_metrics()</a></div>41 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#session_stats_metrics()">session_stats_metrics()</a></div>
57 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#find_metric_idx()">find_metric_idx()</a></div>42 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#find_metric_idx()">find_metric_idx()</a></div>
58 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#metric_type_t">metric_type_t</a></div>43 <div·class="line"><a·class="reference·external"·href="reference-Stats.html#metric_type_t">metric_type_t</a></div>
59 </div>44 </div>
60 <p·class="rubric">Add·Torrent</p> 
61 <div·class="line-block"> 
62 <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#client_data_t">client_data_t</a></div> 
63 <div·class="line"><a·class="reference·external"·href="reference-Add_Torrent.html#add_torrent_params">add_torrent_params</a></div> 
64 </div> 
65 <p·class="rubric">Trackers</p>45 <p·class="rubric">Trackers</p>
66 <div·class="line-block">46 <div·class="line-block">
67 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_infohash">announce_infohash</a></div>47 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_infohash">announce_infohash</a></div>
68 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_endpoint">announce_endpoint</a></div>48 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_endpoint">announce_endpoint</a></div>
69 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_entry">announce_entry</a></div>49 <div·class="line"><a·class="reference·external"·href="reference-Trackers.html#announce_entry">announce_entry</a></div>
70 </div>50 </div>
71 <p·class="rubric">Session</p>51 <p·class="rubric">Session</p>
72 <div·class="line-block">52 <div·class="line-block">
73 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div>53 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_proxy">session_proxy</a></div>
74 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session">session</a></div>54 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session">session</a></div>
75 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_handle">session_handle</a></div>55 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_handle">session_handle</a></div>
76 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_params">session_params</a></div>56 <div·class="line"><a·class="reference·external"·href="reference-Session.html#session_params">session_params</a></div>
77 <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div> 
78 <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div>57 <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params()">write_session_params()</a></div>
79 <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div>58 <div·class="line"><a·class="reference·external"·href="reference-Session.html#read_session_params()">read_session_params()</a></div>
 59 <div·class="line"><a·class="reference·external"·href="reference-Session.html#write_session_params_buf()">write_session_params_buf()</a></div>
 60 </div>
 61 <p·class="rubric">Core</p>
 62 <div·class="line-block">
 63 <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_request">peer_request</a></div>
 64 <div·class="line"><a·class="reference·external"·href="reference-Core.html#peer_info">peer_info</a></div>
 65 <div·class="line"><a·class="reference·external"·href="reference-Core.html#piece_block">piece_block</a></div>
 66 <div·class="line"><a·class="reference·external"·href="reference-Core.html#info_hash_t">info_hash_t</a></div>
 67 <div·class="line"><a·class="reference·external"·href="reference-Core.html#make_magnet_uri()">make_magnet_uri()</a></div>
 68 <div·class="line"><a·class="reference·external"·href="reference-Core.html#parse_magnet_uri()">parse_magnet_uri()</a></div>
 69 <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_peer_equal()">torrent_peer_equal()</a></div>
 70 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_file()">load_torrent_file()</a></div>
 71 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_parsed()">load_torrent_parsed()</a></div>
 72 <div·class="line"><a·class="reference·external"·href="reference-Core.html#load_torrent_buffer()">load_torrent_buffer()</a></div>
 73 <div·class="line"><a·class="reference·external"·href="reference-Core.html#version()">version()</a></div>
 74 <div·class="line"><a·class="reference·external"·href="reference-Core.html#truncate_files()">truncate_files()</a></div>
 75 <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_transport">portmap_transport</a></div>
 76 <div·class="line"><a·class="reference·external"·href="reference-Core.html#portmap_protocol">portmap_protocol</a></div>
 77 <div·class="line"><a·class="reference·external"·href="reference-Core.html#socket_type_t">socket_type_t</a></div>
 78 <div·class="line"><a·class="reference·external"·href="reference-Core.html#connection_type">connection_type</a></div>
 79 <div·class="line"><a·class="reference·external"·href="reference-Core.html#protocol_version">protocol_version</a></div>
 80 <div·class="line"><a·class="reference·external"·href="reference-Core.html#event_t">event_t</a></div>
 81 <div·class="line"><a·class="reference·external"·href="reference-Core.html#download_priority_t">download_priority_t</a></div>
 82 <div·class="line"><a·class="reference·external"·href="reference-Core.html#torrent_flags_t">torrent_flags_t</a></div>
 83 <div·class="line"><a·class="reference·external"·href="reference-Core.html#pex_flags_t">pex_flags_t</a></div>
 84 <div·class="line"><a·class="reference·external"·href="reference-Core.html#int">int</a></div>
 85 <div·class="line"><a·class="reference·external"·href="reference-Core.html#charconst*">char·const*</a></div>
 86 <div·class="line"><a·class="reference·external"·href="reference-Core.html#std::uint64_t">std::uint64_t</a></div>
80 </div>87 </div>
81 <p·class="rubric">Torrent·Info</p>88 <p·class="rubric">Torrent·Info</p>
82 <div·class="line-block">89 <div·class="line-block">
83 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#web_seed_entry">web_seed_entry</a></div>90 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#web_seed_entry">web_seed_entry</a></div>
84 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div>91 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#load_torrent_limits">load_torrent_limits</a></div>
85 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div>92 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Info.html#torrent_info">torrent_info</a></div>
86 </div>93 </div>
87 <p·class="rubric">Torrent·Handle</p> 
88 <div·class="line-block"> 
89 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#block_info">block_info</a></div> 
90 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#partial_piece_info">partial_piece_info</a></div> 
91 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#torrent_handle">torrent_handle</a></div> 
92 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Handle.html#hash_value()">hash_value()</a></div> 
93 </div> 
94 <p·class="rubric">Settings</p>94 <p·class="rubric">Settings</p>
95 <div·class="line-block">95 <div·class="line-block">
96 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div>96 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#overview">overview</a></div>
97 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div>97 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#settings_pack">settings_pack</a></div>
98 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div> 
99 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div>98 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#high_performance_seed()">high_performance_seed()</a></div>
 99 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#min_memory_usage()">min_memory_usage()</a></div>
100 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#setting_by_name()">setting_by_name()</a></div>100 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#setting_by_name()">setting_by_name()</a></div>
101 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#name_for_setting()">name_for_setting()</a></div>101 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#name_for_setting()">name_for_setting()</a></div>
102 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#default_settings()">default_settings()</a></div>102 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#default_settings()">default_settings()</a></div>
103 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div>103 <div·class="line"><a·class="reference·external"·href="reference-Settings.html#generate_fingerprint()">generate_fingerprint()</a></div>
104 </div>104 </div>
105 <p·class="rubric">Torrent·Status</p>105 <p·class="rubric">Torrent·Status</p>
106 <div·class="line-block">106 <div·class="line-block">
107 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Status.html#torrent_status">torrent_status</a></div>107 <div·class="line"><a·class="reference·external"·href="reference-Torrent_Status.html#torrent_status">torrent_status</a></div>
108 </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">
Max diff block lines reached; 14472/26639 bytes (54.33%) of diff not shown.
9.96 KB
html2text {}
    
Offset 1, 165 lines modifiedOffset 1, 165 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 Torrent·Handle
5 Core 
6 _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t 
7 _\x8p_.e_.e_.r_\x8__\x8i_\x8n_\x8f_\x8o6 _\x8b_.l_.o_.c_.k_\x8__\x8i_\x8n_\x8f_\x8o
 7 _\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o
 8 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
8 _\x8p_.e_.e_.r_.__.r_.e_.q_.u_.e_.s_.t9 _\x8h_.a_.s_.h_.__.v_.a_.l_.u_.e_.(_.)
9 _.p_.i_.e_.c_.e_.__.b_.l_.o_.c_.k10 Add·Torrent
10 _\x8l_.o_.a_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.p_.a_.r_.s_.e_.d_.(_.)11 _\x8a_.d_.d_.__.t_.o_.r_.r_.e_.n_.t_.__.p_.a_.r_.a_.m_.s
11 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8) 
12 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8) 
13 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) 
14 _\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8) 
15 _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) 
16 _\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8) 
17 _\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8) 
18 _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n 
19 _\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e 
20 _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t 
21 _\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t 
22 _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t 
23 _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l 
24 _\x8i_\x8n_\x8t 
25 _\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8* 
26 _\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t 
27 _\x8t_.o_.r_.r_.e_.n_.t_.__.f_.l_.a_.g_.s_\x8__\x8t12 _\x8c_.l_.i_.e_.n_.t_.__.d_.a_.t_.a_\x8__\x8t
28 _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t 
29 _\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t 
30 Stats13 Stats
31 _\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c 
32 _\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s14 _\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s
 15 _\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c
33 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8)16 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8s_\x8(_\x8)
34 _\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8)17 _\x8f_\x8i_\x8n_\x8d_\x8__\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8i_\x8d_\x8x_\x8(_\x8)
35 _\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t18 _\x8m_\x8e_\x8t_\x8r_\x8i_\x8c_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t
36 Add·Torrent 
37 _\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t 
38 _\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s 
39 Trackers19 Trackers
40 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h20 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o_\x8h_\x8a_\x8s_\x8h
41 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t21 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8d_\x8p_\x8o_\x8i_\x8n_\x8t
42 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y22 _\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8__\x8e_\x8n_\x8t_\x8r_\x8y
43 Session23 Session
44 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y24 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8r_\x8o_\x8x_\x8y
45 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n25 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n
46 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e26 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e
47 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s27 _\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s
48 _\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) 
49 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)28 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)
50 _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)29 _\x8r_\x8e_\x8a_\x8d_\x8__\x8s_\x8e_\x8s_\x8s_\x8i_\x8o_\x8n_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s_\x8(_\x8)
 30 _\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)
 31 Core
 32 _\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t
 33 _\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o
 34 _\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k
 35 _\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8__\x8t
 36 _\x8m_\x8a_\x8k_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)
 37 _\x8p_\x8a_\x8r_\x8s_\x8e_\x8__\x8m_\x8a_\x8g_\x8n_\x8e_\x8t_\x8__\x8u_\x8r_\x8i_\x8(_\x8)
 38 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8)
 39 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
 40 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8s_\x8e_\x8d_\x8(_\x8)
 41 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)
 42 _\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n_\x8(_\x8)
 43 _\x8t_\x8r_\x8u_\x8n_\x8c_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
 44 _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8t_\x8r_\x8a_\x8n_\x8s_\x8p_\x8o_\x8r_\x8t
 45 _\x8p_\x8o_\x8r_\x8t_\x8m_\x8a_\x8p_\x8__\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l
 46 _\x8s_\x8o_\x8c_\x8k_\x8e_\x8t_\x8__\x8t_\x8y_\x8p_\x8e_\x8__\x8t
 47 _\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8__\x8t_\x8y_\x8p_\x8e
 48 _\x8p_\x8r_\x8o_\x8t_\x8o_\x8c_\x8o_\x8l_\x8__\x8v_\x8e_\x8r_\x8s_\x8i_\x8o_\x8n
 49 _\x8e_\x8v_\x8e_\x8n_\x8t_\x8__\x8t
 50 _\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8__\x8t
 51 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
 52 _\x8p_\x8e_\x8x_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8__\x8t
 53 _\x8i_\x8n_\x8t
 54 _\x8c_\x8h_\x8a_\x8r_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*
 55 _\x8s_\x8t_\x8d_\x8:_\x8:_\x8u_\x8i_\x8n_\x8t_\x86_\x84_\x8__\x8t
51 Torrent·Info56 Torrent·Info
52 _\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y57 _\x8w_\x8e_\x8b_\x8__\x8s_\x8e_\x8e_\x8d_\x8__\x8e_\x8n_\x8t_\x8r_\x8y
53 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s58 _\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8s
54 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o59 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8i_\x8n_\x8f_\x8o
55 Torrent·Handle 
56 _\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o 
57 _\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o 
58 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8h_\x8a_\x8n_\x8d_\x8l_\x8e 
59 _\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8) 
60 Settings60 Settings
61 _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w61 _\x8o_\x8v_\x8e_\x8r_\x8v_\x8i_\x8e_\x8w
62 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k62 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8p_\x8a_\x8c_\x8k
63 _\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8) 
64 _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)63 _\x8h_\x8i_\x8g_\x8h_\x8__\x8p_\x8e_\x8r_\x8f_\x8o_\x8r_\x8m_\x8a_\x8n_\x8c_\x8e_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)
 64 _\x8m_\x8i_\x8n_\x8__\x8m_\x8e_\x8m_\x8o_\x8r_\x8y_\x8__\x8u_\x8s_\x8a_\x8g_\x8e_\x8(_\x8)
65 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)65 _\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8__\x8b_\x8y_\x8__\x8n_\x8a_\x8m_\x8e_\x8(_\x8)
66 _\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8)66 _\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8o_\x8r_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8(_\x8)
67 _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)67 _\x8d_\x8e_\x8f_\x8a_\x8u_\x8l_\x8t_\x8__\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8(_\x8)
68 _\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8)68 _\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8f_\x8i_\x8n_\x8g_\x8e_\x8r_\x8p_\x8r_\x8i_\x8n_\x8t_\x8(_\x8)
69 Torrent·Status69 Torrent·Status
70 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s70 _\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s
71 DHT71 DHT
 72 _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8e
72 _\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
73 _\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
74 _\x8d_\x8h_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\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 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\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)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(_\x8)
81 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\x8(_\x8)81 _\x8w_\x8r_\x8i_\x8t_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8b_\x8u_\x8f_\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(_\x8)
83 _\x8r_\x8e_\x8a_\x8d_\x8__\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8__\x8d_\x8a_\x8t_\x8a_\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 Error·Codes85 Error·Codes
86 _\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r86 _\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r
87 _\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)87 _\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
88 _\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)88 _\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
89 _\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)89 _\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
 90 _\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
90 _\x8u_.p_.n_.p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)91 _\x8s_.o_.c_.k_.s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
91 _\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)92 _\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
92 _\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)93 _\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
Max diff block lines reached; 3988/10177 bytes (39.19%) of diff not shown.
2.07 MB
./usr/share/doc/libtorrent-rasterbar-doc/html/single-page-ref.html
    
Offset 28, 774 lines modifiedOffset 28, 2547 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="#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>35 <li><a·class="reference·internal"·href="#block-info"·id="toc-entry-1">block_info</a><ul>
37 <li><a·class="reference·internal"·href="#file"·id="toc-entry-3">file()</a></li>36 <li><a·class="reference·internal"·href="#set-peer-peer"·id="toc-entry-2">set_peer()·peer()</a></li>
 37 <li><a·class="reference·internal"·href="#enum-block-state-t"·id="toc-entry-3">enum·block_state_t</a></li>
38 </ul>38 </ul>
39 </li>39 </li>
40 <li><a·class="reference·internal"·href="#i2p-category"·id="toc-entry-4">i2p_category()</a></li>40 <li><a·class="reference·internal"·href="#partial-piece-info"·id="toc-entry-4">partial_piece_info</a></li>
 41 <li><a·class="reference·internal"·href="#torrent-handle"·id="toc-entry-5">torrent_handle</a><ul>
41 <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry-5">libtorrent_category()</a></li>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="#http-category"·id="toc-entry-6">http_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="#gzip-category"·id="toc-entry-8">gzip_category()</a></li> 
45 <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-9">pcp_category()</a></li> 
46 <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry-10">socks_category()</a></li> 
47 <li><a·class="reference·internal"·href="#bdecode-category"·id="toc-entry-11">bdecode_category()</a></li> 
48 <li><a·class="reference·internal"·href="#enum-i2p-error-code"·id="toc-entry-12">enum·i2p_error_code</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-http-errors"·id="toc-entry-14">enum·http_errors</a></li> 
51 <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-15">enum·error_code_enum</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-pcp-errors"·id="toc-entry-17">enum·pcp_errors</a></li> 
54 <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-18">enum·socks_error_code</a></li> 
55 <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-19">enum·error_code_enum</a></li> 
56 <li><a·class="reference·internal"·href="#info-hash-t"·id="toc-entry-20">info_hash_t</a><ul> 
57 <li><a·class="reference·internal"·href="#info-hash-t-1"·id="toc-entry-21">info_hash_t()</a></li> 
58 <li><a·class="reference·internal"·href="#has-v2-has-v1-has"·id="toc-entry-22">has_v2()·has_v1()·has()</a></li> 
59 <li><a·class="reference·internal"·href="#get"·id="toc-entry-23">get()</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>
 45 <li><a·class="reference·internal"·href="#have-piece"·id="toc-entry-9">have_piece()</a></li>
 46 <li><a·class="reference·internal"·href="#get-peer-info-post-peer-info"·id="toc-entry-10">get_peer_info()·post_peer_info()</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>
 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>
 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>
 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-post-trackers-trackers-add-tracker"·id="toc-entry-17">replace_trackers()·post_trackers()·trackers()·add_tracker()</a></li>
 54 <li><a·class="reference·internal"·href="#remove-url-seed-url-seeds-add-url-seed"·id="toc-entry-18">remove_url_seed()·url_seeds()·add_url_seed()</a></li>
 55 <li><a·class="reference·internal"·href="#remove-http-seed-add-http-seed-http-seeds"·id="toc-entry-19">remove_http_seed()·add_http_seed()·http_seeds()</a></li>
 56 <li><a·class="reference·internal"·href="#add-extension"·id="toc-entry-20">add_extension()</a></li>
60 <li><a·class="reference·internal"·href="#get-best"·id="toc-entry-24">get_best()</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>
 59 <li><a·class="reference·internal"·href="#pause-resume"·id="toc-entry-23">pause()·resume()</a></li>
 60 <li><a·class="reference·internal"·href="#flags-unset-flags-set-flags"·id="toc-entry-24">flags()·unset_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="#for-each"·id="toc-entry-25">for_each()</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>
 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-queue-position-top-queue-position-bottom-queue-position-up-queue-position-down"·id="toc-entry-29">queue_position()·queue_position_top()·queue_position_bottom()·queue_position_up()·queue_position_down()</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-buffer-set-ssl-certificate"·id="toc-entry-31">set_ssl_certificate_buffer()·set_ssl_certificate()</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>
 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="#prioritize-pieces-get-piece-priorities-piece-priority"·id="toc-entry-35">prioritize_pieces()·get_piece_priorities()·piece_priority()</a></li>
 72 <li><a·class="reference·internal"·href="#get-file-priorities-file-priority-prioritize-files"·id="toc-entry-36">get_file_priorities()·file_priority()·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>
 74 <li><a·class="reference·internal"·href="#scrape-tracker"·id="toc-entry-38">scrape_tracker()</a></li>
 75 <li><a·class="reference·internal"·href="#download-limit-set-download-limit-set-upload-limit-upload-limit"·id="toc-entry-39">download_limit()·set_download_limit()·set_upload_limit()·upload_limit()</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>
 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="#max-connections-set-max-connections"·id="toc-entry-43">max_connections()·set_max_connections()</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>
 82 <li><a·class="reference·internal"·href="#info-hashes-info-hash"·id="toc-entry-46">info_hashes()·info_hash()</a></li>
 83 <li><a·class="reference·internal"·href="#operator-operator-operator"·id="toc-entry-47">operator&lt;()·operator!=()·operator==()</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>
 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>
62 </ul>88 </ul>
63 </li>89 </li>
 90 <li><a·class="reference·internal"·href="#hash-value"·id="toc-entry-52">hash_value()</a></li>
 91 <li><a·class="reference·internal"·href="#add-torrent-params"·id="toc-entry-53">add_torrent_params</a></li>
64 <li><a·class="reference·internal"·href="#peer-info"·id="toc-entry-26">peer_info</a><ul>92 <li><a·class="reference·internal"·href="#client-data-t"·id="toc-entry-54">client_data_t</a><ul>
65 <li><a·class="reference·internal"·href="#i2p-destination"·id="toc-entry-27">i2p_destination()</a></li>93 <li><a·class="reference·internal"·href="#client-data-t-1"·id="toc-entry-55">client_data_t()</a></li>
 94 <li><a·class="reference·internal"·href="#void-const-operator"·id="toc-entry-56">void*()·const*()·operator=()</a></li>
66 </ul>95 </ul>
67 </li>96 </li>
68 <li><a·class="reference·internal"·href="#peer-request"·id="toc-entry-28">peer_request</a><ul>97 <li><a·class="reference·internal"·href="#storage-error"·id="toc-entry-57">storage_error</a><ul>
69 <li><a·class="reference·internal"·href="#operator"·id="toc-entry-29">operator==()</a></li>98 <li><a·class="reference·internal"·href="#bool"·id="toc-entry-58">bool()</a></li>
 99 <li><a·class="reference·internal"·href="#file"·id="toc-entry-59">file()</a></li>
70 </ul>100 </ul>
71 </li>101 </li>
72 <li><a·class="reference·internal"·href="#piece-block"·id="toc-entry-30">piece_block</a></li>102 <li><a·class="reference·internal"·href="#i2p-category"·id="toc-entry-60">i2p_category()</a></li>
73 <li><a·class="reference·internal"·href="#load-torrent-buffer-load-torrent-file-load-torrent-parsed"·id="toc-entry-31">load_torrent_buffer()·load_torrent_file()·load_torrent_parsed()</a></li> 
74 <li><a·class="reference·internal"·href="#torrent-peer-equal"·id="toc-entry-32">torrent_peer_equal()</a></li>103 <li><a·class="reference·internal"·href="#libtorrent-category"·id="toc-entry-61">libtorrent_category()</a></li>
 104 <li><a·class="reference·internal"·href="#http-category"·id="toc-entry-62">http_category()</a></li>
 105 <li><a·class="reference·internal"·href="#bdecode-category"·id="toc-entry-63">bdecode_category()</a></li>
 106 <li><a·class="reference·internal"·href="#socks-category"·id="toc-entry-64">socks_category()</a></li>
 107 <li><a·class="reference·internal"·href="#gzip-category"·id="toc-entry-65">gzip_category()</a></li>
 108 <li><a·class="reference·internal"·href="#pcp-category"·id="toc-entry-66">pcp_category()</a></li>
 109 <li><a·class="reference·internal"·href="#upnp-category"·id="toc-entry-67">upnp_category()</a></li>
 110 <li><a·class="reference·internal"·href="#enum-i2p-error-code"·id="toc-entry-68">enum·i2p_error_code</a></li>
 111 <li><a·class="reference·internal"·href="#enum-error-code-enum"·id="toc-entry-69">enum·error_code_enum</a></li>
 112 <li><a·class="reference·internal"·href="#enum-http-errors"·id="toc-entry-70">enum·http_errors</a></li>
 113 <li><a·class="reference·internal"·href="#enum-error-code-enum-1"·id="toc-entry-71">enum·error_code_enum</a></li>
 114 <li><a·class="reference·internal"·href="#enum-socks-error-code"·id="toc-entry-72">enum·socks_error_code</a></li>
 115 <li><a·class="reference·internal"·href="#enum-error-code-enum-2"·id="toc-entry-73">enum·error_code_enum</a></li>
 116 <li><a·class="reference·internal"·href="#enum-pcp-errors"·id="toc-entry-74">enum·pcp_errors</a></li>
 117 <li><a·class="reference·internal"·href="#enum-error-code-enum-3"·id="toc-entry-75">enum·error_code_enum</a></li>
 118 <li><a·class="reference·internal"·href="#open-file-state"·id="toc-entry-76">open_file_state</a></li>
 119 <li><a·class="reference·internal"·href="#disk-interface"·id="toc-entry-77">disk_interface</a><ul>
75 <li><a·class="reference·internal"·href="#version"·id="toc-entry-33">version()</a></li>120 <li><a·class="reference·internal"·href="#new-torrent"·id="toc-entry-78">new_torrent()</a></li>
76 <li><a·class="reference·internal"·href="#make-magnet-uri"·id="toc-entry-34">make_magnet_uri()</a></li>121 <li><a·class="reference·internal"·href="#remove-torrent"·id="toc-entry-79">remove_torrent()</a></li>
 122 <li><a·class="reference·internal"·href="#async-write-async-read"·id="toc-entry-80">async_write()·async_read()</a></li>
 123 <li><a·class="reference·internal"·href="#async-hash"·id="toc-entry-81">async_hash()</a></li>
 124 <li><a·class="reference·internal"·href="#async-hash2"·id="toc-entry-82">async_hash2()</a></li>
77 <li><a·class="reference·internal"·href="#parse-magnet-uri"·id="toc-entry-35">parse_magnet_uri()</a></li>125 <li><a·class="reference·internal"·href="#async-move-storage"·id="toc-entry-83">async_move_storage()</a></li>
 126 <li><a·class="reference·internal"·href="#async-release-files"·id="toc-entry-84">async_release_files()</a></li>
 127 <li><a·class="reference·internal"·href="#async-check-files"·id="toc-entry-85">async_check_files()</a></li>
 128 <li><a·class="reference·internal"·href="#async-stop-torrent"·id="toc-entry-86">async_stop_torrent()</a></li>
 129 <li><a·class="reference·internal"·href="#async-rename-file"·id="toc-entry-87">async_rename_file()</a></li>
78 <li><a·class="reference·internal"·href="#truncate-files"·id="toc-entry-36">truncate_files()</a></li>130 <li><a·class="reference·internal"·href="#async-delete-files"·id="toc-entry-88">async_delete_files()</a></li>
79 <li><a·class="reference·internal"·href="#enum-protocol-version"·id="toc-entry-37">enum·protocol_version</a></li> 
80 <li><a·class="reference·internal"·href="#enum-connection-type"·id="toc-entry-38">enum·connection_type</a></li> 
81 <li><a·class="reference·internal"·href="#enum-socket-type-t"·id="toc-entry-39">enum·socket_type_t</a></li>131 <li><a·class="reference·internal"·href="#async-set-file-priority"·id="toc-entry-89">async_set_file_priority()</a></li>
 132 <li><a·class="reference·internal"·href="#async-clear-piece"·id="toc-entry-90">async_clear_piece()</a></li>
 133 <li><a·class="reference·internal"·href="#update-stats-counters"·id="toc-entry-91">update_stats_counters()</a></li>
Max diff block lines reached; 1385593/1402057 bytes (98.83%) of diff not shown.
751 KB
html2text {}
    
Offset 1, 75 lines modifiedOffset 1, 124 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 ····*·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8i_\x8n_\x8f_\x8o
 7 ··········o·_\x8s_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8(_\x8)_\x8·_\x8p_\x8e_\x8e_\x8r_\x8(_\x8)
 8 ··········o·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8b_\x8l_\x8o_\x8c_\x8k_\x8__\x8s_\x8t_\x8a_\x8t_\x8e_\x8__\x8t
 9 ····*·_\x8p_\x8a_\x8r_\x8t_\x8i_\x8a_\x8l_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8i_\x8n_\x8f_\x8o
 10 ····*·_\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)
 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)
 14 ··········o·_\x8h_\x8a_\x8v_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
 15 ··········o·_\x8g_\x8e_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\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)
 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·_\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)
 21 ··········o·_\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8(_\x8)
 22 ··········o·_\x8r_\x8e_\x8p_\x8l_\x8a_\x8c_\x8e_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8p_\x8o_\x8s_\x8t_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8t_\x8r_\x8a_\x8c_\x8k_\x8e_\x8r_\x8(_\x8)
 23 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8s_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\x8__\x8u_\x8r_\x8l_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)
 24 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8h_\x8t_\x8t_\x8p_\x8__\x8s_\x8e_\x8e_\x8d_\x8(_\x8)_\x8·_\x8a_\x8d_\x8d_\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)
 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)
 28 ··········o·_\x8p_\x8a_\x8u_\x8s_\x8e_\x8(_\x8)_\x8·_\x8r_\x8e_\x8s_\x8u_\x8m_\x8e_\x8(_\x8)
 29 ··········o·_\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\x8u_\x8n_\x8s_\x8e_\x8t_\x8__\x8f_\x8l_\x8a_\x8g_\x8s_\x8(_\x8)_\x8·_\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)
 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)
 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(_\x8)_\x8·_\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_\x8o_\x8t_\x8t_\x8o_\x8m_\x8(_\x8)
 35 ············_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8u_\x8p_\x8(_\x8)_\x8·_\x8q_\x8u_\x8e_\x8u_\x8e_\x8__\x8p_\x8o_\x8s_\x8i_\x8t_\x8i_\x8o_\x8n_\x8__\x8d_\x8o_\x8w_\x8n_\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__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8s_\x8s_\x8l_\x8__\x8c_\x8e_\x8r_\x8t_\x8i_\x8f_\x8i_\x8c_\x8a_\x8t_\x8e_\x8(_\x8)
 38 ··········o·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8w_\x8i_\x8t_\x8h_\x8__\x8h_\x8a_\x8s_\x8h_\x8e_\x8s_\x8(_\x8)_\x8·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
 39 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8l_\x8a_\x8y_\x8e_\x8r_\x8s_\x8(_\x8)
 40 ··········o·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8a_\x8v_\x8a_\x8i_\x8l_\x8a_\x8b_\x8i_\x8l_\x8i_\x8t_\x8y_\x8(_\x8)_\x8·_\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)
 41 ··········o·_\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8z_\x8e_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8s_\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_\x8i_\x8e_\x8c_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8)
 42 ··········o·_\x8g_\x8e_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8i_\x8e_\x8s_\x8(_\x8)_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\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_\x8s_\x8d_\x8__\x8a_\x8n_\x8n_\x8o_\x8u_\x8n_\x8c_\x8e_\x8(_\x8)_\x8·_\x8f_\x8o_\x8r_\x8c_\x8e_\x8__\x8r_\x8e_\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)
 45 ··········o·_\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8d_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8__\x8l_\x8i_\x8m_\x8i_\x8t_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\x8__\x8u_\x8p_\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)
 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)
 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·_\x8m_\x8a_\x8x_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8(_\x8)_\x8·_\x8s_\x8e_\x8t_\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)
 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_\x8s_\x8(_\x8)_\x8·_\x8i_\x8n_\x8f_\x8o_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)
 54 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8<_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8!_\x8=_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\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)
 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)
 59 ····*·_\x8h_\x8a_\x8s_\x8h_\x8__\x8v_\x8a_\x8l_\x8u_\x8e_\x8(_\x8)
 60 ····*·_\x8a_\x8d_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8a_\x8r_\x8a_\x8m_\x8s
 61 ····*·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t
 62 ··········o·_\x8c_\x8l_\x8i_\x8e_\x8n_\x8t_\x8__\x8d_\x8a_\x8t_\x8a_\x8__\x8t_\x8(_\x8)
 63 ··········o·_\x8v_\x8o_\x8i_\x8d_\x8*_\x8(_\x8)_\x8·_\x8c_\x8o_\x8n_\x8s_\x8t_\x8*_\x8(_\x8)_\x8·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8(_\x8)
6 ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r64 ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8e_\x8r_\x8r_\x8o_\x8r
7 ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8)65 ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8)
8 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8(_\x8)66 ··········o·_\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
9 ····*·_\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)67 ····*·_\x8i_\x82_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
10 ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)68 ····*·_\x8l_\x8i_\x8b_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
11 ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)69 ····*·_\x8h_\x8t_\x8t_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
 70 ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
12 ····*·_\x8u_.p_.n_.p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)71 ····*·_\x8s_.o_.c_.k_.s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
13 ····*·_\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)72 ····*·_\x8g_\x8z_\x8i_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
14 ····*·_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)73 ····*·_\x8p_\x8c_\x8p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
15 ····*·_\x8s_.o_.c_.k_.s_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)74 ····*·_\x8u_.p_.n_.p_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8)
16 ····*·_\x8b_\x8d_\x8e_\x8c_\x8o_\x8d_\x8e_\x8__\x8c_\x8a_\x8t_\x8e_\x8g_\x8o_\x8r_\x8y_\x8(_\x8) 
17 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e75 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8i_\x82_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e
18 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m76 ····*·_\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·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s77 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8h_\x8t_\x8t_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s
20 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m78 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m
 79 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e
21 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m80 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m
22 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s81 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8p_\x8c_\x8p_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8s
23 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8s_\x8o_\x8c_\x8k_\x8s_\x8__\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e 
24 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m82 ····*·_\x8e_\x8n_\x8u_\x8m_\x8·_\x8e_\x8r_\x8r_\x8o_\x8r_\x8__\x8c_\x8o_\x8d_\x8e_\x8__\x8e_\x8n_\x8u_\x8m
25 ····*·_\x8i_.n_.f_.o_.__.h_.a_.s_.h_.__.t83 ····*·_\x8o_.p_.e_.n_.__.f_.i_.l_.e_.__.s_.t_.a_.t_.e
 84 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
 85 ··········o·_\x8n_\x8e_\x8w_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
 86 ··········o·_\x8r_\x8e_\x8m_\x8o_\x8v_\x8e_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
 87 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8w_\x8r_\x8i_\x8t_\x8e_\x8(_\x8)_\x8·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8a_\x8d_\x8(_\x8)
 88 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8h_\x8a_\x8s_\x8h_\x8(_\x8)
26 ··········o·_\x8i_.n_.f_.o_.__.h_.a_.s_.h_.__.t_\x8(_\x8)89 ··········o·_\x8a_.s_.y_.n_.c_.__.h_.a_.s_.h_.2_\x8(_\x8)
27 ··········o·_\x8h_.a_.s_.__.v_.2_.(_.)_.·_.h_.a_.s_.__.v_.1_.(_.)_.·_.h_.a_.s_\x8(_\x8)90 ··········o·_\x8a_.s_.y_.n_.c_.__.m_.o_.v_.e_.__.s_.t_.o_.r_.a_.g_.e_\x8(_\x8)
 91 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8l_\x8e_\x8a_\x8s_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
 92 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8h_\x8e_\x8c_\x8k_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
 93 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8t_\x8o_\x8p_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8(_\x8)
 94 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8r_\x8e_\x8n_\x8a_\x8m_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8(_\x8)
 95 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8d_\x8e_\x8l_\x8e_\x8t_\x8e_\x8__\x8f_\x8i_\x8l_\x8e_\x8s_\x8(_\x8)
 96 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8s_\x8e_\x8t_\x8__\x8f_\x8i_\x8l_\x8e_\x8__\x8p_\x8r_\x8i_\x8o_\x8r_\x8i_\x8t_\x8y_\x8(_\x8)
 97 ··········o·_\x8a_\x8s_\x8y_\x8n_\x8c_\x8__\x8c_\x8l_\x8e_\x8a_\x8r_\x8__\x8p_\x8i_\x8e_\x8c_\x8e_\x8(_\x8)
 98 ··········o·_\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8__\x8s_\x8t_\x8a_\x8t_\x8s_\x8__\x8c_\x8o_\x8u_\x8n_\x8t_\x8e_\x8r_\x8s_\x8(_\x8)
 99 ··········o·_\x8g_\x8e_\x8t_\x8__\x8s_\x8t_\x8a_\x8t_\x8u_\x8s_\x8(_\x8)
 100 ··········o·_\x8a_\x8b_\x8o_\x8r_\x8t_\x8(_\x8)
 101 ··········o·_\x8s_\x8u_\x8b_\x8m_\x8i_\x8t_\x8__\x8j_\x8o_\x8b_\x8s_\x8(_\x8)
 102 ··········o·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8u_\x8p_\x8d_\x8a_\x8t_\x8e_\x8d_\x8(_\x8)
 103 ····*·_\x8s_\x8t_\x8o_\x8r_\x8a_\x8g_\x8e_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r
 104 ····*·_\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8a_\x8l_\x8l_\x8o_\x8c_\x8a_\x8t_\x8o_\x8r_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
 105 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r
 106 ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8)
 107 ··········o·_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8)
 108 ··········o·_\x8~_\x8d_\x8i_\x8s_\x8k_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8__\x8h_\x8o_\x8l_\x8d_\x8e_\x8r_\x8(_\x8)
28 ··········o·_\x8g_.e_.t_\x8(_\x8)109 ··········o·_\x8d_.a_.t_.a_\x8(_\x8)
 110 ··········o·_\x8r_\x8e_\x8s_\x8e_\x8t_\x8(_\x8)
 111 ··········o·_\x8s_\x8w_\x8a_\x8p_\x8(_\x8)
 112 ··········o·_\x8i_\x8s_\x8__\x8m_\x8u_\x8t_\x8a_\x8b_\x8l_\x8e_\x8(_\x8)
 113 ··········o·_\x8b_\x8o_\x8o_\x8l_\x8(_\x8)
 114 ····*·_\x8d_\x8i_\x8s_\x8k_\x8__\x8o_\x8b_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r
29 ··········o·_\x8g_.e_.t_.__.b_.e_.s_.t_\x8(_\x8)115 ··········o·_\x8o_.n_.__.d_.i_.s_.k_\x8(_\x8)
 116 ····*·_\x8s_\x8e_\x8t_\x8t_\x8i_\x8n_\x8g_\x8s_\x8__\x8i_\x8n_\x8t_\x8e_\x8r_\x8f_\x8a_\x8c_\x8e
 117 ····*·_\x8f_\x8i_\x8l_\x8e_\x8__\x8o_\x8p_\x8e_\x8n_\x8__\x8m_\x8o_\x8d_\x8e_\x8__\x8t
30 ··········o·_\x8f_\x8o_\x8r_\x8__\x8e_\x8a_\x8c_\x8h_\x8(_\x8) 
31 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8i_\x8n_\x8f_\x8o 
32 ··········o·_\x8i_\x82_\x8p_\x8__\x8d_\x8e_\x8s_\x8t_\x8i_\x8n_\x8a_\x8t_\x8i_\x8o_\x8n_\x8(_\x8) 
33 ····*·_\x8p_\x8e_\x8e_\x8r_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t 
34 ··········o·_\x8o_\x8p_\x8e_\x8r_\x8a_\x8t_\x8o_\x8r_\x8=_\x8=_\x8(_\x8) 
35 ····*·_\x8p_\x8i_\x8e_\x8c_\x8e_\x8__\x8b_\x8l_\x8o_\x8c_\x8k 
36 ····*·_\x8l_\x8o_\x8a_\x8d_\x8__\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8b_\x8u_\x8f_\x8f_\x8e_\x8r_\x8(_\x8)_\x8·_\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) 
37 ····*·_\x8t_\x8o_\x8r_\x8r_\x8e_\x8n_\x8t_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8e_\x8q_\x8u_\x8a_\x8l_\x8(_\x8) 
Max diff block lines reached; 757305/768898 bytes (98.49%) of diff not shown.
3.13 MB
./usr/share/doc/libtorrent-rasterbar-doc/html/todo.html
    
Offset 459, 15 lines modifiedOffset 459, 414 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/web_peer_connection.cpp:199</a></td><td>this·should·be·an·optional<piece_index_t>,·piece·index·-1·should·not·be·allowed</td></tr><tr·id="9"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>this·should·be·an·optional<piece_index_t>,·piece·index·-1·should
 466 not·be·allowed</h2><h4>../src/web_peer_connection.cpp:199</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">
 467 »       »       »       auto·const·range·=·aux::file_piece_range_inclusive(fs,·i);
 468 »       »       »       for·(piece_index_t·k·=·std::get&lt;0&gt;(range);·k·&lt;·std::get&lt;1&gt;(range);·++k)
 469 »       »       »       »       have.clear_bit(k);
 470 »       »       }
 471 »       »       t-&gt;set_seed(peer_info_struct(),·false);
 472 »       »       if·(have.none_set())
 473 »       »       {
 474 »       »       »       incoming_have_none();
 475 »       »       »       m_web-&gt;interesting·=·false;
 476 #ifndef·TORRENT_DISABLE_LOGGING
 477 »       »       »       peer_log(peer_log_alert::info,·"WEB-SEED",·"have·no·pieces,·not·interesting.·%s",·m_url.c_str());
 478 #endif
 479 »       »       }
 480 »       »       else
 481 »       »       {
 482 »       »       »       incoming_bitfield(have);
 483 »       »       }
 484 »       }
  
 485 <div·style="background:·#ffff00"·width="100%">»    if·(m_web-&gt;restart_request.piece·!=·piece_index_t(-1))
 486 </div>» {
 487 »       »       //·increase·the·chances·of·requesting·the·block
 488 »       »       //·we·have·partial·data·for·already,·to·finish·it
 489 »       »       incoming_suggest(m_web-&gt;restart_request.piece);
 490 »       }
 491 »       web_connection_base::on_connected();
 492 }
  
 493 void·web_peer_connection::disconnect(error_code·const&amp;·ec
 494 »       ,·operation_t·op,·disconnect_severity_t·const·error)
 495 {
 496 »       if·(is_disconnecting())·return;
  
 497 »       if·(op·==·operation_t::sock_write·&amp;&amp;·ec·==·boost::system::errc::broken_pipe)
 498 »       {
 499 #ifndef·TORRENT_DISABLE_LOGGING
 500 »       »       //·a·write·operation·failed·with·broken-pipe.·This·typically·happens
 501 »       »       //·with·HTTP·1.0·servers·that·close·their·incoming·channel·of·the·TCP
 502 »       »       //·stream·whenever·they're·done·reading·one·full·request.·Instead·of
 503 »       »       //·us·bailing·out·and·failing·the·entire·request·just·because·our
 504 »       »       //·write-end·was·closed,·ignore·it·and·keep·reading·until·the·read-end
 505 »       »       //·also·is·closed.
 506 »       »       peer_log(peer_log_alert::info,·"WRITE_DIRECTION",·"CLOSED");
 507 #endif
  
 508 »       »       //·prevent·the·peer·from·trying·to·send·anything·more
 509 »       »       m_send_buffer.clear();
  
 510 »       »       //·when·the·web·server·closed·our·write-end·of·the·socket·(i.e.·its
 511 »       »       //·read-end),·if·it's·an·HTTP·1.0·server.·we·will·stop·sending·more
 512 </pre></td></tr><tr·style="background:·#fcc"><td>relevance&nbsp;3</td><td><a·href="javascript:expand(10)">../src/web_peer_connection.cpp:419</a></td><td>do·we·really·need·a·special·case·here?·wouldn't·the·multi-file·case·handle·single·file·torrents·correctly·too?</td></tr><tr·id="10"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>do·we·really·need·a·special·case·here?·wouldn't·the·multi-file
 513 case·handle·single·file·torrents·correctly·too?</h2><h4>../src/web_peer_connection.cpp:419</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">»  »  size·-=·pr.length;
 514 »       }
  
 515 #ifndef·TORRENT_DISABLE_LOGGING
 516 »       peer_log(peer_log_alert::outgoing_message,·"REQUESTING",·"(piece:·%d·start:·%d)·-·(piece:·%d·end:·%d)"
 517 »       »       ,·static_cast&lt;int&gt;(r.piece),·r.start
 518 »       »       ,·static_cast&lt;int&gt;(pr.piece),·pr.start·+·pr.length);
 519 #endif
  
 520 »       bool·const·single_file_request·=·t-&gt;torrent_file().num_files()·==·1;
 521 »       int·const·proxy_type·=·m_settings.get_int(settings_pack::proxy_type);
 522 »       bool·const·using_proxy·=·(proxy_type·==·settings_pack::http
 523 »       »       ||·proxy_type·==·settings_pack::http_pw)·&amp;&amp;·!m_ssl;
  
 524 »       //·the·number·of·pad·files·that·have·been·"requested".·In·case·we·_only_
 525 »       //·request·padfiles,·we·can't·rely·on·handling·them·in·the·on_receive()
 526 »       //·callback·(because·we·won't·receive·anything),·instead·we·have·to·post·a
 527 »       //·pretend·read·callback·where·we·can·deliver·the·zeroes·for·the·partfile
 528 »       int·num_pad_files·=·0;
  
 529 <div·style="background:·#ffff00"·width="100%">»    if·(single_file_request)
 530 </div>» {
 531 »       »       file_request_t·file_req;
 532 »       »       file_req.file_index·=·file_index_t(0);
 533 »       »       file_req.start·=·std::int64_t(static_cast&lt;int&gt;(req.piece))·*·info.piece_length()
 534 »       »       »       +·req.start;
 535 »       »       file_req.length·=·req.length;
  
 536 »       »       request·+=·"GET·";
 537 »       »       //·do·not·encode·single·file·paths,·they·are
 538 »       »       //·assumed·to·be·encoded·in·the·torrent·file
 539 »       »       request·+=·using_proxy·?·m_url·:·m_path;
 540 »       »       request·+=·"·HTTP/1.1\r\n";
 541 »       »       add_headers(request,·m_settings,·using_proxy);
 542 »       »       request·+=·"\r\nRange:·bytes=";
 543 »       »       request·+=·to_string(file_req.start).data();
 544 »       »       request·+=·"-";
 545 »       »       request·+=·to_string(file_req.start·+·file_req.length·-·1).data();
 546 »       »       request·+=·"\r\n\r\n";
 547 »       »       m_first_request·=·false;
  
 548 »       »       m_file_requests.push_back(file_req);
 549 »       }
 550 »       else
 551 »       {
 552 »       »       std::vector&lt;file_slice&gt;·files·=·info.orig_files().map_block(req.piece,·req.start
 553 »       »       »       ,·req.length);
  
 554 »       »       for·(auto·const·&amp;f·:·files)
 555 »       »       {
 556 »       »       »       file_request_t·file_req;
 557 </pre></td></tr><tr·style="background:·#fcc"><td>relevance&nbsp;3</td><td><a·href="javascript:expand(11)">../src/web_peer_connection.cpp:504</a></td><td>file_index_t·should·not·allow·negative·values</td></tr><tr·id="11"·style="display:·none;"·colspan="3"><td·colspan="3"><h2>file_index_t·should·not·allow·negative·values</h2><h4>../src/web_peer_connection.cpp:504</h4><pre·style="background:·#f6f6f6;·border:·solid·1px·#ddd;">»     »     »     »     »     //·with·the·correct·slashes.·Don't·encode·it·again
 558 »       »       »       »       »       request·+=·m_path;
 559 »       »       »       »       }
  
 560 »       »       »       »       request·+=·escape_file_path(info.orig_files(),·f.file_index);
 561 »       »       »       }
 562 »       »       »       request·+=·"·HTTP/1.1\r\n";
 563 »       »       »       add_headers(request,·m_settings,·using_proxy);
 564 »       »       »       request·+=·"\r\nRange:·bytes=";
 565 »       »       »       request·+=·to_string(f.offset).data();
 566 »       »       »       request·+=·"-";
 567 »       »       »       request·+=·to_string(f.offset·+·f.size·-·1).data();
 568 »       »       »       request·+=·"\r\n\r\n";
 569 »       »       »       m_first_request·=·false;
  
 570 #if·0
Max diff block lines reached; 674638/693839 bytes (97.23%) of diff not shown.
2.47 MB
html2text {}
    
Offset 454, 14 lines modifiedOffset 454, 432 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 |relevance 3|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/·······················|this·should·be·an·optional,·piece·index·-1·should·not·be·allowed····································································|
 462 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8w_\x8e_\x8b_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8p_\x8p_\x8:_\x81_\x89_\x89_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 463 |*\x8**\x8**\x8**\x8**\x8*·t\x8th\x8hi\x8is\x8s·s\x8sh\x8ho\x8ou\x8ul\x8ld\x8d·b\x8be\x8e·a\x8an\x8n·o\x8op\x8pt\x8ti\x8io\x8on\x8na\x8al\x8l,\x8,·p\x8pi\x8ie\x8ec\x8ce\x8e·i\x8in\x8nd\x8de\x8ex\x8x·-\x8-1\x81·s\x8sh\x8ho\x8ou\x8ul\x8ld\x8d·n\x8no\x8ot\x8t·b\x8be\x8e·a\x8al\x8ll\x8lo\x8ow\x8we\x8ed\x8d·*\x8**\x8**\x8**\x8**\x8*···································································································|
 464 |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/w\x8we\x8eb\x8b_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n.\x8.c\x8cp\x8pp\x8p:\x8:1\x819\x899\x89·*\x8**\x8**\x8*·····································································································································|
 465 |»      »      »      auto·const·range·=·aux::file_piece_range_inclusive(fs,·i);··················································································································|
 466 |»      »      »      for·(piece_index_t·k·=·std::get<0>(range);·k·<·std::get<1>(range);·++k)·····································································································|
 467 |»      »      »      »      have.clear_bit(k);·························································································································································|
 468 |»      »      }············································································································································································|
 469 |»      »      t->set_seed(peer_info_struct(),·false);······································································································································|
 470 |»      »      if·(have.none_set())·························································································································································|
 471 |»      »      {············································································································································································|
 472 |»      »      »      incoming_have_none();·······················································································································································|
 473 |»      »      »      m_web->interesting·=·false;·················································································································································|
 474 |#ifndef·TORRENT_DISABLE_LOGGING················································································································································|
 475 |»      »      »      peer_log(peer_log_alert::info,·"WEB-SEED",·"have·no·pieces,·not·interesting.·%s",·m_url.c_str());···········································································|
 476 |#endif·········································································································································································|
 477 |»      »      }············································································································································································|
 478 |»      »      else·········································································································································································|
 479 |»      »      {············································································································································································|
 480 |»      »      »      incoming_bitfield(have);····················································································································································|
 481 |»      »      }············································································································································································|
 482 |»      }·············································································································································································|
 483 |···············································································································································································|
 484 |if·(m_web->restart_request.piece·!=·piece_index_t(-1))·························································································································|
 485 |{··············································································································································································|
 486 |»      »      //·increase·the·chances·of·requesting·the·block······························································································································|
 487 |»      »      //·we·have·partial·data·for·already,·to·finish·it····························································································································|
 488 |»      »      incoming_suggest(m_web->restart_request.piece);······························································································································|
 489 |»      }·············································································································································································|
 490 |»      web_connection_base::on_connected();··········································································································································|
 491 |}··············································································································································································|
 492 |···············································································································································································|
 493 |void·web_peer_connection::disconnect(error_code·const&·ec······················································································································|
 494 |»      ,·operation_t·op,·disconnect_severity_t·const·error)··························································································································|
 495 |{··············································································································································································|
 496 |»      if·(is_disconnecting())·return;···············································································································································|
 497 |···············································································································································································|
 498 |»      if·(op·==·operation_t::sock_write·&&·ec·==·boost::system::errc::broken_pipe)··································································································|
 499 |»      {·············································································································································································|
 500 |#ifndef·TORRENT_DISABLE_LOGGING················································································································································|
 501 |»      »      //·a·write·operation·failed·with·broken-pipe.·This·typically·happens·········································································································|
 502 |»      »      //·with·HTTP·1.0·servers·that·close·their·incoming·channel·of·the·TCP········································································································|
 503 |»      »      //·stream·whenever·they're·done·reading·one·full·request.·Instead·of·········································································································|
 504 |»      »      //·us·bailing·out·and·failing·the·entire·request·just·because·our············································································································|
 505 |»      »      //·write-end·was·closed,·ignore·it·and·keep·reading·until·the·read-end·······································································································|
 506 |»      »      //·also·is·closed.···························································································································································|
 507 |»      »      peer_log(peer_log_alert::info,·"WRITE_DIRECTION",·"CLOSED");·················································································································|
 508 |#endif·········································································································································································|
 509 |···············································································································································································|
 510 |»      »      //·prevent·the·peer·from·trying·to·send·anything·more························································································································|
 511 |»      »      m_send_buffer.clear();·······················································································································································|
 512 |···············································································································································································|
 513 |»      »      //·when·the·web·server·closed·our·write-end·of·the·socket·(i.e.·its··········································································································|
 514 |_\x8»  _\x8»      _\x8/_\x8/_\x8·_\x8r_\x8e_\x8a_\x8d_\x8-_\x8e_\x8n_\x8d_\x8)_\x8,_\x8·_\x8i_\x8f_\x8·_\x8i_\x8t_\x8'_\x8s_\x8·_\x8a_\x8n_\x8·_\x8H_\x8T_\x8T_\x8P_\x8·_\x81_\x8._\x80_\x8·_\x8s_\x8e_\x8r_\x8v_\x8e_\x8r_\x8._\x8·_\x8w_\x8e_\x8·_\x8w_\x8i_\x8l_\x8l_\x8·_\x8s_\x8t_\x8o_\x8p_\x8·_\x8s_\x8e_\x8n_\x8d_\x8i_\x8n_\x8g_\x8·_\x8m_\x8o_\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·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\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 |relevance 3|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/·······················|do·we·really·need·a·special·case·here?·wouldn't·the·multi-file·case·handle·single·file·torrents·correctly·too?······················|
 516 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8w_\x8e_\x8b_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8p_\x8p_\x8:_\x84_\x81_\x89_\x8·_\x8·_\x8·_\x8|_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 517 |*\x8**\x8**\x8**\x8**\x8*·d\x8do\x8o·w\x8we\x8e·r\x8re\x8ea\x8al\x8ll\x8ly\x8y·n\x8ne\x8ee\x8ed\x8d·a\x8a·s\x8sp\x8pe\x8ec\x8ci\x8ia\x8al\x8l·c\x8ca\x8as\x8se\x8e·h\x8he\x8er\x8re\x8e?\x8?·w\x8wo\x8ou\x8ul\x8ld\x8dn\x8n'\x8't\x8t·t\x8th\x8he\x8e·m\x8mu\x8ul\x8lt\x8ti\x8i-\x8-f\x8fi\x8il\x8le\x8e·c\x8ca\x8as\x8se\x8e·h\x8ha\x8an\x8nd\x8dl\x8le\x8e·s\x8si\x8in\x8ng\x8gl\x8le\x8e·f\x8fi\x8il\x8le\x8e·t\x8to\x8or\x8rr\x8re\x8en\x8nt\x8ts\x8s·c\x8co\x8or\x8rr\x8re\x8ec\x8ct\x8tl\x8ly\x8y·t\x8to\x8oo\x8o?\x8?·*\x8**\x8**\x8**\x8**\x8*·····················································|
 518 |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/w\x8we\x8eb\x8b_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n.\x8.c\x8cp\x8pp\x8p:\x8:4\x841\x819\x89·*\x8**\x8**\x8*·····································································································································|
 519 |size·-=·pr.length;·····························································································································································|
 520 |»      }·············································································································································································|
 521 |···············································································································································································|
 522 |#ifndef·TORRENT_DISABLE_LOGGING················································································································································|
 523 |»      peer_log(peer_log_alert::outgoing_message,·"REQUESTING",·"(piece:·%d·start:·%d)·-·(piece:·%d·end:·%d)"········································································|
 524 |»      »      ,·static_cast<int>(r.piece),·r.start·········································································································································|
 525 |»      »      ,·static_cast<int>(pr.piece),·pr.start·+·pr.length);·························································································································|
 526 |#endif·········································································································································································|
 527 |···············································································································································································|
 528 |»      bool·const·single_file_request·=·t->torrent_file().num_files()·==·1;··········································································································|
 529 |»      int·const·proxy_type·=·m_settings.get_int(settings_pack::proxy_type);·········································································································|
 530 |»      bool·const·using_proxy·=·(proxy_type·==·settings_pack::http···················································································································|
 531 |»      »      ||·proxy_type·==·settings_pack::http_pw)·&&·!m_ssl;··························································································································|
 532 |···············································································································································································|
 533 |»      //·the·number·of·pad·files·that·have·been·"requested".·In·case·we·_only_······································································································|
 534 |»      //·request·padfiles,·we·can't·rely·on·handling·them·in·the·on_receive()·······································································································|
 535 |»      //·callback·(because·we·won't·receive·anything),·instead·we·have·to·post·a····································································································|
 536 |»      //·pretend·read·callback·where·we·can·deliver·the·zeroes·for·the·partfile·····································································································|
 537 |»      int·num_pad_files·=·0;························································································································································|
 538 |···············································································································································································|
 539 |if·(single_file_request)·······················································································································································|
 540 |{··············································································································································································|
 541 |»      »      file_request_t·file_req;·····················································································································································|
 542 |»      »      file_req.file_index·=·file_index_t(0);·······································································································································|
 543 |»      »      file_req.start·=·std::int64_t(static_cast<int>(req.piece))·*·info.piece_length()·····························································································|
 544 |»      »      »      +·req.start;································································································································································|
 545 |»      »      file_req.length·=·req.length;················································································································································|
 546 |···············································································································································································|
 547 |»      »      request·+=·"GET·";···························································································································································|
 548 |»      »      //·do·not·encode·single·file·paths,·they·are·································································································································|
 549 |»      »      //·assumed·to·be·encoded·in·the·torrent·file·································································································································|
 550 |»      »      request·+=·using_proxy·?·m_url·:·m_path;·····································································································································|
 551 |»      »      request·+=·"·HTTP/1.1\r\n";··················································································································································|
 552 |»      »      add_headers(request,·m_settings,·using_proxy);·······························································································································|
 553 |»      »      request·+=·"\r\nRange:·bytes=";··············································································································································|
 554 |»      »      request·+=·to_string(file_req.start).data();·································································································································|
 555 |»      »      request·+=·"-";······························································································································································|
 556 |»      »      request·+=·to_string(file_req.start·+·file_req.length·-·1).data();···········································································································|
 557 |»      »      request·+=·"\r\n\r\n";·······················································································································································|
 558 |»      »      m_first_request·=·false;·····················································································································································|
 559 |···············································································································································································|
 560 |»      »      m_file_requests.push_back(file_req);·········································································································································|
 561 |»      }·············································································································································································|
 562 |»      else··········································································································································································|
 563 |»      {·············································································································································································|
 564 |»      »      std::vector<file_slice>·files·=·info.orig_files().map_block(req.piece,·req.start·····························································································|
 565 |»      »      »      ,·req.length);······························································································································································|
 566 |···············································································································································································|
 567 |»      »      for·(auto·const·&f·:·files)··················································································································································|
 568 |»      »      {············································································································································································|
 569 |_\x8»  _\x8»      _\x8»  _\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8q_\x8u_\x8e_\x8s_\x8t_\x8__\x8t_\x8·_\x8f_\x8i_\x8l_\x8e_\x8__\x8r_\x8e_\x8q_\x8;_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 570 |relevance 3|_\x8._\x8._\x8/_\x8s_\x8r_\x8c_\x8/·······················|file_index_t·should·not·allow·negative·values·······················································································|
 571 |_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8|_\x8w_\x8e_\x8b_\x8__\x8p_\x8e_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8c_\x8p_\x8p_\x8:_\x85_\x80_\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·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·_\x8·|
 572 |*\x8**\x8**\x8**\x8**\x8*·f\x8fi\x8il\x8le\x8e_\x8_i\x8in\x8nd\x8de\x8ex\x8x_\x8_t\x8t·s\x8sh\x8ho\x8ou\x8ul\x8ld\x8d·n\x8no\x8ot\x8t·a\x8al\x8ll\x8lo\x8ow\x8w·n\x8ne\x8eg\x8ga\x8at\x8ti\x8iv\x8ve\x8e·v\x8va\x8al\x8lu\x8ue\x8es\x8s·*\x8**\x8**\x8**\x8**\x8*······················································································································|
 573 |*\x8**\x8**\x8*·.\x8..\x8./\x8/s\x8sr\x8rc\x8c/\x8/w\x8we\x8eb\x8b_\x8_p\x8pe\x8ee\x8er\x8r_\x8_c\x8co\x8on\x8nn\x8ne\x8ec\x8ct\x8ti\x8io\x8on\x8n.\x8.c\x8cp\x8pp\x8p:\x8:5\x850\x804\x84·*\x8**\x8**\x8*·····································································································································|
 574 |//·with·the·correct·slashes.·Don't·encode·it·again·····························································································································|
 575 |»      »      »      »      »      request·+=·m_path;························································································································································|
 576 |»      »      »      »      }··········································································································································································|
 577 |···············································································································································································|
 578 |»      »      »      »      request·+=·escape_file_path(info.orig_files(),·f.file_index);··············································································································|
 579 |»      »      »      }···········································································································································································|
 580 |»      »      »      request·+=·"·HTTP/1.1\r\n";·················································································································································|
Max diff block lines reached; 2501026/2586241 bytes (96.71%) of diff not shown.
963 B
xz --list
    
Offset 1, 13 lines modifiedOffset 1, 13 lines modified
1 ··Streams:···········11 ··Streams:···········1
2 ··Blocks:············12 ··Blocks:············1
3 ··Compressed·size:···1626.2·KiB·(1665280·B)3 ··Compressed·size:···1625.5·KiB·(1664516·B)
4 ··Uncompressed·size:·5800.0·KiB·(5939200·B)4 ··Uncompressed·size:·5800.0·KiB·(5939200·B)
5 ··Ratio:·············0.2805 ··Ratio:·············0.280
6 ··Check:·············CRC646 ··Check:·············CRC64
7 ··Stream·Padding:····0·B7 ··Stream·Padding:····0·B
8 ··Streams:8 ··Streams:
9 ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding9 ····Stream····Blocks······CompOffset····UncompOffset········CompSize······UncompSize··Ratio··Check······Padding
10 ·········1·········1···············0···············0·········1665280·········5939200··0.280··CRC64············010 ·········1·········1···············0···············0·········1664516·········5939200··0.280··CRC64············0
11 ··Blocks:11 ··Blocks:
12 ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check12 ····Stream·····Block······CompOffset····UncompOffset·······TotalSize······UncompSize··Ratio··Check
13 ·········1·········1··············12···············0·········1665240·········5939200··0.280··CRC6413 ·········1·········1··············12···············0·········1664476·········5939200··0.280··CRC64